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.

368 lines
9.7 KiB
C#

10 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.Account.Models.Chfee_management
{
[JsonObject]
public class C_Mmb : ModelObjectBillHead
{
#region private Fields
private string _Feeid = string.Empty;
private string _FEESTATUS = string.Empty;
private string _FEETYPE ="2";
//private string _FEENAME = string.Empty;
private string _AMOUNT = string.Empty;
private string _FEEDATE = string.Empty;
private string _CREATEDATE = string.Empty;
private string _CREATOR = string.Empty;
private string _VOUCHERNO = string.Empty;
private string _ISVOU = string.Empty;
private string _AUDITDATE = string.Empty;
private string _AUDITOR = string.Empty;
private string _OPERATORSIDE = string.Empty;
private string _OPERATORSIDE_Ref = string.Empty;
//private string _CUSTOMERSIDE = string.Empty;
private string _CURRENCY = string.Empty;
private string _EXCHANGERATE = string.Empty;
private string _REMARK = string.Empty;
private decimal _TimeMark = 0;
private string _FeeStatus_Ref = string.Empty;
private string _FeeType_Ref = string.Empty;
private string _ACCDATE = string.Empty;
private string _OPERATORSIDE_gl = string.Empty;
private string _OPERATORSIDE_gl_REF = string.Empty;
private string _VOUALLNO = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string Feeid
{
get { return _Feeid; }
set { _Feeid = value; }
}
[ModelDB]
public string FEESTATUS
{
get { return _FEESTATUS; }
set { _FEESTATUS = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string FEEDATE
{
get { return _FEEDATE; }
set { _FEEDATE = value; }
}
[ModelDB]
public string CREATEDATE
{
get { return _CREATEDATE; }
set { _CREATEDATE = value; }
}
[ModelDB]
public string CREATOR
{
get { return _CREATOR; }
set { _CREATOR = value; }
}
private string _CREATOR_REF = string.Empty;
public string CREATOR_REF
{
get { return _CREATOR_REF; }
set { _CREATOR_REF = value; }
}
[ModelDB]
public string VOUCHERNO
{
get { return _VOUCHERNO; }
set { _VOUCHERNO = value; }
}
public string ISVOU
{
get { return _ISVOU; }
set { _ISVOU = value; }
}
[ModelDB]
public string AUDITDATE
{
get { return _AUDITDATE; }
set { _AUDITDATE = value; }
}
[ModelDB]
public string AUDITOR
{
get { return _AUDITOR; }
set { _AUDITOR = value; }
}
private string _AUDITOR_REF = string.Empty;
public string AUDITOR_REF
{
get { return _AUDITOR_REF; }
set { _AUDITOR_REF = value; }
}
[ModelDB]
public string OPERATORSIDE
{
get { return _OPERATORSIDE; }
set { _OPERATORSIDE = value; }
}
public string OPERATORSIDE_Ref
{
get { return _OPERATORSIDE_Ref; }
set { _OPERATORSIDE_Ref = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = value; }
}
public string FeeStatus_Ref
{
get { return _FeeStatus_Ref; }
set { _FeeStatus_Ref = value; }
}
public string FeeType_Ref
{
get { return _FeeType_Ref; }
set { _FeeType_Ref = value; }
}
[ModelDB]
public string OPERATORSIDE_gl
{
get { return _OPERATORSIDE_gl; }
set { _OPERATORSIDE_gl = value; }
}
//[ModelDB]
public string OPERATORSIDE_gl_REF
{
get { return _OPERATORSIDE_gl_REF; }
set { _OPERATORSIDE_gl_REF = value; }
}
//[ModelDB]
public string VOUALLNO
{
get { return _VOUALLNO; }
set { _VOUALLNO = value; }
}
#endregion
public C_Mmb()
{
// TableName = "tMsWlPcHead";
TableName = "ch_fee_management";
}
public override string GetBillNoFieldName()
{
return "Feeid";
}
}
[JsonObject]
public class C_MBodymb : ModelObjectBillBody
{
#region private Fields
private string _gid = string.Empty;
private string _Feeid = string.Empty;
private string _CUSTOMERSIDE = string.Empty;
private string _FEENAME = string.Empty;
private string _FEENAMEREF = string.Empty;
private string _AMOUNT = string.Empty;
private string _REMARK = string.Empty;
private string _DEPTGID = string.Empty;
private string _SALE = string.Empty;
private string _DEPTNAME = string.Empty;
private string _VOUCHERNO = string.Empty;
private string _CUSTBANK = string.Empty;
private string _CUSTACCOUNT = string.Empty;
private string _VOUALLNO = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string gid
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB]
public string Feeid
{
get { return _Feeid; }
set { _Feeid = value; }
}
[ModelDB]
public string CUSTOMERSIDE
{
get { return _CUSTOMERSIDE; }
set { _CUSTOMERSIDE = value; }
}
[ModelDB]
public string FEENAME
{
get { return _FEENAME; }
set { _FEENAME = value; }
}
public string FEENAMEREF
{
get { return _FEENAMEREF; }
set { _FEENAMEREF = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string DEPTGID
{
get { return _DEPTGID; }
set { _DEPTGID = value; }
}
[ModelDB]
public string SALE
{
get { return _SALE; }
set { _SALE = value; }
}
[ModelDB]
public string CUSTBANK
{
get { return _CUSTBANK; }
set { _CUSTBANK = value; }
}
[ModelDB]
public string CUSTACCOUNT
{
get { return _CUSTACCOUNT; }
set { _CUSTACCOUNT = value; }
}
public string DEPTNAME
{
get { return _DEPTNAME; }
set { _DEPTNAME = value; }
}
public string VOUCHERNO
{
get { return _VOUCHERNO; }
set { _VOUCHERNO = 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; }
}
public string VOUALLNO
{
get { return _VOUALLNO; }
set { _VOUALLNO = value; }
}
#endregion
public C_MBodymb()
{
// TableName = "tMsWlPcHead";
TableName = "ch_fee_mbody";
}
public override string GetBillNoFieldName()
{
return "Feeid";
}
}
[JsonObject]
public class C_MBodymb_2 : C_MBodymb
{
#region private Fields
private string _CURRENCY = string.Empty;
private string _AMOUNTRMB = string.Empty;
private string _AMOUNTUSD = string.Empty;
private string _AMOUNTOTHER = string.Empty;
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
public string AMOUNTRMB
{
get { return _AMOUNTRMB; }
set { _AMOUNTRMB = value; }
}
public string AMOUNTUSD
{
get { return _AMOUNTUSD; }
set { _AMOUNTUSD = value; }
}
public string AMOUNTOTHER
{
get { return _AMOUNTOTHER; }
set { _AMOUNTOTHER = value; }
}
#endregion
}
#region 参照部分
#endregion
}