备忘
//.ForMember(a => a.Id, t => t.MapFrom(b => b.Id))
//.ForMember(a => a.RoleName, t => t.MapFrom(b => b.Role.Name))
//.ForMember(a => a.RoleDisplayName, t => t.MapFrom(b => b.Role.DisplayName));
原文:https://www.cnblogs.com/Anthony518/p/12804462.html