using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using ChangkeTec.SDMS.Model.Base; using ChangkeTec.SDMS.Model.Enums; namespace ChangkeTec.SDMS.Model.ExchangeCenterTables { [Description("工艺路由表")] public class TES_ROUTING : ITaskTable { [Description("工艺流程代码")] [StringLength(50)] public string RoutingCode { get; set; } [Description("工序")] public int Operation { get; set; } [Description("开始日期")] public DateTime StartDate { get; set; } [Description("标准工序")] [StringLength(50)] public string StandardOperration { get; set; } [Description("工作中心")] [StringLength(50)] public string WorkCenter { get; set; } [Description("机器")] [StringLength(50)] public string Machine { get; set; } [Description("说明")] [StringLength(50)] public string Description { get; set; } [Description("机器数/工序")] public int MachinesPerOperation { get; set; } [Description("平行加工件数")] public int OverlapUnits { get; set; } [Description("排队时间")] public decimal QueueTime { get; set; } [Description("等待时间")] public decimal WaitTime { get; set; } [Description("划分阶段的工序")] public bool MilestoneOperation { get; set; } [Description("转包提前期")] public int SubcontractLt { get; set; } [Description("设置人员")] public decimal SetupCrew { get; set; } [Description("操作全体成员")] public decimal RunCrew { get; set; } [Description("设置时间")] public decimal SetupTime { get; set; } [Description("运行时间")] public decimal RunTime { get; set; } [Description("移动时间")] public decimal MoveTime { get; set; } [Description("结束日期")] public DateTime EndDate { get; set; } [Description("产出率")] public decimal YieldPercent { get; set; } [Description("工具代码")] [StringLength(50)] public string ToolCode { get; set; } [Description("供应商")] [StringLength(50)] public string Supplier { get; set; } [Description("库存价值")] public decimal InventoryValue { get; set; } [Description("转包成本")] public decimal SubcontractCost { get; set; } [Description("备注")] public bool Comments { 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; } [Description("域")] [StringLength(50)] public string Domain { get; set; } [Description("地点")] [StringLength(50)] public string Site { get; set; } } }