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 TED_PO_DET : ITaskTable { [Description("采购订单号")] [StringLength(50)] public string PurchaseOrder { get; set; } [Description("采购订单行")] public int Line { get; set; } [Description("订单类型")] [StringLength(50)] public string PoType { get; set; } [Description("零件号")] [StringLength(50)] public string PartCode { get; set; } [Description("订货数量")] public decimal Qty { get; set; } [Description("未结数量")] public decimal QtyOpen { get; set; } [Description("标包数量")] public decimal PackQty { get; set; } [Description("币种")] [StringLength(50)] public string Currency { get; set; } [Description("价格")] public decimal Price { get; set; } [Description("价格单")] [StringLength(50)] public string PriceList { get; set; } [Description("采购单位")] [StringLength(50)] public string PoUm { get; set; } [Description("存储单位")] [StringLength(50)] public string LocUm { get; set; } [Description("单位转换率")] public decimal Conv { get; set; } [Description("订单明细状态")] public int Status { 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; } } }