using APT.BaseData.Domain.Entities.FM; using APT.BaseData.Domain.Enums; using APT.Infrastructure.Core; using APT.MS.Domain.Entities.SC.SC; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace APT.MS.Domain.Entities.SC { /// /// 责任制岗位 /// [Description("责任制岗位")] public class T_SC_POST : MesEntityBase { /// /// 编号 /// [Description("编号")] public string CODE { get; set; } /// /// 名称 /// [Description("名称")] [FormFieldTable] [FormFieldQuery] [FormFieldEdit] [DataFieldLength(100)] public string NAME { get; set; } /// /// 是否为兼职安全员 /// [Description("是否为兼职安全员")] [FormFieldEdit] [FormFieldTable] public bool AS_SAFE_USER { get; set; } /// /// 部门岗位 /// [Description("部门岗位")] [FormFieldEdit] public List Nav_Posts { get; set; } /// /// 导航属性:责任制签订模板 /// [Description("责任制签订模板")] public List Nav_Files { get; set; } [Description("组织架构")] [FormFieldEdit] public List Nav_Depts { get; set; } [Description("负责人组织")] [DataFieldForeignKey("Nav_Department")] public Guid? DEPARTMENT_ID { get; set; } [Description("负责人组织")] public T_FM_DEPARTMENT Nav_Department { get; set; } /// /// 负责人岗位 /// [Description("负责人岗位")] [DataFieldForeignKey("Nav_Depost")] [FormFieldEdit] public Guid? DEPOST_ID { get; set; } /// /// 导航:负责人岗位 /// [Description("导航:负责人岗位")] public T_FM_USER_POST Nav_Depost { get; set; } } }