You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

547 lines
15 KiB
C#

12 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Import.Models.CWAdvancePayment
{
[JsonObject]
public class CWAdvancePayment : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _LINKGID = string.Empty;
private string _BILLNO = string.Empty;
private string _FEETYPE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _CURRENCY = string.Empty;
private string _AMOUNT = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _REMAIN = string.Empty;
private string _CREATEUSER = string.Empty;
private string _CREATETIME = string.Empty;
private string _SETTLEUSER = string.Empty;
private string _SETTLETIME = string.Empty;
private string _REMARK = string.Empty;
private string _ISDELETE = string.Empty;
private string _DELETEUSER = string.Empty;
private string _DELETETIME = string.Empty;
private string _ISFINISH = string.Empty;
private string _COMPANYID = string.Empty;
private string _VOUCHERNO = string.Empty;
private string _CREATEUSERREF = string.Empty;
private string _COMPANYREF = string.Empty;
private string _FEETYPEREF = string.Empty;
private string _ISFINISHREF = string.Empty;
private string _BANKACCID = string.Empty;
private string _BANKACCIDNAME = string.Empty;
private string _ISVOU = string.Empty;
private string _REASON = string.Empty;
private string _RKAMOUNT = string.Empty;
private string _UnRKAMOUNT = string.Empty;
private string _BLSTATUS = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public string BILLNO
{
get { return _BILLNO; }
set { _BILLNO = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
//[ModelDB]
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
public string REMAIN
{
get { return _REMAIN; }
set { _REMAIN = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
[ModelDB]
public string CREATETIME
{
get { return _CREATETIME; }
set { _CREATETIME = value; }
}
//[ModelDB]
public string SETTLEUSER
{
get { return _SETTLEUSER; }
set { _SETTLEUSER = value; }
}
//[ModelDB]
public string SETTLETIME
{
get { return _SETTLETIME; }
set { _SETTLETIME = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = 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 ISFINISH
{
get { return _ISFINISH; }
set { _ISFINISH = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
[ModelDB]
public string VOUCHERNO
{
get { return _VOUCHERNO; }
set { _VOUCHERNO = value; }
}
[ModelDB]
public string BANKACCID
{
get { return _BANKACCID; }
set { _BANKACCID = value; }
}
public string BANKACCIDNAME
{
get { return _BANKACCIDNAME; }
set { _BANKACCIDNAME = value; }
}
public string ISVOU
{
get { return _ISVOU; }
set { _ISVOU = value; }
}
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
public string COMPANYREF
{
get { return _COMPANYREF; }
set { _COMPANYREF = value; }
}
public string FEETYPEREF
{
get { return _FEETYPEREF; }
set { _FEETYPEREF = value; }
}
public string ISFINISHREF
{
get { return _ISFINISHREF; }
set { _ISFINISHREF = value; }
}
[ModelDB]
public string REASON
{
get { return _REASON; }
set { _REASON = value; }
}
public string RKAMOUNT
{
get { return _RKAMOUNT; }
set { _RKAMOUNT = value; }
}
public string UnRKAMOUNT
{
get { return _UnRKAMOUNT; }
set { _UnRKAMOUNT = value; }
}
[ModelDB]
public string BLSTATUS
{
get { return _BLSTATUS; }
set { _BLSTATUS = value; }
}
#endregion
public override string GetBillNoFieldName()
{
return "GID";
}
public CWAdvancePayment()
{
TableName = "ch_fee_advance_payment";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
[JsonObject]
public class CWAdvancePaymentBody : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _LINKGID = string.Empty;
private string _BILLNO = string.Empty;
private string _SETTLELINKGID = string.Empty;
private string _SETTLEBILLNO = string.Empty;
private string _FEETYPE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _CURRENCY = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _SETTLEUSER = string.Empty;
private string _SETTLETIME = string.Empty;
private string _REMARK = string.Empty;
private string _ISDELETE = string.Empty;
private string _DELETEUSER = string.Empty;
private string _DELETETIME = string.Empty;
private string _COMPANYID = string.Empty;
private string _VOUCHERNO = string.Empty;
private string _SETTLEUSERREF = string.Empty;
private string _COMPANYREF = string.Empty;
#endregion
#region Public Properties
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
public string BILLNO
{
get { return _BILLNO; }
set { _BILLNO = value; }
}
public string SETTLELINKGID
{
get { return _SETTLELINKGID; }
set { _SETTLELINKGID = value; }
}
public string SETTLEBILLNO
{
get { return _SETTLEBILLNO; }
set { _SETTLEBILLNO = value; }
}
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
public string SETTLEUSER
{
get { return _SETTLEUSER; }
set { _SETTLEUSER = value; }
}
public string SETTLETIME
{
get { return _SETTLETIME; }
set { _SETTLETIME = value; }
}
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string ISDELETE
{
get { return _ISDELETE; }
set { _ISDELETE = value; }
}
public string DELETEUSER
{
get { return _DELETEUSER; }
set { _DELETEUSER = value; }
}
public string DELETETIME
{
get { return _DELETETIME; }
set { _DELETETIME = value; }
}
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public string VOUCHERNO
{
get { return _VOUCHERNO; }
set { _VOUCHERNO = value; }
}
public string SETTLEUSERREF
{
get { return _SETTLEUSERREF; }
set { _SETTLEUSERREF = value; }
}
public string COMPANYREF
{
get { return _COMPANYREF; }
set { _COMPANYREF = value; }
}
#endregion
public CWAdvancePaymentBody()
{
TableName = "ch_fee_advance_payment_detail";
}
public override string GetBillNoFieldName()
{
return "LINKGID";
}
}
[JsonObject]
public class CWAdvancePaymentBody_Edit : ModelObjectBillBody
{
#region private Fields
private string _GID = string.Empty;
private string _LINKGID = string.Empty;
private string _BILLNO = string.Empty;
private string _SETTLELINKGID = string.Empty;
private string _SETTLEBILLNO = string.Empty;
private string _FEETYPE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _CURRENCY = string.Empty;
private string _DOAMOUNT = string.Empty;
private string _SETTLEUSER = string.Empty;
private string _SETTLETIME = string.Empty;
private string _REMARK = string.Empty;
private string _ISDELETE = string.Empty;
private string _DELETEUSER = string.Empty;
private string _DELETETIME = string.Empty;
private string _COMPANYID = string.Empty;
private string _VOUCHERNO = string.Empty;
private string _SETTLEUSERREF = string.Empty;
private string _COMPANYREF = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public string BILLNO
{
get { return _BILLNO; }
set { _BILLNO = value; }
}
public string SETTLELINKGID
{
get { return _SETTLELINKGID; }
set { _SETTLELINKGID = value; }
}
public string SETTLEBILLNO
{
get { return _SETTLEBILLNO; }
set { _SETTLEBILLNO = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string DOAMOUNT
{
get { return _DOAMOUNT; }
set { _DOAMOUNT = value; }
}
[ModelDB]
public string SETTLEUSER
{
get { return _SETTLEUSER; }
set { _SETTLEUSER = value; }
}
[ModelDB]
public string SETTLETIME
{
get { return _SETTLETIME; }
set { _SETTLETIME = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public string ISDELETE
{
get { return _ISDELETE; }
set { _ISDELETE = value; }
}
public string DELETEUSER
{
get { return _DELETEUSER; }
set { _DELETEUSER = value; }
}
public string DELETETIME
{
get { return _DELETETIME; }
set { _DELETETIME = value; }
}
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public string VOUCHERNO
{
get { return _VOUCHERNO; }
set { _VOUCHERNO = value; }
}
public string SETTLEUSERREF
{
get { return _SETTLEUSERREF; }
set { _SETTLEUSERREF = value; }
}
public string COMPANYREF
{
get { return _COMPANYREF; }
set { _COMPANYREF = value; }
}
#endregion
public CWAdvancePaymentBody_Edit ( )
{
TableName = "ch_fee_advance_payment_detail";
}
public override string GetBillNoFieldName ( )
{
return "LINKGID";
}
}
#region 参照部分
#endregion
}