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.
DS7/DSWeb/Areas/MvcShipping/Models/MsSeaiFee/MsOpSeai.cs

346 lines
10 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsSeaiFee
{
[JsonObject]
public class MsOpSeai : ModelObjectBillBody
{
#region 私有成员
private string _BSNO = Guid.NewGuid().ToString();//业务编号
private bool _BSSTATUS;//业务状态
private bool _FEESTATUS;//费用状态
private DateTime _BSDATE = DateTime.Now;//录入日期
private string _ACCDATE = "";//会计期间
private string _MBLNO = "";//主提单号
private string _HBLNO = "";//分提单号
private string _CUSTNO = "";//委托编号
private string _TRANSNO = "";//运单号
private string _CUSTOMERNAME = "";//委托单位
private string _BLTYPE = "";//装运方式
private string _SHIPPERID = "";//发货人
private string _CONSIGNEEID = "";//收货人
private string _NOTIFYPARTYID = "";//通知人
private string _AGENTID = "";//国外代理
private string _YARD = "";//场站
private string _VESSEL = "";//船名
private string _VOYNO = "";//航次
private DateTime _ETD;//开船日期
private DateTime _CLOSINGDATE;//截港日期
private DateTime _ETA;//预抵日期
private string _PORTLOAD = "";//卸货港代码
private string _PORTDISCHARGEID = "";//卸货港代码
private string _PORTDISCHARGE = "";//卸货港
private string _BLFRT = "";//付费方式
private string _SERVICE = "";//运输条款
private string _CNTRTOTAL = "";//集装箱
private string _INPUTBY = "";//录入人
private DateTime _CREATETIME;//录入人
private string _OP = "";//操作员
private string _CUSTSERVICE = "";//客服
private string _LANE = "";//航线
private string _SALE = "";//揽货人
private string _CARRIER = "";//船公司
private string _FORWARDER = "";//订舱代理
private string _CUSTOMSER = "";//报关行
private string _TRUCKER = "";//承运车队
private string _BSSOURCE = "";//业务来源
private string _BSSOURCEDETAIL = "";//来源明细
private string _ORDTYPE = "";//订舱类型
private string _ORDERNO = "";//订舱编号
private string _CORPID = "";//分公司代码
private string _SALEDEPT = "";//所属业务部门
private string _MBLFRT = "";//MBL付费方式
private int _PKGS=0;//件数;eger
private Decimal _KGS=0;//毛重
private Decimal _CBM = 0;//尺码
private Decimal _NETWEIGHT = 0;//净重
private string _GOODSNAME = "";//品名
private string _TRADETYPE = "";//贸易方式
#endregion
#region 读写属性
/// <summary>
/// 业务编号
/// </summary>
public string BSNO {get{return _BSNO ;}set { _BSNO = value;}}
/// <summary>
/// 业务状态
/// </summary>
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
/// <summary>
/// 费用状态
/// </summary>
public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } }
/// <summary>
/// 录入日期
/// </summary>
public DateTime BSDATE {get{return _BSDATE ;}set { _BSDATE = value;}}
/// <summary>
/// 会计期间
/// </summary>
public string ACCDATE {get{return _ACCDATE ;}set { _ACCDATE = value;}}
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO {get{return _MBLNO ;}set { _MBLNO = value;}}
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO {get{return _HBLNO ;}set { _HBLNO = value;}}
/// <summary>
/// 委托编号
/// </summary>
public string CUSTNO {get{return _CUSTNO ;}set { _CUSTNO = value;}}
/// <summary>
/// 运单号
/// </summary>
public string TRANSNO {get{return _TRANSNO ;}set { _TRANSNO = value;}}
/// <summary>
/// 委托单位
/// </summary>
public string CUSTOMERNAME {get{return _CUSTOMERNAME ;}set { _CUSTOMERNAME = value;}}
/// <summary>
/// 装运方式
/// </summary>
public string BLTYPE {get{return _BLTYPE ;}set { _BLTYPE = value;}}
/// <summary>
/// 发货人
/// </summary>
public string SHIPPERID {get{return _SHIPPERID ;}set { _SHIPPERID = value;}}
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEEID {get{return _CONSIGNEEID ;}set { _CONSIGNEEID = value;}}
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTYID {get{return _NOTIFYPARTYID ;}set { _NOTIFYPARTYID = value;}}
/// <summary>
/// 国外代理
/// </summary>
public string AGENTID {get{return _AGENTID ;}set { _AGENTID = value;}}
/// <summary>
/// 场站
/// </summary>
public string YARD {get{return _YARD ;}set { _YARD = value;}}
/// <summary>
/// 船名
/// </summary>
public string VESSEL {get{return _VESSEL ;}set { _VESSEL = value;}}
/// <summary>
/// 航次
/// </summary>
public string VOYNO {get{return _VOYNO ;}set { _VOYNO = value;}}
/// <summary>
/// 开船日期
/// </summary>
public DateTime ETD {get{return _ETD ;}set { _ETD = value;}}
/// <summary>
/// 截港日期
/// </summary>
public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
public DateTime CLOSINGDATE { get { return _CLOSINGDATE; } set { _CLOSINGDATE = value; } }
/// <summary>
/// 预抵日期
/// </summary>
public DateTime ETA {get{return _ETA ;}set { _ETA = value;}}
public string PORTDISCHARGEID { get { return _PORTDISCHARGEID; } set { _PORTDISCHARGEID = value; } }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE {get{return _PORTDISCHARGE ;}set { _PORTDISCHARGE = value;}}
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT {get{return _BLFRT ;}set { _BLFRT = value;}}
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE {get{return _SERVICE ;}set { _SERVICE = value;}}
/// <summary>
/// 集装箱
/// </summary>
public string CNTRTOTAL {get{return _CNTRTOTAL ;}set { _CNTRTOTAL = value;}}
/// <summary>
/// 录入人
/// </summary>
public string INPUTBY {get{return _INPUTBY ;}set { _INPUTBY = value;}}
/// <summary>
/// 操作员
/// </summary>
public string OP {get{return _OP ;}set { _OP = value;}}
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE {get{return _CUSTSERVICE ;}set { _CUSTSERVICE = value;}}
/// <summary>
/// 航线
/// </summary>
public string LANE {get{return _LANE ;}set { _LANE = value;}}
/// <summary>
/// 揽货人
/// </summary>
public string SALE {get{return _SALE ;}set { _SALE = value;}}
/// <summary>
/// 船公司
/// </summary>
public string CARRIER {get{return _CARRIER ;}set { _CARRIER = value;}}
/// <summary>
/// 订舱代理
/// </summary>
public string FORWARDER {get{return _FORWARDER ;}set { _FORWARDER = value;}}
/// <summary>
/// 报关行
/// </summary>
public string CUSTOMSER {get{return _CUSTOMSER ;}set { _CUSTOMSER = value;}}
/// <summary>
/// 承运车队
/// </summary>
public string TRUCKER {get{return _TRUCKER ;}set { _TRUCKER = value;}}
/// <summary>
/// 业务来源
/// </summary>
public string BSSOURCE {get{return _BSSOURCE ;}set { _BSSOURCE = value;}}
/// <summary>
/// 来源明细
/// </summary>
public string BSSOURCEDETAIL {get{return _BSSOURCEDETAIL ;}set { _BSSOURCEDETAIL = value;}}
/// <summary>
/// 订舱类型
/// </summary>
public string ORDTYPE {get{return _ORDTYPE ;}set { _ORDTYPE = value;}}
/// <summary>
/// 订舱编号
/// </summary>
public string ORDERNO {get{return _ORDERNO ;}set { _ORDERNO = value;}}
public string CORPID {get{return _CORPID ;}set { _CORPID = value;}}
/// <summary>
/// 所属业务部门
/// </summary>
public string SALEDEPT {get{return _SALEDEPT ;}set { _SALEDEPT = value;}}
/// <summary>
/// MBL付费方式
/// </summary>
public string MBLFRT {get{return _MBLFRT ;}set { _MBLFRT = value;}}
public int PKGS { get { return _PKGS; } set { _PKGS = value; } }
/// <summary>
/// 毛重
/// </summary>
public Decimal KGS { get { return _KGS; } set { _KGS = value; } }
/// <summary>
/// 尺码
/// </summary>
public Decimal CBM { get { return _CBM; } set { _CBM = value; } }
/// <summary>
/// 净重
/// </summary>
public Decimal NETWEIGHT { get { return _NETWEIGHT; } set { _NETWEIGHT = value; } }
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } }
/// <summary>
/// 贸易方式
/// </summary>
public string TRADETYPE { get { return _TRADETYPE; } set { _TRADETYPE = value; } }
#endregion
public MsOpSeai()
{
TableName = "op_seai";
}
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
[JsonObject]
public class MsFeeUnit : ModelObjectBillBody
{
#region private Fields
private string _unit = String.Empty;
#endregion
#region Public Properties
public string UNIT { get; set; }
public decimal QUANTITY { get; set; }
#endregion
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
#region 参照部分
#endregion
}