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.

280 lines
7.1 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsChFeeAutoDui
{
[JsonObject]
public class MsChFeeAutoDuimb : ModelObjectBillHead
{
#region 读写属性 private
private string _GID = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _FEETYPE = string.Empty;
private string _DUISTATUS = string.Empty;
private string _STARTDATE = string.Empty;
private string _ENDDATE = string.Empty;
private string _OP = string.Empty;
private string _OPDATE = string.Empty;
private string _REMARK = string.Empty;
private string _REMARK2 = string.Empty;
private string _STATUS = string.Empty;
private string _STATUS_REF = string.Empty;
private string _DUINO = string.Empty;
private string _TimeMark = string.Empty;
private string _HAVEDEBIT = string.Empty;
private string _FEEDC = "0";
private string _FSTATUS = "";
private string _CURR = string.Empty;
#endregion
#region 读写属性 public
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string DUISTATUS
{
get { return _DUISTATUS; }
set { _DUISTATUS = value; }
}
[ModelDB]
public string STARTDATE
{
get { return _STARTDATE; }
set { _STARTDATE = value; }
}
[ModelDB]
public string ENDDATE
{
get { return _ENDDATE; }
set { _ENDDATE = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string FEEDC
{
get { return _FEEDC; }
set { _FEEDC = value; }
}
[ModelDB]
public string CURR
{
get { return _CURR; }
set { _CURR = value; }
}
[ModelDB]
public string OPDATE
{
get { return _OPDATE; }
set { _OPDATE = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string REMARK2
{
get { return _REMARK2; }
set { _REMARK2 = value; }
}
[ModelDB]
public string STATUS
{
get { return _STATUS; }
set { _STATUS = value; }
}
[ModelDB]
public string DUINO
{
get { return _DUINO; }
set { _DUINO = value; }
}
public string STATUS_REF
{
get { return _STATUS_REF; }
set { _STATUS_REF = value; }
}
//[ModelDB]
public string TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
[ModelDB]
public string HAVEDEBIT
{
get { return _HAVEDEBIT; }
set { _HAVEDEBIT = value; }
}
[ModelDB]
public string FSTATUS
{
get { return _FSTATUS; }
set { _FSTATUS = value; }
}
#endregion
public MsChFeeAutoDuimb()
{
TableName = "CH_FEE_AutoDui";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class CH_FEE_AutoDuiDetailmb : ModelObjectBillBody
{
#region 读写属性
private string _GID = string.Empty;
private string _BSNO = string.Empty;
private string _B_BSNO = string.Empty;
private string _MBLNO = string.Empty;
private string _B_MBLNO = string.Empty;
private string _ETD = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _OP = string.Empty;
private string _RMBAMOUNT = string.Empty;
private string _USDAMOUNT = string.Empty;
private string _L_RMBAMOUNT = string.Empty;
private string _L_USDAMOUNT = string.Empty;
private string _ISOK = string.Empty;
private string _REMARK = string.Empty;
private string _REMARK2 = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string B_BSNO
{
get { return _B_BSNO; }
set { _B_BSNO = value; }
}
[ModelDB]
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
[ModelDB]
public string B_MBLNO
{
get { return _B_MBLNO; }
set { _B_MBLNO = value; }
}
//[ModelDB]
public string ETD
{
get { return _ETD; }
set { _ETD = value; }
}
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string RMBAMOUNT
{
get { return _RMBAMOUNT; }
set { _RMBAMOUNT = value; }
}
[ModelDB]
public string USDAMOUNT
{
get { return _USDAMOUNT; }
set { _USDAMOUNT = value; }
}
[ModelDB]
public string L_RMBAMOUNT
{
get { return _L_RMBAMOUNT; }
set { _L_RMBAMOUNT = value; }
}
[ModelDB]
public string L_USDAMOUNT
{
get { return _L_USDAMOUNT; }
set { _L_USDAMOUNT = value; }
}
[ModelDB]
public string ISOK
{
get { return _ISOK; }
set { _ISOK = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string REMARK2
{
get { return _REMARK2; }
set { _REMARK2 = value; }
}
#endregion
public CH_FEE_AutoDuiDetailmb ( )
{
TableName = "CH_FEE_AutoDuiDetail";
}
override public string GetBillNoFieldName ( )
{
return "BSNO";
}
}
}