using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcContainer.Models.MsOpCtnApply
{
[JsonObject]
public class OpCtnApply : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _BSNO;//
private string _BSDATE;//
private string _SALE;//
private string _BSSTATUS;
private string _OP;//
private string _GOODSNAME;//
private string _GOODTYPE;//
private string _PORTLOAD;//
private string _PORTDISCHARGE;//
private string _CTNALL;
private int _CTNNUM;
private bool _ISOWNERBOOKING;
private bool _ISPORTLOADDATE;
private string _CUSTOMERNAME;//
private string _FACTORYNAME;
private string _FACTORYADDR;
private string _PLANCTNDATE;
private string _REMARKS;
private string _INPUTBY;
private string _INPUTBYREF;
private string _CTNNUMS;
private string _INPUTTIME;
private bool _ISGOODSNAMESAME;
private string _PREGOODSNAME;
private string _CURGOODSNAME;
private string _PRODUCTGOODSNAME;
private string _PH;
private string _DENSITY;
private string _UNNO;
private string _DCLASS;
private string _SDCLASS;
private string _PACKINGGROUP;//
private bool _ISPOLLUTEOCEAN;//
private string _MELTINGPOINT;
private string _BOILINGPOINT;
private string _FLASHPOINT;
private string _IMDG;
private string _SUBMITBY;
private string _SUBMITBYREF;
private string _SUBMITTIME;
private string _AUDITSTATUS="未提交";
private string _AUDITBY;
private string _AUDITBYREF;
private string _AUDITTIME;
private string _AUDITRESULT;
private string _AGENTINPUTBY;
private decimal _CYCLEDAYS;
private decimal _CHANGERATE;
private decimal _FULL_CTN_FREE_STORAGE_DAY;
private decimal _FULL_CTN_OVER_STORAGE_RATE;
private decimal _CLEAR_CTN_FREE_STORAGE_DAY;
private decimal _CLEAR_CTN_OVER_STORAGE_RATE;
private decimal _NO_CLEAR_CTN_FREE_STORAGE_DAY;
private decimal _NO_CLEAR_CTN_OVER_STORAGE_RATE;
private decimal _CTN_PRICE;
private string _CURRENCY;
private decimal _CTN_INCOME;
private decimal _LOAD_FREE_USECTNE_DAY;
private decimal _LOAD_OVER_USECTNE_RATE;
private decimal _DEST_FREE_USECTNE_DAY;
private decimal _DEST_OVER_USECTNE_RATE;
private decimal _SLOAD_FREE_USECTNE_DAY;
private decimal _SLOAD_OVER_USECTNE_RATE;
private decimal _SDEST_FREE_USECTNE_DAY;
private decimal _SDEST_OVER_USECTNE_RATE;
private string _COSTAUDITSTATUS="未提交";
private string _COSTAUDITBY;
private string _COSTAUDITBYREF;
private string _COSTAUDITTIME;
private string _COSTSUBMITBY;
private string _COSTSUBMITBYREF;
private string _COSTSUBMITTIME;
private string _COSTAUDITRESULT;
private string _MNGAUDITSTATUS = "未提交";
private string _MNGAUDITBY;
private string _MNGAUDITBYREF;
private string _MNGAUDITTIME;
private string _AGENTNAME;
private string _ACCAUDITSTATUS = "未审核";
private string _ACCAUDITBY;
private string _ACCAUDITBYREF;
private string _ACCAUDITTIME;
private string _ACCAUDITRESULT;
private string _BSAUDITSTATUS = "未审核";
private string _BSAUDITBY;
private string _BSAUDITBYREF;
private string _BSAUDITTIME;
private string _BSAUDITRESULT;
private string _COMPANYID;
private string _ADDCTNSTATUS;
private string _DESTPORT_STATOIN;//目的港还箱堆场 对应 op_ctnbscard的同名字段 目的港场站
private string _SERVICE;//运输条款
private bool _NEEDBEHEATED;//是否加热
private decimal _WEIGHT=0;//重量
private string _PREI_ETD;//预计开船日期
private string _OWNERCTN;
private bool _EMPTYCTNALLOCATION;//空箱调拨
#endregion
public OpCtnApply()
{
TableName = "op_ctnapply";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string BSDATE
{
get { return _BSDATE; }
set { _BSDATE = value; }
}
[ModelDB]
public string SALE
{
get { return _SALE; }
set { _SALE = value; }
}
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string GOODSNAME
{
get { return _GOODSNAME; }
set { _GOODSNAME = value; }
}
[ModelDB]
public string GOODTYPE
{
get { return _GOODTYPE; }
set { _GOODTYPE = value; }
}
[ModelDB]
public string PORTLOAD
{
get { return _PORTLOAD; }
set { _PORTLOAD = value; }
}
[ModelDB]
public string PORTDISCHARGE
{
get { return _PORTDISCHARGE; }
set { _PORTDISCHARGE = value; }
}
[ModelDB]
public string CTNALL
{
get { return _CTNALL; }
set { _CTNALL = value; }
}
[ModelDB]
public string OWNERCTN
{
get { return _OWNERCTN; }
set { _OWNERCTN = value; }
}
[ModelDB]
public int CTNNUM
{
get { return _CTNNUM; }
set { _CTNNUM = value; }
}
[ModelDB]
public bool ISOWNERBOOKING
{
get { return _ISOWNERBOOKING; }
set { _ISOWNERBOOKING = value; }
}
[ModelDB]
public bool ISPORTLOADDATE
{
get { return _ISPORTLOADDATE; }
set { _ISPORTLOADDATE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string FACTORYNAME
{
get { return _FACTORYNAME; }
set { _FACTORYNAME = value; }
}
[ModelDB]
public string FACTORYADDR
{
get { return _FACTORYADDR; }
set { _FACTORYADDR = value; }
}
[ModelDB]
public string PLANCTNDATE
{
get { return _PLANCTNDATE; }
set { _PLANCTNDATE = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
public string CTNNUMS
{
get { return _CTNNUMS; }
set { _CTNNUMS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
public bool ISGOODSNAMESAME
{
get { return _ISGOODSNAMESAME; }
set { _ISGOODSNAMESAME = value; }
}
public string PREGOODSNAME
{
get { return _PREGOODSNAME; }
set { _PREGOODSNAME = value; }
}
public string CURGOODSNAME
{
get { return _CURGOODSNAME; }
set { _CURGOODSNAME = value; }
}
public string PRODUCTGOODSNAME
{
get { return _PRODUCTGOODSNAME; }
set { _PRODUCTGOODSNAME = value; }
}
public string PH
{
get { return _PH; }
set { _PH = value; }
}
public string DENSITY
{
get { return _DENSITY; }
set { _DENSITY = value; }
}
public string UNNO
{
get { return _UNNO; }
set { _UNNO = value; }
}
public string DCLASS
{
get { return _DCLASS; }
set { _DCLASS = value; }
}
public string SDCLASS
{
get { return _SDCLASS; }
set { _SDCLASS = value; }
}
public string PACKINGGROUP
{
get { return _PACKINGGROUP; }
set { _PACKINGGROUP = value; }
}
public bool ISPOLLUTEOCEAN
{
get { return _ISPOLLUTEOCEAN; }
set { _ISPOLLUTEOCEAN = value; }
}
public string MELTINGPOINT
{
get { return _MELTINGPOINT; }
set { _MELTINGPOINT = value; }
}
public string BOILINGPOINT
{
get { return _BOILINGPOINT; }
set { _BOILINGPOINT = value; }
}
public string FLASHPOINT
{
get { return _FLASHPOINT; }
set { _FLASHPOINT = value; }
}
public string IMDG
{
get { return _IMDG; }
set { _IMDG = value; }
}
public string SUBMITBY
{
get { return _SUBMITBY; }
set { _SUBMITBY = value; }
}
public string SUBMITBYREF
{
get { return _SUBMITBYREF; }
set { _SUBMITBYREF = value; }
}
public string SUBMITTIME
{
get { return _SUBMITTIME; }
set { _SUBMITTIME = value; }
}
public string AUDITSTATUS
{
get { return _AUDITSTATUS; }
set { _AUDITSTATUS = value; }
}
public string AUDITBY
{
get { return _AUDITBY; }
set { _AUDITBY = value; }
}
public string AUDITBYREF
{
get { return _AUDITBYREF; }
set { _AUDITBYREF = value; }
}
public string AUDITTIME
{
get { return _AUDITTIME; }
set { _AUDITTIME = value; }
}
public string AUDITRESULT
{
get { return _AUDITRESULT; }
set { _AUDITRESULT = value; }
}
public string AGENTINPUTBY
{
get { return _AGENTINPUTBY; }
set { _AGENTINPUTBY = value; }
}
public decimal CYCLEDAYS
{
get { return _CYCLEDAYS; }
set { _CYCLEDAYS = value; }
}
public decimal CHANGERATE
{
get { return _CHANGERATE; }
set { _CHANGERATE = value; }
}
public decimal FULL_CTN_FREE_STORAGE_DAY
{
get { return _FULL_CTN_FREE_STORAGE_DAY; }
set { _FULL_CTN_FREE_STORAGE_DAY = value; }
}
public decimal FULL_CTN_OVER_STORAGE_RATE
{
get { return _FULL_CTN_OVER_STORAGE_RATE; }
set { _FULL_CTN_OVER_STORAGE_RATE = value; }
}
public decimal CLEAR_CTN_FREE_STORAGE_DAY
{
get { return _CLEAR_CTN_FREE_STORAGE_DAY; }
set { _CLEAR_CTN_FREE_STORAGE_DAY = value; }
}
public decimal CLEAR_CTN_OVER_STORAGE_RATE
{
get { return _CLEAR_CTN_OVER_STORAGE_RATE; }
set { _CLEAR_CTN_OVER_STORAGE_RATE = value; }
}
public decimal NO_CLEAR_CTN_FREE_STORAGE_DAY
{
get { return _NO_CLEAR_CTN_FREE_STORAGE_DAY; }
set { _NO_CLEAR_CTN_FREE_STORAGE_DAY = value; }
}
public decimal NO_CLEAR_CTN_OVER_STORAGE_RATE
{
get { return _NO_CLEAR_CTN_OVER_STORAGE_RATE; }
set { _NO_CLEAR_CTN_OVER_STORAGE_RATE = value; }
}
public decimal CTN_PRICE
{
get { return _CTN_PRICE; }
set { _CTN_PRICE = value; }
}
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
public decimal CTN_INCOME
{
get { return _CTN_INCOME; }
set { _CTN_INCOME = value; }
}
public decimal LOAD_FREE_USECTNE_DAY
{
get { return _LOAD_FREE_USECTNE_DAY; }
set { _LOAD_FREE_USECTNE_DAY = value; }
}
public decimal LOAD_OVER_USECTNE_RATE
{
get { return _LOAD_OVER_USECTNE_RATE; }
set { _LOAD_OVER_USECTNE_RATE = value; }
}
public decimal DEST_FREE_USECTNE_DAY
{
get { return _DEST_FREE_USECTNE_DAY; }
set { _DEST_FREE_USECTNE_DAY = value; }
}
public decimal DEST_OVER_USECTNE_RATE
{
get { return _DEST_OVER_USECTNE_RATE; }
set { _DEST_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public decimal SLOAD_FREE_USECTNE_DAY
{
get { return _SLOAD_FREE_USECTNE_DAY; }
set { _SLOAD_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal SLOAD_OVER_USECTNE_RATE
{
get { return _SLOAD_OVER_USECTNE_RATE; }
set { _SLOAD_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public decimal SDEST_FREE_USECTNE_DAY
{
get { return _SDEST_FREE_USECTNE_DAY; }
set { _SDEST_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal SDEST_OVER_USECTNE_RATE
{
get { return _SDEST_OVER_USECTNE_RATE; }
set { _SDEST_OVER_USECTNE_RATE = value; }
}
///
/// 目的港还箱场站
///
[ModelDB]
public string DESTPORT_STATOIN
{
get { return _DESTPORT_STATOIN; }
set { _DESTPORT_STATOIN = value; }
}
///
/// 运输条款
///
[ModelDB]
public string SERVICE
{
get { return _SERVICE; }
set { _SERVICE = value; }
}
///
/// 是否加热
///
[ModelDB]
public bool NEEDBEHEATED
{
get { return _NEEDBEHEATED; }
set { _NEEDBEHEATED = value; }
}
///
/// 重量
///
[ModelDB]
public decimal WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
///
/// 预计开船日期
///
[ModelDB]
public string PREI_ETD
{
get { return _PREI_ETD; }
set { _PREI_ETD = value; }
}
///
/// 空箱调拨
///
[ModelDB]
public bool EMPTYCTNALLOCATION
{
get { return _EMPTYCTNALLOCATION; }
set { _EMPTYCTNALLOCATION = value; }
}
private decimal _COSTRMB=0;
public decimal COSTRMB
{
get { return _COSTRMB; }
set { _COSTRMB = value; }
}
private decimal _COSTUSD=0;
public decimal COSTUSD
{
get { return _COSTUSD; }
set { _COSTUSD = value; }
}
private decimal _COSTTTL=0;
public decimal COSTTTL
{
get { return _COSTTTL; }
set { _COSTTTL = value; }
}
public string COSTAUDITSTATUS
{
get { return _COSTAUDITSTATUS; }
set { _COSTAUDITSTATUS = value; }
}
public string COSTAUDITBY
{
get { return _COSTAUDITBY; }
set { _COSTAUDITBY = value; }
}
public string COSTAUDITBYREF
{
get { return _COSTAUDITBYREF; }
set { _COSTAUDITBYREF = value; }
}
public string COSTAUDITTIME
{
get { return _COSTAUDITTIME; }
set { _COSTAUDITTIME = value; }
}
public string COSTSUBMITBY
{
get { return _COSTSUBMITBY; }
set { _COSTSUBMITBY = value; }
}
public string COSTSUBMITBYREF
{
get { return _COSTSUBMITBYREF; }
set { _COSTSUBMITBYREF = value; }
}
public string COSTSUBMITTIME
{
get { return _COSTSUBMITTIME; }
set { _COSTSUBMITTIME = value; }
}
public string COSTAUDITRESULT
{
get { return _COSTAUDITRESULT; }
set { _COSTAUDITRESULT = value; }
}
public string ACCAUDITSTATUS
{
get { return _ACCAUDITSTATUS; }
set { _ACCAUDITSTATUS = value; }
}
public string ACCAUDITBY
{
get { return _ACCAUDITBY; }
set { _ACCAUDITBY = value; }
}
public string ACCAUDITBYREF
{
get { return _ACCAUDITBYREF; }
set { _ACCAUDITBYREF = value; }
}
public string ACCAUDITTIME
{
get { return _ACCAUDITTIME; }
set { _ACCAUDITTIME = value; }
}
public string ACCAUDITRESULT
{
get { return _ACCAUDITRESULT; }
set { _ACCAUDITRESULT = value; }
}
public string BSAUDITSTATUS
{
get { return _BSAUDITSTATUS; }
set { _BSAUDITSTATUS = value; }
}
public string ADDCTNSTATUS
{
get { return _ADDCTNSTATUS; }
set { _ADDCTNSTATUS = value; }
}
public string BSAUDITBY
{
get { return _BSAUDITBY; }
set { _BSAUDITBY = value; }
}
public string BSAUDITBYREF
{
get { return _BSAUDITBYREF; }
set { _BSAUDITBYREF = value; }
}
public string BSAUDITTIME
{
get { return _BSAUDITTIME; }
set { _BSAUDITTIME = value; }
}
public string BSAUDITRESULT
{
get { return _BSAUDITRESULT; }
set { _BSAUDITRESULT = value; }
}
///
/// 货物名称(含英文简称)
///
public string GOODSNAMEREF { get; set; }
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public string MNGAUDITSTATUS
{
get { return _MNGAUDITSTATUS; }
set { _MNGAUDITSTATUS = value; }
}
public string MNGAUDITBY
{
get { return _MNGAUDITBY; }
set { _MNGAUDITBY = value; }
}
public string MNGAUDITBYREF
{
get { return _MNGAUDITBYREF; }
set { _MNGAUDITBYREF = value; }
}
public string MNGAUDITTIME
{
get { return _MNGAUDITTIME; }
set { _MNGAUDITTIME = value; }
}
public string AGENTNAME
{
get { return _AGENTNAME; }
set { _AGENTNAME = value; }
}
string _MNGAUDITRESULT = "";
public string MNGAUDITRESULT
{
get { return _MNGAUDITRESULT; }
set { _MNGAUDITRESULT = value; }
}
#endregion
}
[JsonObject]
public class OpCtnApplyCostitems : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private int _ITEMSNO = 0;
private string _PRICETYPE = "";
private string _FEENAME = "";
private string _UNIT = "";
private decimal _UNITPRICE =0;
private string _CURRENCY = "";
private decimal _QUANTITY = 0;
private decimal _AMOUNT = 0;
private decimal _EXCHANGERATE = 0;
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _AUDITSTATUS;
private string _AUDITBY;
private string _AUDITTIME;
private string _AUDITRESULT;
private string _REMARKS;
private string _customerName = String.Empty;
private string _GOODSNAME;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public int ITEMSNO
{
get { return _ITEMSNO; }
set { _ITEMSNO = value; }
}
[ModelDB]
public string PRICETYPE
{
get { return _PRICETYPE; }
set { _PRICETYPE = value; }
}
[ModelDB]
public string FEENAME
{
get { return _FEENAME; }
set { _FEENAME = value; }
}
[ModelDB]
public string UNIT
{
get { return _UNIT; }
set { _UNIT = value; }
}
[ModelDB]
public decimal UNITPRICE
{
get { return _UNITPRICE; }
set { _UNITPRICE = value; }
}
[ModelDB]
public decimal QUANTITY
{
get { return _QUANTITY; }
set { _QUANTITY = value; }
}
[ModelDB]
public decimal AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public decimal EXCHANGERATE
{
get { return _EXCHANGERATE; }
set { _EXCHANGERATE = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
public string AUDITSTATUS
{
get { return _AUDITSTATUS; }
set { _AUDITSTATUS = value; }
}
public string AUDITBY
{
get { return _AUDITBY; }
set { _AUDITBY = value; }
}
public string AUDITTIME
{
get { return _AUDITTIME; }
set { _AUDITTIME = value; }
}
public string AUDITRESULT
{
get { return _AUDITRESULT; }
set { _AUDITRESULT = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _customerName; }
set { _customerName = value; }
}
[ModelDB]
public string GOODSNAME
{
get { return _GOODSNAME; }
set { _GOODSNAME = value; }
}
#endregion
public OpCtnApplyCostitems()
{
TableName = "op_ctnapplycostitems";
}
}
[JsonObject]
public class OpCtnApplySaleitems : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private int _ITEMSNO = 0;
private string _ITEMNAME = "";
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _REMARKS;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public int ITEMSNO
{
get { return _ITEMSNO; }
set { _ITEMSNO = value; }
}
[ModelDB]
public string ITEMNAME
{
get { return _ITEMNAME; }
set { _ITEMNAME = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
#endregion
public OpCtnApplySaleitems()
{
TableName = "op_ctnapplysalesitems";
}
}
[JsonObject]
public class OpCtnApplyCtnitems : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private int _ITEMSNO = 0;
private string _CTNNO = "";
private string _CTNPROP = "";
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _REMARKS;
private string _AUDITSTATUS="录入";
private string _AUDITBY;
private string _AUDITTIME;
private string _AUDITRESULT;
private string _INSPECTION_EXPIRE_DATE;
private string _INSURANCE_EXPIRE_DATE;
private string _OWNERCTN;
private string _CURPORT;
private string _CURSTATOIN;
private string _TANKVOLUMN;
private string _PREGOODNAME;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public int ITEMSNO
{
get { return _ITEMSNO; }
set { _ITEMSNO = value; }
}
[ModelDB]
public string CTNNO
{
get { return _CTNNO; }
set { _CTNNO = value; }
}
public string CTNPROP
{
get { return _CTNPROP; }
set { _CTNPROP = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
public string AUDITSTATUS
{
get { return _AUDITSTATUS; }
set { _AUDITSTATUS = value; }
}
public string AUDITBY
{
get { return _AUDITBY; }
set { _AUDITBY = value; }
}
public string AUDITTIME
{
get { return _AUDITTIME; }
set { _AUDITTIME = value; }
}
public string AUDITRESULT
{
get { return _AUDITRESULT; }
set { _AUDITRESULT = value; }
}
public string INSPECTION_EXPIRE_DATE
{
get { return _INSPECTION_EXPIRE_DATE; }
set { _INSPECTION_EXPIRE_DATE = value; }
}
public string INSURANCE_EXPIRE_DATE
{
get { return _INSURANCE_EXPIRE_DATE; }
set { _INSURANCE_EXPIRE_DATE = value; }
}
public string OWNERCTN
{
get { return _OWNERCTN; }
set { _OWNERCTN = value; }
}
public string CURPORT
{
get { return _CURPORT; }
set { _CURPORT = value; }
}
public string CURSTATOIN
{
get { return _CURSTATOIN; }
set { _CURSTATOIN = value; }
}
public string TANKVOLUMN
{
get { return _TANKVOLUMN; }
set { _TANKVOLUMN = value; }
}
public string PREGOODNAME
{
get { return _PREGOODNAME; }
set { _PREGOODNAME = value; }
}
#endregion
public OpCtnApplyCtnitems()
{
TableName = "op_ctnapplyctnitems";
}
}
[JsonObject]
public class OpCtnApplyModify : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _APPLYID;//
private string _MODIFYTYPE;//
private string _BSNO;//
private string _BSDATE;//
private string _SALE;//
private string _MDSTATUS;
private string _OP;//
private string _GOODSNAME;//
private string _GOODTYPE;//
private string _PORTLOAD;//
private string _PORTDISCHARGE;//
private string _CTNALL;
private int _CTNNUM;
private bool _ISOWNERBOOKING;
private bool _ISPORTLOADDATE;
private string _CUSTOMERNAME;//
private string _FACTORYNAME;
private string _FACTORYADDR;
private string _PLANCTNDATE;
private string _REMARKS;
private string _INPUTBY;
private string _INPUTBYREF;
private string _CTNNUMS;
private string _INPUTTIME;
private bool _ISGOODSNAMESAME;
private string _PREGOODSNAME;
private string _CURGOODSNAME;
private string _PRODUCTGOODSNAME;
private string _PH;
private string _DENSITY;
private string _UNNO;
private string _DCLASS;
private string _SDCLASS;
private string _PACKINGGROUP;//
private bool _ISPOLLUTEOCEAN;//
private string _MELTINGPOINT;
private string _BOILINGPOINT;
private string _FLASHPOINT;
private string _IMDG;
private string _AUDITSTATUS = "未提交";
private string _AUDITBY;
private string _AUDITBYREF;
private string _AUDITTIME;
private string _AUDITRESULT;
private string _AGENTINPUTBY;
private decimal _CYCLEDAYS;
private decimal _CHANGERATE;
private decimal _FULL_CTN_FREE_STORAGE_DAY;
private decimal _FULL_CTN_OVER_STORAGE_RATE;
private decimal _CLEAR_CTN_FREE_STORAGE_DAY;
private decimal _CLEAR_CTN_OVER_STORAGE_RATE;
private decimal _NO_CLEAR_CTN_FREE_STORAGE_DAY;
private decimal _NO_CLEAR_CTN_OVER_STORAGE_RATE;
private decimal _CTN_PRICE;
private string _CURRENCY;
private decimal _CTN_INCOME;
private decimal _LOAD_FREE_USECTNE_DAY;
private decimal _LOAD_OVER_USECTNE_RATE;
private decimal _DEST_FREE_USECTNE_DAY;
private decimal _DEST_OVER_USECTNE_RATE;
private decimal _SLOAD_FREE_USECTNE_DAY;
private decimal _SLOAD_OVER_USECTNE_RATE;
private decimal _SDEST_FREE_USECTNE_DAY;
private decimal _SDEST_OVER_USECTNE_RATE;
private string _COMPANYID;
private string _AGENTNAME;
private string _REASON;
private string _DESTPORT_STATOIN;//目的港还箱堆场 对应 op_ctnbscard的同名字段 目的港场站
private string _SERVICE;//运输条款
private bool _NEEDBEHEATED;//是否加热
private decimal _WEIGHT = 0;//重量
private string _PREI_ETD;//预计开船日期
private bool _EMPTYCTNALLOCATION;//空箱调拨
#endregion
public OpCtnApplyModify()
{
TableName = "op_ctnapply_modify";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string APPLYID
{
get { return _APPLYID; }
set { _APPLYID = value; }
}
[ModelDB]
public string MODIFYTYPE
{
get { return _MODIFYTYPE; }
set { _MODIFYTYPE = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string BSDATE
{
get { return _BSDATE; }
set { _BSDATE = value; }
}
[ModelDB]
public string SALE
{
get { return _SALE; }
set { _SALE = value; }
}
[ModelDB]
public string MDSTATUS
{
get { return _MDSTATUS; }
set { _MDSTATUS = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string GOODSNAME
{
get { return _GOODSNAME; }
set { _GOODSNAME = value; }
}
[ModelDB]
public string GOODTYPE
{
get { return _GOODTYPE; }
set { _GOODTYPE = value; }
}
[ModelDB]
public string PORTLOAD
{
get { return _PORTLOAD; }
set { _PORTLOAD = value; }
}
[ModelDB]
public string PORTDISCHARGE
{
get { return _PORTDISCHARGE; }
set { _PORTDISCHARGE = value; }
}
[ModelDB]
public string CTNALL
{
get { return _CTNALL; }
set { _CTNALL = value; }
}
[ModelDB]
public int CTNNUM
{
get { return _CTNNUM; }
set { _CTNNUM = value; }
}
[ModelDB]
public bool ISOWNERBOOKING
{
get { return _ISOWNERBOOKING; }
set { _ISOWNERBOOKING = value; }
}
[ModelDB]
public bool ISPORTLOADDATE
{
get { return _ISPORTLOADDATE; }
set { _ISPORTLOADDATE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string FACTORYNAME
{
get { return _FACTORYNAME; }
set { _FACTORYNAME = value; }
}
[ModelDB]
public string FACTORYADDR
{
get { return _FACTORYADDR; }
set { _FACTORYADDR = value; }
}
[ModelDB]
public string PLANCTNDATE
{
get { return _PLANCTNDATE; }
set { _PLANCTNDATE = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
public string CTNNUMS
{
get { return _CTNNUMS; }
set { _CTNNUMS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
public bool ISGOODSNAMESAME
{
get { return _ISGOODSNAMESAME; }
set { _ISGOODSNAMESAME = value; }
}
public string PREGOODSNAME
{
get { return _PREGOODSNAME; }
set { _PREGOODSNAME = value; }
}
public string CURGOODSNAME
{
get { return _CURGOODSNAME; }
set { _CURGOODSNAME = value; }
}
public string PRODUCTGOODSNAME
{
get { return _PRODUCTGOODSNAME; }
set { _PRODUCTGOODSNAME = value; }
}
public string PH
{
get { return _PH; }
set { _PH = value; }
}
public string DENSITY
{
get { return _DENSITY; }
set { _DENSITY = value; }
}
public string UNNO
{
get { return _UNNO; }
set { _UNNO = value; }
}
public string DCLASS
{
get { return _DCLASS; }
set { _DCLASS = value; }
}
public string SDCLASS
{
get { return _SDCLASS; }
set { _SDCLASS = value; }
}
public string PACKINGGROUP
{
get { return _PACKINGGROUP; }
set { _PACKINGGROUP = value; }
}
public bool ISPOLLUTEOCEAN
{
get { return _ISPOLLUTEOCEAN; }
set { _ISPOLLUTEOCEAN = value; }
}
public string MELTINGPOINT
{
get { return _MELTINGPOINT; }
set { _MELTINGPOINT = value; }
}
public string BOILINGPOINT
{
get { return _BOILINGPOINT; }
set { _BOILINGPOINT = value; }
}
public string FLASHPOINT
{
get { return _FLASHPOINT; }
set { _FLASHPOINT = value; }
}
public string IMDG
{
get { return _IMDG; }
set { _IMDG = value; }
}
public string AUDITSTATUS
{
get { return _AUDITSTATUS; }
set { _AUDITSTATUS = value; }
}
public string AUDITBY
{
get { return _AUDITBY; }
set { _AUDITBY = value; }
}
public string AUDITBYREF
{
get { return _AUDITBYREF; }
set { _AUDITBYREF = value; }
}
public string AUDITTIME
{
get { return _AUDITTIME; }
set { _AUDITTIME = value; }
}
public string AUDITRESULT
{
get { return _AUDITRESULT; }
set { _AUDITRESULT = value; }
}
[ModelDB]
public string AGENTINPUTBY
{
get { return _AGENTINPUTBY; }
set { _AGENTINPUTBY = value; }
}
[ModelDB]
public decimal CYCLEDAYS
{
get { return _CYCLEDAYS; }
set { _CYCLEDAYS = value; }
}
[ModelDB]
public decimal CHANGERATE
{
get { return _CHANGERATE; }
set { _CHANGERATE = value; }
}
[ModelDB]
public decimal FULL_CTN_FREE_STORAGE_DAY
{
get { return _FULL_CTN_FREE_STORAGE_DAY; }
set { _FULL_CTN_FREE_STORAGE_DAY = value; }
}
[ModelDB]
public decimal FULL_CTN_OVER_STORAGE_RATE
{
get { return _FULL_CTN_OVER_STORAGE_RATE; }
set { _FULL_CTN_OVER_STORAGE_RATE = value; }
}
[ModelDB]
public decimal CLEAR_CTN_FREE_STORAGE_DAY
{
get { return _CLEAR_CTN_FREE_STORAGE_DAY; }
set { _CLEAR_CTN_FREE_STORAGE_DAY = value; }
}
[ModelDB]
public decimal CLEAR_CTN_OVER_STORAGE_RATE
{
get { return _CLEAR_CTN_OVER_STORAGE_RATE; }
set { _CLEAR_CTN_OVER_STORAGE_RATE = value; }
}
[ModelDB]
public decimal NO_CLEAR_CTN_FREE_STORAGE_DAY
{
get { return _NO_CLEAR_CTN_FREE_STORAGE_DAY; }
set { _NO_CLEAR_CTN_FREE_STORAGE_DAY = value; }
}
[ModelDB]
public decimal NO_CLEAR_CTN_OVER_STORAGE_RATE
{
get { return _NO_CLEAR_CTN_OVER_STORAGE_RATE; }
set { _NO_CLEAR_CTN_OVER_STORAGE_RATE = value; }
}
[ModelDB]
public decimal CTN_PRICE
{
get { return _CTN_PRICE; }
set { _CTN_PRICE = value; }
}
[ModelDB]
public string CURRENCY
{
get { return _CURRENCY; }
set { _CURRENCY = value; }
}
[ModelDB]
public decimal CTN_INCOME
{
get { return _CTN_INCOME; }
set { _CTN_INCOME = value; }
}
[ModelDB]
public decimal LOAD_FREE_USECTNE_DAY
{
get { return _LOAD_FREE_USECTNE_DAY; }
set { _LOAD_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal LOAD_OVER_USECTNE_RATE
{
get { return _LOAD_OVER_USECTNE_RATE; }
set { _LOAD_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public decimal DEST_FREE_USECTNE_DAY
{
get { return _DEST_FREE_USECTNE_DAY; }
set { _DEST_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal DEST_OVER_USECTNE_RATE
{
get { return _DEST_OVER_USECTNE_RATE; }
set { _DEST_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public decimal SLOAD_FREE_USECTNE_DAY
{
get { return _SLOAD_FREE_USECTNE_DAY; }
set { _SLOAD_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal SLOAD_OVER_USECTNE_RATE
{
get { return _SLOAD_OVER_USECTNE_RATE; }
set { _SLOAD_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public decimal SDEST_FREE_USECTNE_DAY
{
get { return _SDEST_FREE_USECTNE_DAY; }
set { _SDEST_FREE_USECTNE_DAY = value; }
}
[ModelDB]
public decimal SDEST_OVER_USECTNE_RATE
{
get { return _SDEST_OVER_USECTNE_RATE; }
set { _SDEST_OVER_USECTNE_RATE = value; }
}
[ModelDB]
public string AGENTNAME
{
get { return _AGENTNAME; }
set { _AGENTNAME = value; }
}
[ModelDB]
public string REASON
{
get { return _REASON; }
set { _REASON = value; }
}
///
/// 目的港还箱场站
///
[ModelDB]
public string DESTPORT_STATOIN
{
get { return _DESTPORT_STATOIN; }
set { _DESTPORT_STATOIN = value; }
}
///
/// 运输条款
///
[ModelDB]
public string SERVICE
{
get { return _SERVICE; }
set { _SERVICE = value; }
}
///
/// 是否加热
///
[ModelDB]
public bool NEEDBEHEATED
{
get { return _NEEDBEHEATED; }
set { _NEEDBEHEATED = value; }
}
///
/// 重量
///
[ModelDB]
public decimal WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
///
/// 预计开船日期
///
[ModelDB]
public string PREI_ETD
{
get { return _PREI_ETD; }
set { _PREI_ETD = value; }
}
///
/// 空箱调拨
///
[ModelDB]
public bool EMPTYCTNALLOCATION
{
get { return _EMPTYCTNALLOCATION; }
set { _EMPTYCTNALLOCATION = value; }
}
private decimal _COSTRMB = 0;
public decimal COSTRMB
{
get { return _COSTRMB; }
set { _COSTRMB = value; }
}
private decimal _COSTUSD = 0;
public decimal COSTUSD
{
get { return _COSTUSD; }
set { _COSTUSD = value; }
}
private decimal _COSTTTL = 0;
public decimal COSTTTL
{
get { return _COSTTTL; }
set { _COSTTTL = value; }
}
#endregion
}
}