using Dlhis.Entity.Basic.Enums; using Kurisu.AspNetCore.Utils.Converters; using Kurisu.AspNetCore.Utils.Extensions; using Newtonsoft.Json; namespace Dlhis.Basic.Organization.Response; public class GainfoCurrentResponse { /// /// 用户档案号 /// public string UserNo { get; set; } /// /// 用户姓名 /// public string UserName { get; set; } /// /// 性别枚举 /// public GenderEnumType Gender { get; set; } /// /// 性别描述 /// public string GenderDesc => Gender.GetDescription(); /// /// 工号 /// public string UserCode { get; set; } /// /// 部门号 /// public string DepartmentNo { get; set; } /// /// 部门名称 /// public string DepartmentName { get; set; } /// /// 出生日期/生日 /// [JsonConverter(typeof(ToDateJsonConverter))] public DateTime Birthday { get; set; } /// /// 厂区 /// public string Factory { get; set; } /// /// 卡类型 /// public int? CardType { get; set; } /// /// 卡类型名称 /// public string CardTypeName { get; set; } /// /// 就餐信息 /// public GainfoCurrentMealInfoResponse MealInfo { get; set; } }