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.

342 lines
8.6 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;
private string _DUITYPE = string.Empty;
private string _FEEDUITYPE = string.Empty;
private string _FEEDUITYPECONDIT = "等于";
#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; }
}
private string _SALECORP = "";
[ModelDB]
public string SALECORP
{
get { return _SALECORP; }
set { _SALECORP = 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; }
}
[ModelDB]
public string DUITYPE
{
get { return _DUITYPE; }
set { _DUITYPE = value; }
}
[ModelDB]
public string PS_OPLB { get;set;}
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; }
}
[ModelDB]
public string FEEDUITYPE
{
get { return _FEEDUITYPE; }
set { _FEEDUITYPE = value; }
}
[ModelDB]
public string FEEDUITYPECONDIT
{
get { return _FEEDUITYPECONDIT; }
set { _FEEDUITYPECONDIT = value; }
}
#endregion
public string RMBAMOUNT
{
get;
set;
}
public string USDAMOUNT
{
get;
set;
}
public string L_RMBAMOUNT
{
get;
set;
}
public string L_USDAMOUNT
{
get;
set;
}
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; }
}
public decimal Y_RMBAMOUNT { set; get; }
public decimal Y_USDAMOUNT { set; get; }
[ModelDB]
public string B_AMOUNT { get; set; }
public string CARRIER { set; get; }
public string TEU { set; get; }
public string SALE{ set; get; }
public string CUSTNO { set; get; }
#endregion
public CH_FEE_AutoDuiDetailmb ( )
{
TableName = "CH_FEE_AutoDuiDetail";
}
override public string GetBillNoFieldName ( )
{
return "BSNO";
}
}
}