using APT.BaseData.Domain.Entities.FM; using APT.BaseData.Domain.Enums; using APT.Infrastructure.Core; using APT.MS.Domain.Enums; using System; using System.Collections.Generic; using System.ComponentModel; namespace APT.MS.Domain.Entities.OG { /// /// 人员任命书 /// [Description("人员任命书")] public class T_OG_POLICY_DOCUMENT : MesEntityBase { /// /// 文件编号 /// [Description("文件编号")] public string CODE { get; set; } /// /// 文件名称 /// [Description("文件名称")] [FormFieldTable] [FormFieldQuery] [FormFieldEdit] public string NAME { get; set; } /// /// 人员任命书-人员类别 /// [Description("人员任命书-人员类别")] [FormFieldTable] [FormFieldQuery] [FormFieldEdit] [DataFieldForeignKey("Nav_AppointType")] public Guid? APPOINT_TYPE { get; set; } /// /// 导航:人员任命书-人员类别 /// [Description("导航:人员任命书-人员类别")] public T_OG_PERSONNEL_TYPE_ENUM Nav_AppointType { get; set; } /// /// 版本号 /// [Description("版本号")] [FormFieldTable] [FormFieldQuery] [FormFieldEdit] public int VERSION { get; set; } /// /// 子表 /// [Description("子表")] [FormFieldEdit] public List Nav_Details { get; set; } /// /// 被任命人员 /// [Description("被任命人员")] public List Nav_AppointUsers { get; set; } /// /// 编制单位 /// [Description("编制单位")] [FormFieldEdit] [DataFieldForeignKey("Nav_Department")] public Guid DEPARTMENT_ID { get; set; } /// /// 编制单位 /// [Description("编制单位")] public T_FM_DEPARTMENT Nav_Department { get; set; } /// /// 批准人员 /// [Description("批准人员")] [FormFieldEdit] [DataFieldForeignKey("Nav_AppointAgreeUser")] public Guid? APPOINT_AGREEUSER_ID { get; set; } /// /// 导航属性: 批准人员 /// [Description("导航属性: 批准人员")] public T_FM_USER Nav_AppointAgreeUser { get; set; } /// /// 颁布时间 /// [Description("颁布时间")] [FormFieldEdit] public DateTime? PUBLISH_TIME { get; set; } /// /// 生效时间 /// [Description("生效时间")] [FormFieldEdit] public DateTime? APPOINT_EFFECT_TIME { get; set; } /// /// 人员任命增加/删除原因 /// [Description("人员任命增加/删除原因")] [EnumName("OGAppointmentAddDelReason")] [FormFieldEdit] public OGAppointmentAddDelReason APPOINT_REASON { get; set; } /// /// 状态 (0:作废 ,1:有效) /// [Description("状态")] [EnumName("HMOperationStepEnum")] public HMOperationStepEnum STATUS { get; set; } /// /// 附件 /// [Description("附件")] public List Nav_Files { get; set; } /// ///上传人员 /// [Description("上传人员")] [DataFieldForeignKey("Nav_User")] public Guid USER_ID { get; set; } /// /// 上传人员 /// [Description("上传人员")] public T_FM_USER Nav_User { get; set; } [DataFieldIngore] public int IS_OVERTIME { get; set; } } }