using CK.SCP.Models.Base; using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ExchangeCenterTables { /// /// QAD采购计划 /// [Description("QAD采购计划")] public class TED_PPOD_DET : ITaskTable { [StringLength(50)] [Description("计划单号")] public string Ppod_Nbr { get; set; } [Description("计划单据行")] public int Ppod_Line { get; set; } [StringLength(50)] [Description("计划单-Rev")] public string Ppod_Rev { get; set; } [StringLength(50)] [Description("零件号")] public string Ppod_Part { get; set; } [StringLength(50)] [Description("描述")] public string Ppod_Desc { get; set; } [StringLength(50)] [Description("计划类型")] public string Ppod_Type { get; set; } [StringLength(50)] [Description("批号")] public string Pod_Wolot { get; set; } [Description("价格1")] public decimal Ppod_pricum { get; set; } [Description("价格2")] public decimal Ppod_reccum { get; set; } [Description("订单-Ord")] public decimal Ppod_qty_ord { get; set; } [Description("订单-Std")] public decimal Ppod_Qty_Std { get; set; } [Description("计划日期")] public DateTime Ppod_Due_Date { get; set; } [Description("库存单位")] [StringLength(50)] public string Ppod_Loc_Um { get; set; } [Description("采购单位")] [StringLength(50)] public string Ppod_Um { get; set; } [Description("转换率")] public decimal Ppod_Um_Conv { get; set; } [Description("供应商")] [StringLength(50)] public string Ppod_Vend { get; set; } [Description("采购人")] [StringLength(50)] public string Ppod_Buyer { get; set; } [Description("采购人电话")] [StringLength(50)] public string Ppod_Buyer_Phone { get; set; } [Description("项目")] [StringLength(50)] public string Ppod_Prj { get; set; } [Description("计划")] [StringLength(50)] public string Ppod_Plan { 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; } [Index("IndexExPpodDet", Order = 0, IsUnique = false, IsClustered = false)] [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; } //[Description("最后一笔收货单号")] //[StringLength(50)] //public string LastRece { get; set; } //[Description("欠交数量")] //public decimal OutstandQty { get; set; } } }