using cylsg.Model.UserModel;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace cylsg.Application.Users.Dtos
|
{
|
public class Mapper : IRegister
|
{
|
public void Register(TypeAdapterConfig config)
|
{
|
config.ForType<User, UserDto>();
|
config.ForType<UserDto, User>();
|
|
config.ForType<UserCompany, UserCompanyDto>();
|
config.ForType<UserCompanyDto, UserCompany>();
|
|
config.ForType<UserWorker, UserWorkerDto>();
|
config.ForType<UserWorkerDto, UserWorker>();
|
}
|
}
|
}
|