1.直接加特性[IgnoreMap]
2.映射规则 CreateMap<BaseAccount, BaseAccountListDto>().ForMember(dest => dest.UserName, opt => opt.Ignore());
2023-08-22 09:43:46
1.直接加特性[IgnoreMap]
2.映射规则 CreateMap<BaseAccount, BaseAccountListDto>().ForMember(dest => dest.UserName, opt => opt.Ignore());