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_PART_MSTR : TED_BASE,ITaskTable { [Key] public System.Guid GUID { get; set; } public string PartCode { get; set; } public string Desc1 { get; set; } public string Desc2 { get; set; } public string Um { get; set; } public string ProdLine { get; set; } public Nullable AddDate { get; set; } public string DsgnGroup { get; set; } public string PromotionGroup { get; set; } public string PartType { get; set; } public string Status { get; set; } public string Group { get; set; } public string Drawing { get; set; } public string PartRevision { get; set; } public string DrawingLocation { get; set; } public string Size { get; set; } public string PriceBreakCategory { get; set; } public bool AuxiliaryMaterial { get; set; } public Nullable OfflineSettlement { get; set; } public string Qgrade { get; set; } public int WmsPartType { get; set; } public string ManageWay { get; set; } public string InventoryCode { get; set; } public string ManageType { get; set; } public Nullable InspectType { get; set; } public int UID { get; set; } public string CreateUser { get; set; } public System.DateTime CreateTime { get; set; } public string Remark { get; set; } public System.Guid TaskID { get; set; } public string CommandType { get; set; } public System.Guid DataID { get; set; } public string Domain { get; set; } public string Site { get; set; } //[Key] //public System.Guid GUID { get; set; } = Guid.NewGuid(); //public string PartCode { get; set; } //public string Desc1 { get; set; } //public string Desc2 { get; set; } //public string Um { get; set; } //public string ProdLine { get; set; } //public Nullable AddDate { get; set; } //public string DsgnGroup { get; set; } //public string PromotionGroup { get; set; } //public string PartType { get; set; } //public string Status { get; set; } //public string Group { get; set; } //public string Drawing { get; set; } //public string PartRevision { get; set; } //public string DrawingLocation { get; set; } //public string Size { get; set; } //public string PriceBreakCategory { get; set; } //public bool AuxiliaryMaterial { get; set; } //public Nullable OfflineSettlement { get; set; } //public string Qgrade { get; set; } //public int WmsPartType { get; set; } //public string ManageWay { get; set; } //public string InventoryCode { get; set; } //public string ManageType { get; set; } //public Nullable InspectType { get; set; } //public int UID { get; set; } //public string CreateUser { get; set; } //public System.DateTime CreateTime { get; set; } //public string Remark { get; set; } //public System.Guid TaskID { get; set; } //public string CommandType { get; set; } //public System.Guid DataID { get; set; } //public string Domain { get; set; } //public string Site { get; set; } //[Description("零件号")] //[StringLength(50)] //public string PartCode { get; set; } //[Description("描述1")] //[StringLength(50)] //public string Desc1 { get; set; } //[Description("描述2")] //[StringLength(50)] //public string Desc2 { get; set; } //[Description("单位")] //[StringLength(50)] //public string Um { get; set; } //[Description("产品类")] //[StringLength(50)] //public string ProdLine { get; set; } //[Description("加入日期")] //public DateTime? AddDate { get; set; } //[Description("设计组")] //[StringLength(50)] //public string DsgnGroup { get; set; } //[Description("推销组")] //[StringLength(50)] //public string PromotionGroup { get; set; } //[Description("物料类型")] //[StringLength(50)] //public string PartType { get; set; } //[Description("状态")] //[StringLength(50)] //public string Status { get; set; } //[Description("组")] //[StringLength(50)] //public string Group { get; set; } //[Description("图纸")] //[StringLength(50)] //public string Drawing { get; set; } //[Description("项目修改")] //[StringLength(50)] //public string PartRevision { get; set; } //[Description("图纸位置")] //[StringLength(50)] //public string DrawingLocation { get; set; } //[Description("大小")] //[StringLength(50)] //public string Size { get; set; } //[Description("价格折扣种类")] //[StringLength(50)] //public string PriceBreakCategory { get; set; } //[Description("辅材")] //public bool AuxiliaryMaterial { get; set; } //[Description("下线结算")] //public bool OfflineSettlement { get; set; } //[Description("Q等级")] //[StringLength(50)] //public string Qgrade { get; set; } //[Description("零件种类")] //[StringLength(50)] //public string WmsPartType { get; set; } //[Description("管理方式")] //[StringLength(50)] //public string ManageWay { get; set; } //[Description("存货代码")] //[StringLength(50)] //public string InventoryCode { get; set; } //[Description("管理类型(批量/单件)")] //[StringLength(50)] //public string ManageType { get; set; } //[Description("是否检验")] //[StringLength(50)] //public string InspectType { 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; } } }