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_PART_MSTR : ITaskTable { [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; } } }