using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using CK.SCP.Models.Base; using CK.SCP.Models.Enums; namespace CK.SCP.Models.ExchangeCenterTables { [Description("地点表")] public class TES_SITE : TED_BASE,ITaskTable { [Description("地点代码")] [StringLength(50)] public string Site { get; set; } [Description("描述")] [StringLength(50)] public string Desc { get; set; } [Description("域")] [StringLength(50)] public string Domain { get; set; } [Description("会计单位")] [StringLength(50)] public string Entity { get; set; } [Description("库存状态")] [StringLength(50)] public string Status { get; set; } [Description("自动生成库位")] public bool AutoLocation { get; set; } [Description("检验库位")] [StringLength(50)] public string InspLocation { get; set; } [Description("EMT供应商")] [StringLength(50)] public string BtbSupplier { get; set; } [Description("外部供应商")] public bool ExtSupplier { get; set; } [Description("转移差异科目")] [StringLength(50)] public string XferAcct { get; set; } [Description("转移差异分账户")] [StringLength(50)] public string XferSub { get; set; } [Description("转移差异成本中心")] [StringLength(50)] public string XferCc { get; set; } [Description("PO运输库位")] [StringLength(50)] public string GitLocation { get; set; } [Description("使用计划/调度的工作台")] public bool UsePlanSchedWbs { get; set; } [Key] public Guid GUID { get; set; } = Guid.NewGuid(); [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Description("创建人")] [StringLength(50)] public string CreateUser { get; set; } [Description("创建时间")] public DateTime CreateTime { get; set; } [Description("备注")] public string Remark { get; set; } [Description("任务编号")] public Guid TaskID { get; set; } [Description("命令类型")] [StringLength(50)] public string CommandType { get; set; } public Guid DataID { get; set; } } }