using System; namespace Model { // 主表Model public class ClsGy_SteppedPriceCoefficientBillMain { public int HYear { get; set; } public int HPeriod { get; set; } public string HBillType { get; set; } public string HBillSubType { get; set; } public long HInterID { get; set; } public DateTime HDate { get; set; } public string HBillNo { get; set; } public int HBillStatus { get; set; } public long HCheckItemNowID { get; set; } public long HCheckItemNextID { get; set; } public long HCheckFlowID { get; set; } public string HRemark { get; set; } public string HBacker { get; set; } public DateTime? HBackDate { get; set; } public string HBackRemark { get; set; } public string HChecker { get; set; } public DateTime? HCheckDate { get; set; } public string HMaker { get; set; } public DateTime HMakeDate { get; set; } public string HUpDater { get; set; } public DateTime? HUpDateDate { get; set; } public string HCloseMan { get; set; } public DateTime? HCloseDate { get; set; } public bool HCloseType { get; set; } public string HDeleteMan { get; set; } public DateTime? HDeleteDate { get; set; } public string HMainSourceBillType { get; set; } public long HMainSourceInterID { get; set; } public long HMainSourceEntryID { get; set; } public string HMainSourceBillNo { get; set; } public int HPrintQty { get; set; } public long HItemMainID { get; set; } // 自定义字段 public long HProcID { get; set; } public long HEmpID { get; set; } public long HDeptID { get; set; } public long HStockOrgID { get; set; } // 显示字段(非数据库字段) public string HProcName { get; set; } public string HEmpName { get; set; } public string HDeptName { get; set; } public string HStockOrgName { get; set; } } // 子表Model public class ClsGy_SteppedPriceCoefficientBillSub { public long HInterID { get; set; } public string HBillNo_bak { get; set; } public long HEntryID { get; set; } public string HCloseMan { get; set; } public DateTime? HEntryCloseDate { get; set; } public bool HCloseType { get; set; } public string HRemark { get; set; } public long HSourceInterID { get; set; } public long HSourceEntryID { get; set; } public string HSourceBillNo { get; set; } public string HSourceBillType { get; set; } public decimal HRelationQty { get; set; } public decimal HRelationPrice { get; set; } public long HItemSubID { get; set; } // 自定义字段 public long HSeq { get; set; } public long HMinQty { get; set; } public long HMaxQty { get; set; } public decimal HPriceCoefficient { get; set; } public decimal HMaxPrice { get; set; } public long HStockOrgID { get; set; } } }