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/MsOpAire/MsOpAireBill.cs

912 lines
20 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpAireBill
{
[JsonObject]
public class MsOpAireBill : ModelObjectBillHead
{
#region 读写属性
private string _as_id =Guid.NewGuid().ToString();
/// <summary>
/// 编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string AS_ID
{
get { return _as_id; }
set { _as_id = value; }
}
private string _bsno ="" ;
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO
{
get{ return _bsno; }
set{ _bsno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
[ModelDB]
public string MBLNO
{
get{ return _mblno; }
set{ _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string HBLNO
{
get{ return _hblno; }
set{ _hblno = value; }
}
private string _template = "";
/// <summary>
/// 模板类型
/// </summary>
[ModelDB]
public string TEMPLATE
{
get { return _template; }
set { _template = value; }
}
private string _billtype = "";
/// <summary>
/// 提单类型
/// </summary>
[ModelDB]
public string BILLTYPE
{
get { return _billtype; }
set { _billtype = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get{ return _inputby; }
set{ _inputby = value; }
}
private string _shipperid = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERID
{
get { return _shipperid; }
set { _shipperid = value; }
}
private string _consigneeid = "";
/// <summary>
/// 收货人
/// </summary>
[ModelDB]
public string CONSIGNEEID
{
get { return _consigneeid; }
set { _consigneeid = value; }
}
private string _notifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTYID
{
get { return _notifypartyid; }
set { _notifypartyid = value; }
}
private string _shipper = "";
/// <summary>
/// 发货人内容
/// </summary>
[ModelDB]
public string SHIPPER
{
get { return _shipper; }
set { _shipper = value; }
}
private string _consignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string CONSIGNEE
{
get { return _consignee; }
set { _consignee = value; }
}
private string _notifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
[ModelDB]
public string NOTIFYPARTY
{
get { return _notifyparty; }
set { _notifyparty = value; }
}
private string _agentid = "";
/// <summary>
/// 国外代理
/// </summary>
[ModelDB]
public string AGENTID
{
get { return _agentid; }
set { _agentid = value; }
}
private string _agent = "";
/// <summary>
/// 国外代理内容
/// </summary>
[ModelDB]
public string AGENT
{
get { return _agent; }
set { _agent = value; }
}
private string _vessel = "";
/// <summary>
/// 船名
/// </summary>
[ModelDB]
public string VESSEL
{
get{ return _vessel; }
set{ _vessel = value; }
}
private string _etd;
/// <summary>
/// 开船日期
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _eta;
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _portloadid = "";
/// <summary>
/// 装货港代码
/// </summary>
[ModelDB]
public string PORTLOADID
{
get{ return _portloadid; }
set{ _portloadid = value; }
}
private string _portload = "";
/// <summary>
/// 装货港
/// </summary>
[ModelDB]
public string PORTLOAD
{
get{ return _portload; }
set{ _portload = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港代码
/// </summary>
[ModelDB]
public string PORTDISCHARGEID
{
get{ return _portdischargeid; }
set{ _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get{ return _portdischarge; }
set{ _portdischarge = value; }
}
private string _issueby = "";
/// <summary>
/// 签单人
/// </summary>
[ModelDB]
public string ISSUEBY
{
get { return _issueby; }
set { _issueby = value; }
}
private string _issuedate;
/// <summary>
/// 签单日期
/// </summary>
[ModelDB]
public string ISSUEDATE
{
get { return _issuedate; }
set { _issuedate = value; }
}
private string _issueplace = "";
/// <summary>
/// 签单地点
/// </summary>
[ModelDB]
public string ISSUEPLACE
{
get { return _issueplace; }
set { _issueplace = value; }
}
private string _blfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string BLFRT
{
get { return _blfrt; }
set { _blfrt = value; }
}
private string _otfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string OTFRT
{
get { return _otfrt; }
set { _otfrt = value; }
}
private string _airlines = "";
/// <summary>
/// </summary>
[ModelDB]
public string AIRLINES
{
get { return _airlines; }
set { _airlines = value; }
}
private string _iatano = "";
/// <summary>
/// </summary>
[ModelDB]
public string IATANO
{
get { return _iatano; }
set { _iatano = value; }
}
private string _accountcode = "";
/// <summary>
/// </summary>
[ModelDB]
public string ACCOUNTCODE
{
get { return _accountcode; }
set { _accountcode = value; }
}
private string _accountinfo = "";
/// <summary>
/// </summary>
[ModelDB]
public string ACCOUNTINFO
{
get { return _accountinfo; }
set { _accountinfo = value; }
}
private string _handinginfo = "";
/// <summary>
/// </summary>
[ModelDB]
public string HANDINGINFO
{
get { return _handinginfo; }
set { _handinginfo = value; }
}
private string _curr = "";
/// <summary>
/// 币别
/// </summary>
[ModelDB]
public string CURR
{
get { return _curr; }
set { _curr = value; }
}
private string _transtatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string TRANSTATEMENT
{
get { return _transtatement; }
set { _transtatement = value; }
}
private string _customstatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string CUSTOMSTATEMENT
{
get { return _customstatement; }
set { _customstatement = value; }
}
private string _insuranceer = "";
/// <summary>
/// </summary>
[ModelDB]
public string INAMOUNT
{
get { return _insuranceer; }
set { _insuranceer = value; }
}
private string _class = "";
/// <summary>
/// 等级
/// </summary>
[ModelDB]
public string CLASS
{
get { return _class; }
set { _class = value; }
}
private string _feekgs ="0";
/// <summary>
/// </summary>
[ModelDB]
public string FEEKGS
{
get { return _feekgs; }
set { _feekgs = value; }
}
private string _price ="0";
/// <summary>
/// </summary>
[ModelDB]
public string PRICE
{
get { return _price; }
set { _price = value; }
}
private string _ttlfreight ="0";
/// <summary>
/// </summary>
[ModelDB]
public string TTLFREIGHT
{
get { return _ttlfreight; }
set { _ttlfreight = value; }
}
private string _totalamount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string TOTALAMOUNT
{
get { return _totalamount; }
set { _totalamount = value; }
}
private string _otfee = "";
/// <summary>
/// 其他费用
/// </summary>
[ModelDB]
public string OTFEE
{
get { return _otfee; }
set { _otfee = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
[ModelDB]
public string MARKS
{
get{ return _marks; }
set{ _marks = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get{ return _description; }
set{ _description = value; }
}
private string _pkgs = "0";
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public string PKGS
{
get{ return _pkgs; }
set{ _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get{ return _kindpkgs; }
set{ _kindpkgs = value; }
}
private string _unit = "";
/// <summary>
/// 单位
/// </summary>
[ModelDB]
public string UNIT
{
get { return _unit; }
set { _unit = value; }
}
private string _cbm = "0";
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public string CBM
{
get{ return _cbm; }
set{ _cbm = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _kgs = "0";
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public string KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private string _pfreight = "";
/// <summary>
/// </summary>
[ModelDB]
public string PFREIGHT
{
get { return _pfreight; }
set { _pfreight = value; }
}
private string _cfreight = "";
/// <summary>
/// </summary>
[ModelDB]
public string CFREIGHT
{
get { return _cfreight; }
set { _cfreight = value; }
}
private string _pstatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string PSTATEMENT
{
get { return _pstatement; }
set { _pstatement = value; }
}
private string _cstatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string CSTATEMENT
{
get { return _cstatement; }
set { _cstatement = value; }
}
private string _ptax= "";
/// <summary>
/// </summary>
[ModelDB]
public string PTAX
{
get { return _ptax; }
set { _ptax = value; }
}
private string _ctax = "";
/// <summary>
/// </summary>
[ModelDB]
public string CTAX
{
get { return _ctax; }
set { _ctax = value; }
}
private string _pOTFREIGHT = "";
/// <summary>
/// </summary>
[ModelDB]
public string POTFREIGHT
{
get { return _pOTFREIGHT; }
set { _pOTFREIGHT = value; }
}
private string _cOTFREIGHT = "";
/// <summary>
/// </summary>
[ModelDB]
public string COTFREIGHT
{
get { return _cOTFREIGHT; }
set { _cOTFREIGHT = value; }
}
private string _pCARRIEROT = "";
/// <summary>
/// </summary>
[ModelDB]
public string PCARRIEROT
{
get { return _pCARRIEROT; }
set { _pCARRIEROT = value; }
}
private string _cCARRIEROT = "";
/// <summary>
/// </summary>
[ModelDB]
public string CCARRIEROT
{
get { return _cCARRIEROT; }
set { _cCARRIEROT = value; }
}
private string _pTOTAL = "";
/// <summary>
/// </summary>
[ModelDB]
public string PTOTAL
{
get { return _pTOTAL; }
set { _pTOTAL = value; }
}
private string _cTOTAL = "";
/// <summary>
/// </summary>
[ModelDB]
public string CTOTAL
{
get { return _cTOTAL; }
set { _cTOTAL = value; }
}
private string _otfee1 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE1
{
get { return _otfee1; }
set { _otfee1 = value; }
}
private string _otfee1amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE1AMOUNT
{
get { return _otfee1amount; }
set { _otfee1amount = value; }
}
private string _otfee2 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE2
{
get { return _otfee2; }
set { _otfee2 = value; }
}
private string _otfee2amount = "0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE2AMOUNT
{
get { return _otfee2amount; }
set { _otfee2amount = value; }
}
private string _otfee3 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE3
{
get { return _otfee3; }
set { _otfee3 = value; }
}
private string _otfee3amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE3AMOUNT
{
get { return _otfee3amount; }
set { _otfee3amount = value; }
}
private string _otfee4 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE4
{
get { return _otfee4; }
set { _otfee4 = value; }
}
private string _otfee4amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE4AMOUNT
{
get { return _otfee4amount; }
set { _otfee4amount = value; }
}
private string _otfee5 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE5
{
get { return _otfee5; }
set { _otfee5 = value; }
}
private string _otfee5amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE5AMOUNT
{
get { return _otfee5amount; }
set { _otfee5amount = value; }
}
private string _otfee6 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE6
{
get { return _otfee6; }
set { _otfee6 = value; }
}
private string _otfee6amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE6AMOUNT
{
get { return _otfee6amount; }
set { _otfee6amount = value; }
}
private string _otfee7 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE7
{
get { return _otfee7; }
set { _otfee7= value; }
}
private string _otfee7amount ="0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE7AMOUNT
{
get { return _otfee7amount; }
set { _otfee7amount = value; }
}
private string _otfee8 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE8
{
get { return _otfee8; }
set { _otfee8 = value; }
}
private string _otfee8amount = "0";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE8AMOUNT
{
get { return _otfee8amount; }
set { _otfee8amount = value; }
}
private string _REMARK = "";
/// <summary>
/// </summary>
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
private string _custvalue = "";
/// <summary>
/// 申报价
/// </summary>
[ModelDB]
public string CUSTVALUE
{
get { return _custvalue; }
set { _custvalue = value; }
}
private string _customvalue = "";
/// <summary>
/// 海关申报价
/// </summary>
[ModelDB]
public string CUSTOMVALUE
{
get { return _customvalue; }
set { _customvalue = value; }
}
private string _MODIFYTIME = "";
[ModelDB]
public string MODIFYTIME
{
get { return _MODIFYTIME; }
set { _MODIFYTIME = value; }
}
private string _MODIFYUSER = "";
[ModelDB]
public string MODIFYUSER
{
get { return _MODIFYUSER; }
set { _MODIFYUSER = value; }
}
private string _INPUTTIME = "";
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
#endregion
public MsOpAireBill()
{
TableName = "op_aire_bill";
}
override public string GetBillNoFieldName()
{
return "AS_ID";
}
}
//
}