using System; using HcUtility.Core; using Newtonsoft.Json; using DSWeb.Areas.OA.Models.Jiekuan; namespace DSWeb.Areas.OA.Models.Baoxiao { [JsonObject] public class Baoxiaomb : ModelObjectBillHead {// #region private Fields private String _BXGID = string.Empty; private String _BSNO = string.Empty; private String _COMPANY = string.Empty; private String _DEPTNAME = string.Empty; private String _CREATEUSER = string.Empty; private String _CREATEDATE = string.Empty; private String _ISDELETE = string.Empty; private String _DELETEUSER = string.Empty; private String _DELETETIME = string.Empty; private String _BXSTATUS = string.Empty; private String _REMARK = string.Empty; private String _AMOUNT = string.Empty; private String _CHEQUENO = string.Empty; private String _CHEQUEAMOUNT = string.Empty; private String _BXSTATUS_REF = string.Empty; private String _ISVOU = string.Empty; private String _ISVOU_REF = string.Empty; private String _VOUCHERNO = string.Empty; private String _BXNO = string.Empty; private String _ISPAYED = string.Empty; private String _WORKFLOWID = string.Empty; private String _WORKFLOWUSING_GID = string.Empty; private String _VOUALLNO = string.Empty; private String _JKTYPE = string.Empty; private String _JKREASON = string.Empty; private String _SALECORPID = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public String BXGID { get { return _BXGID; } set { _BXGID = value; } } [ModelDB] public String BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public String COMPANY { get { return _COMPANY; } set { _COMPANY = value; } } [ModelDB] public String DEPTNAME { get { return _DEPTNAME; } set { _DEPTNAME = value; } } [ModelDB] public String CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public String CREATEDATE { get { return _CREATEDATE; } set { _CREATEDATE = 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; } } [ModelDB] public String BXSTATUS { get { return _BXSTATUS; } set { _BXSTATUS = value; } } public String BXSTATUS_REF { get { return _BXSTATUS_REF; } set { _BXSTATUS_REF = value; } } [ModelDB] public String REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public String AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public String CHEQUENO { get { return _CHEQUENO; } set { _CHEQUENO = value; } } [ModelDB] public String CHEQUEAMOUNT { get { return _CHEQUEAMOUNT; } set { _CHEQUEAMOUNT = value; } } public String ISVOU { get { return _ISVOU; } set { _ISVOU = value; } } public String ISVOU_REF { get { return _ISVOU_REF; } set { _ISVOU_REF = value; } } public String VOUCHERNO { get { return _VOUCHERNO; } set { _VOUCHERNO = value; } } [ModelDB] public String BXNO { get { return _BXNO; } set { _BXNO = value; } } [ModelDB] public String JKTYPE { get { return _JKTYPE; } set { _JKTYPE = value; } } [ModelDB] public String JKREASON { get { return _JKREASON; } set { _JKREASON = value; } } [ModelDB] public String SALECORPID { get { return _SALECORPID; } set { _SALECORPID = value; } } public string SALECORP { get; set; } public String ISPAYED { get { return _ISPAYED; } set { _ISPAYED = value; } } public String WORKFLOWID { get { return _WORKFLOWID; } set { _WORKFLOWID = value; } } public String WORKFLOWUSING_GID { get { return _WORKFLOWUSING_GID; } set { _WORKFLOWUSING_GID = value; } } public string VOUALLNO { get { return _VOUALLNO; } set { _VOUALLNO = value; } } public string JJNO { get;set; } public string JJDATE { get; set; } public bool ISREVINV { get; set; } #endregion public Baoxiaomb() { // TableName = "tMsWlPcHead"; TableName = "OA_Baoxiao"; } public override string GetBillNoFieldName() { return "BXGID"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class BaoxiaoAuditmb : Baoxiaomb {// #region private Fields private String _GROUPID = string.Empty; private String _STEPNO = string.Empty; private String _USINGSTEP = string.Empty; public String GROUPID { get { return _GROUPID; } set { _GROUPID = value; } } public String STEPNO { get { return _STEPNO; } set { _STEPNO = value; } } public String USINGSTEP { get { return _USINGSTEP; } set { _USINGSTEP = value; } } #endregion public BaoxiaoAuditmb() { // TableName = "tMsWlPcHead"; TableName = "OA_Baoxiao"; } public override string GetBillNoFieldName() { return "BXGID"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class BSNOmb : ModelObjectBillHead {// #region private Fields private String _BSNO = string.Empty; private String _MBLNO = string.Empty; private String _HBLNO = string.Empty; private String _CUSTNO = string.Empty; private String _OPLB = string.Empty; private String _Remark = string.Empty; public String BSNO { get { return _BSNO; } set { _BSNO = value; } } public String MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } public String HBLNO { get { return _HBLNO; } set { _HBLNO = value; } } public String CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } } public String OPLB { get { return _OPLB; } set { _OPLB = value; } } public String Remark { get { return _Remark; } set { _Remark = value; } } public string CUSTNAME { get; set; } public string CNTRTOTAL { get; set; } public string GOODSNAME { get; set; } } #endregion [JsonObject] public class BXPaymb : ModelObjectBillBody {// #region private Fields private string _GID = string.Empty; private string _BXGID = string.Empty; private string _SETTLEMENTTYPE = string.Empty; private string _TICKETNO = string.Empty; private string _AMOUNT = string.Empty; private string _REMARK = string.Empty; private string _SETTLEMENTTYPE_REF = string.Empty; private string _FINANCIALCODE = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string BXGID { get { return _BXGID; } set { _BXGID = value; } } [ModelDB] public string SETTLEMENTTYPE { get { return _SETTLEMENTTYPE; } set { _SETTLEMENTTYPE = value; } } public string SETTLEMENTTYPE_REF { get { return _SETTLEMENTTYPE_REF; } set { _SETTLEMENTTYPE_REF = value; } } [ModelDB] public string TICKETNO { get { return _TICKETNO; } set { _TICKETNO = value; } } [ModelDB] public string AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string FINANCIALCODE { get { return _FINANCIALCODE; } set { _FINANCIALCODE = value; } } private string _OPERATORSIDE_gl = string.Empty; private string _OPERATORSIDE_gl_REF = string.Empty; [ModelDB] public string OPERATORSIDE_gl { get { return _OPERATORSIDE_gl; } set { _OPERATORSIDE_gl = value; } } public string OPERATORSIDE_gl_REF { get { return _OPERATORSIDE_gl_REF; } set { _OPERATORSIDE_gl_REF = value; } } #endregion public BXPaymb() { // TableName = "tMsWlPcHead"; TableName = "OA_Baoxiao_Pay"; } public override string GetBillNoFieldName() { return "BXGID"; } public override string GetTimeMarkFieldName() { return ""; } } [JsonObject] public class Baoxiao2mb : Baoxiaomb {// private string _RMBAMOUNT = "0"; private string _USDAMOUNT = "0"; private string _OTHERAMOUNT = "0"; private string _AUDITOR = ""; private string _AUDITTIME = ""; private string _ISJK = ""; private string _FEEREMARK = ""; 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; } } public string AUDITOR { get { return _AUDITOR; } set { _AUDITOR = value; } } public string AUDITTIME { get { return _AUDITTIME; } set { _AUDITTIME = value; } } public string SUBMITOP { get; set; } public string SUBMITTIME { get; set; } public string ISJK { get { return _ISJK; } set { _ISJK = value; } } public string FEEREMARK { get { return _FEEREMARK; } set { _FEEREMARK = value; } } } [JsonObject] public class BaoXiao2Bodymb : Jiekuan2Bodymb { private string _JKTYPE_REF = string.Empty; private string _JKNAME = string.Empty; private string _JKDATE = string.Empty; private decimal _SETTLEMENT = 0; private string _INVOICENUM = string.Empty; public string JKTYPE_REF { get { return _JKTYPE_REF; } set { _JKTYPE_REF = value; } } public string JKNAME { get { return _JKNAME; } set { _JKNAME = value; } } public string JKDATE { get { return _JKDATE; } set { _JKDATE = value; } } public decimal SETTLEMENT { get { return _SETTLEMENT; } set { _SETTLEMENT = value; } } [ModelDB] public string INVOICENUM { get { return _INVOICENUM; } set { _INVOICENUM = value; } } public BaoXiao2Bodymb ( ) { // TableName = "tMsWlPcHead"; TableName = "CH_FEE"; } public override string GetBillNoFieldName ( ) { return "BXGID"; } } [JsonObject] public class BaoXiao2Bodymb_ADL: BaoXiao2Bodymb { private decimal _SETTLEMENT = 0; [ModelDB] public decimal SETTLEMENT { get { return _SETTLEMENT; } set { _SETTLEMENT = value; } } } #region 参照部分 #endregion }