namespace YD_Event.Application.Organization.Dtos;
///
/// 机构映射配置
///
public class Mapper : IRegister
{
public void Register(TypeAdapterConfig config)
{
//机构映射为下拉选项
config.ForType()
.Map(dest => dest.Value, src => src.Id)
.Map(dest => dest.Label, src => src.Name);
}
}