using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.OA.Models.Jiekuan { [JsonObject] public class Jiekuanmb : ModelObjectBillHead {// #region private Fields private string _GID = string.Empty; private string _ENTEROPERATOR = string.Empty; private string _ENTERDATE = string.Empty; private string _COMPANYID = string.Empty; private string _DEPTID = string.Empty; private string _DEPTNAME = string.Empty; private string _AMOUNT = string.Empty; private string _CURRENCY = string.Empty; private string _OP = string.Empty; private string _REASON ="电汇"; private string _ISDELETE = string.Empty; private string _DELETEUSER = string.Empty; private string _DELETETIME = string.Empty; private string _SHOWNAME = string.Empty; private string _BSNO = string.Empty; private string _CUSTNO = string.Empty; private string _MBLNO = string.Empty; private string _JKSTATUS = string.Empty; private string _JKSTATUS_REF = string.Empty; private string _REMAIN = string.Empty; private string _BILLNO = string.Empty; private string _REMARK = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ENTEROPERATOR { get { return _ENTEROPERATOR; } set { _ENTEROPERATOR = value; } } [ModelDB] public string ENTERDATE { get { return _ENTERDATE; } set { _ENTERDATE = value; } } [ModelDB] public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } [ModelDB] public string DEPTID { get { return _DEPTID; } set { _DEPTID = value; } } public string DEPTNAME { get { return _DEPTNAME; } set { _DEPTNAME = value; } } [ModelDB] public string AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public string CURRENCY { get { return _CURRENCY; } set { _CURRENCY = value; } } [ModelDB] public string OP { get { return _OP; } set { _OP = value; } } [ModelDB] public string REASON { get { return _REASON; } set { _REASON = value; } } [ModelDB] public string ISDELETE { get { return _ISDELETE; } set { _ISDELETE = value; } } [ModelDB] public string DELETEUSER { get { return _DELETEUSER; } set { _DELETEUSER = value; } } [ModelDB] public string DELETETIME { get { return _DELETETIME; } set { _DELETETIME = value; } } public string SHOWNAME { get { return _SHOWNAME; } set { _SHOWNAME = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } } public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } [ModelDB] public string JKSTATUS { get { return _JKSTATUS; } set { _JKSTATUS = value; } } public string JKSTATUS_REF { get { return _JKSTATUS_REF; } set { _JKSTATUS_REF = value; } } public string REMAIN { get { return _REMAIN; } set { _REMAIN = value; } } public string BILLNO { get { return _BILLNO; } set { _BILLNO = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } #endregion public Jiekuanmb() { // TableName = "tMsWlPcHead"; TableName = "OA_Jiekuan"; } public override string GetBillNoFieldName() { return "GID"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class CHEQUEmb : ModelObjectBillBody {// #region private Fields private string _GID = string.Empty; private string _BILLNO = string.Empty; private string _CHEQUENO = string.Empty; private string _CHEQUEAMOUNTUPPER = string.Empty; private string _MAKETIMEUPPER = string.Empty; private string _CHEQUEAMOUNT = string.Empty; private string _PASSWORD = string.Empty; private string _CHEQUEMAKETIME = string.Empty; private string _PRINTTIME = string.Empty; private string _PRINTUSER = string.Empty; private string _PURPOSE = string.Empty; private string _CHEQUECUSTNAME = string.Empty; private string _MBLNO = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _ModifiedTime = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string BILLNO { get { return _BILLNO; } set { _BILLNO = value; } } [ModelDB] public string MAKETIMEUPPER { get { return _MAKETIMEUPPER; } set { _MAKETIMEUPPER = value; } } [ModelDB] public string CHEQUECUSTNAME { get { return _CHEQUECUSTNAME; } set { _CHEQUECUSTNAME = value; } } public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } [ModelDB] public string CHEQUENO { get { return _CHEQUENO; } set { _CHEQUENO = value; } } [ModelDB] public string CHEQUEAMOUNTUPPER { get { return _CHEQUEAMOUNTUPPER; } set { _CHEQUEAMOUNTUPPER = value; } } [ModelDB] public string CHEQUEAMOUNT { get { return _CHEQUEAMOUNT; } set { _CHEQUEAMOUNT = value; } } [ModelDB] public string PASSWORD { get { return _PASSWORD; } set { _PASSWORD = value; } } [ModelDB] public string CHEQUEMAKETIME { get { return _CHEQUEMAKETIME; } set { _CHEQUEMAKETIME = value; } } [ModelDB] public string PRINTTIME { get { return _PRINTTIME; } set { _PRINTTIME = value; } } [ModelDB] public string PRINTUSER { get { return _PRINTUSER; } set { _PRINTUSER = value; } } [ModelDB] public string PURPOSE { get { return _PURPOSE; } set { _PURPOSE = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string ModifiedTime { get { return _ModifiedTime; } set { _ModifiedTime = value; } } #endregion public CHEQUEmb() { // TableName = "tMsWlPcHead"; TableName = "ch_fee_cheque"; } public override string GetBillNoFieldName() { return "BILLNO"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class Jiekuan2mb : Jiekuanmb { private string _JKTYPE = string.Empty; private string _JKTYPE_REF = string.Empty; private decimal _TimeMark = 0; private string _RMBAMOUNT = string.Empty; private string _USDAMOUNT = string.Empty; private string _OTHERAMOUNT = string.Empty; private string _CHEQUENO = string.Empty; //private decimal _AMOUNT = 0; private string _JKNAME = string.Empty; private string _JKDATE = string.Empty; private string _RMBAMOUNT_SETTLEMENT = string.Empty; private string _USDAMOUNT_SETTLEMENT = string.Empty; private string _OTHERAMOUNT_SETTLEMENT = string.Empty; private string _EXREPAYDATE = string.Empty; private string _SETTINFO = string.Empty; private string _AUDITOR = ""; private string _AUDITTIME = ""; private string _SALECORPID = string.Empty; private string _SALECORP = string.Empty; [ModelDB] public string JKTYPE { get { return _JKTYPE; } set { _JKTYPE = value; } } public string JKTYPE_REF { get { return _JKTYPE_REF; } set { _JKTYPE_REF = value; } } public decimal TimeMark { get { return _TimeMark; } set { _TimeMark = value; } } public decimal STLAMOUNT { get; set; } public string RMBAMOUNT { get { return _RMBAMOUNT; } set { _RMBAMOUNT = value; } } public string USDAMOUNT { get { return _USDAMOUNT; } set { _USDAMOUNT = value; } } public string OTHERAMOUNT { get { return _OTHERAMOUNT; } set { _OTHERAMOUNT = value; } } [ModelDB] public string CHEQUENO { get { return _CHEQUENO; } set { _CHEQUENO = value; } } public string RMBAMOUNT_SETTLEMENT { get { return _RMBAMOUNT_SETTLEMENT; } set { _RMBAMOUNT_SETTLEMENT = value; } } public string USDAMOUNT_SETTLEMENT { get { return _USDAMOUNT_SETTLEMENT; } set { _USDAMOUNT_SETTLEMENT = value; } } public string OTHERAMOUNT_SETTLEMENT { get { return _OTHERAMOUNT_SETTLEMENT; } set { _OTHERAMOUNT_SETTLEMENT = value; } } public decimal BALAMOUNT { get; set; } [ModelDB] public string EXREPAYDATE { get { return _EXREPAYDATE; } set { _EXREPAYDATE = value; } } public string SETTINFO { get { return _SETTINFO; } set { _SETTINFO = value; } } public string AUDITOR { get { return _AUDITOR; } set { _AUDITOR = value; } } public string AUDITTIME { get { return _AUDITTIME; } set { _AUDITTIME = value; } } public string REMARKALL { get; set; } [ModelDB] public string SALECORPID { get { return _SALECORPID; } set { _SALECORPID = value; } } public string SALECORP { get { return _SALECORP; } set { _SALECORP = value; } } public override string GetTimeMarkFieldName ( ) { return "TimeMark"; } } [JsonObject] public class Jiekuan2Bodymb : ModelObjectBillBody { private string _GID = string.Empty; private string _JKGID = string.Empty; private string _BXGID = string.Empty; private string _PaymentGID = string.Empty; private string _FEETYPE = string.Empty; private string _FEETYPE_REF = string.Empty; private string _FEESTATUS = string.Empty; private string _FEESTATUS_REF = string.Empty; private string _SALESNO = string.Empty; private string _F_NO = string.Empty; private string _UNIT = string.Empty; private string _BSNO = string.Empty; private string _FEENAME = string.Empty; private string _CURRENCY = string.Empty; private decimal _AMOUNT = 0; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _Remark = string.Empty; private string _REASON = string.Empty; private string _CUSTOMERNAME = string.Empty; private string _FEEDESCRIPTION = string.Empty; private string _CARGO_GID = string.Empty; private decimal _UNITPRICE = 0; private decimal _QUANTITY = 1; private decimal _EXCHANGERATE = 1; private decimal _COMMISSIONRATE = 0; private decimal _SETTLEMENT = 0; private decimal _INVOICE = 0; private decimal _ORDERAMOUNT = 0; private decimal _ORDERINVOICE = 0; private decimal _SORT = 0; private decimal _AUDITSTATUS = 0; private decimal _LINENUM = 0; private decimal _TAXRATE = 0; private decimal _NOTAXAMOUNT = 0; private decimal _ACCTAXRATE = 0; private decimal _TAX = 0; private decimal _ORDERSETTLEMENT = 0; private decimal _TAXUNITPRICE = 0; private decimal _ORDERINVSETTLEMENT = 0; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string JKGID { get { return _JKGID; } set { _JKGID = value; } } [ModelDB] public string BXGID { get { return _BXGID; } set { _BXGID = value; } } [ModelDB] public string PaymentGID { get { return _PaymentGID; } set { _PaymentGID = value; } } [ModelDB] public string CARGO_GID { get { return _CARGO_GID; } set { _CARGO_GID = value; } } [ModelDB] public string FEETYPE { get { return _FEETYPE; } set { _FEETYPE = value; } } public string FEETYPE_REF { get { return _FEETYPE_REF; } set { _FEETYPE_REF = value; } } [ModelDB] public string FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } public string FEESTATUS_REF { get { return _FEESTATUS_REF; } set { _FEESTATUS_REF = value; } } [ModelDB] public string SALESNO { get { return _SALESNO; } set { _SALESNO = value; } } [ModelDB] public string F_NO { get { return _F_NO; } set { _F_NO = value; } } [ModelDB] public string UNIT { get { return _UNIT; } set { _UNIT = value; } } [ModelDB] public string FEEDESCRIPTION { get { return _FEEDESCRIPTION; } set { _FEEDESCRIPTION = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } } [ModelDB] public string CURRENCY { get { return _CURRENCY; } set { _CURRENCY = value; } } [ModelDB] public decimal AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string Remark { get { return _Remark; } set { _Remark = value; } } [ModelDB] public string REASON { get { return _REASON; } set { _REASON = value; } } [ModelDB] public decimal UNITPRICE { get { return _UNITPRICE; } set { _UNITPRICE = value; } } [ModelDB] public decimal QUANTITY { get { return _QUANTITY; } set { _QUANTITY = value; } } [ModelDB] public decimal EXCHANGERATE { get { return _EXCHANGERATE; } set { _EXCHANGERATE = value; } } [ModelDB] public decimal COMMISSIONRATE { get { return _COMMISSIONRATE; } set { _COMMISSIONRATE = value; } } //[ModelDB] public decimal SETTLEMENT { get { return _SETTLEMENT; } set { _SETTLEMENT = value; } } public decimal INVOICE { get { return _INVOICE; } set { _INVOICE = value; } } public decimal ORDERAMOUNT { get { return _ORDERAMOUNT; } set { _ORDERAMOUNT = value; } } public decimal ORDERINVOICE { get { return _ORDERINVOICE; } set { _ORDERINVOICE = value; } } [ModelDB] public decimal SORT { get { return _SORT; } set { _SORT = value; } } public decimal AUDITSTATUS { get { return _AUDITSTATUS; } set { _AUDITSTATUS = value; } } [ModelDB] public decimal LINENUM { get { return _LINENUM; } set { _LINENUM = value; } } [ModelDB] public decimal TAXRATE { get { return _TAXRATE; } set { _TAXRATE = value; } } [ModelDB] public decimal NOTAXAMOUNT { get { return _NOTAXAMOUNT; } set { _NOTAXAMOUNT = value; } } [ModelDB] public decimal ACCTAXRATE { get { return _ACCTAXRATE; } set { _ACCTAXRATE = value; } } [ModelDB] public decimal TAX { get { return _TAX; } set { _TAX = value; } } public decimal ORDERSETTLEMENT { get { return _ORDERSETTLEMENT; } set { _ORDERSETTLEMENT = value; } } [ModelDB] public decimal TAXUNITPRICE { get { return _TAXUNITPRICE; } set { _TAXUNITPRICE = value; } } public decimal ORDERINVSETTLEMENT { get { return _ORDERINVSETTLEMENT; } set { _ORDERINVSETTLEMENT = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } private string _enteroPerator = String.Empty; private string _enterDate = null; [ModelDB(MDBType = ModelDBOprationType.Insert)] public string EnteroPerator { get { return _enteroPerator; } set { _enteroPerator = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string EnterDate { get { return _enterDate; } set { _enterDate = value; } } public string MBLNO { get; set; } public string CUSTNAME { get; set; } public string CUSTNO { get; set; } public string CNTRTOTAL { get; set; } public string GOODSNAME { get; set; } public Jiekuan2Bodymb ( ) { // TableName = "tMsWlPcHead"; TableName = "CH_FEE"; } public override string GetBillNoFieldName() { return "JKGID"; } } #region 参照部分 #endregion }