using System;
using AutoMapper;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeae
{
[JsonObject]
public class MsOpSeaeDetail : ModelObjectBillBody
{
#region 读写属性
private string _GID = "";
///
/// GID
///
public string GID
{
get { return _GID; }
set { _GID = value; }
}
private string _ctn_id = "";
///
/// 编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private string _VGMCONNCOM = "";
[ModelDB]
public string VGMCONNCOM
{
get { return _VGMCONNCOM; }
set { _VGMCONNCOM = value; }
}
private string _BSNO = "";
///
/// 业务编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
private string _MASTERNO = "";
public string MASTERNO
{
get { return _MASTERNO; }
set { _MASTERNO = value; }
}
private string _ctncode = "";
///
/// 箱型代码
///
[ModelDB]
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private string _size = "";
///
/// 尺寸
///
[ModelDB]
public string SIZE
{
get { return _size; }
set { _size = value; }
}
private string _ctn = "";
///
/// 箱型
///
[ModelDB]
public string CTN
{
get { return _ctn; }
set { _ctn = value; }
}
private int _ctnnum = 0;
///
/// 箱量
///
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private int _teu = 0;
///
/// TEU
///
[ModelDB]
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _ctnall = "";
///
/// 表现形式
///
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private string _cntrno = "";
///
/// 箱号
///
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
///
/// 封号
///
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private int _pkgs = 0;
///
/// 件数
///
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
///
/// 重量
///
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
///
/// 尺码
///
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
///
/// KINDPKGS
///
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _tareweight = 0;
///
/// 箱皮重
///
[ModelDB]
public decimal TAREWEIGHT
{
get { return _tareweight; }
set { _tareweight = value; }
}
private string _goodsname = "";
///
/// GOODSNAME
///
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _WEIGHTYPE = "";
///
/// 称重方式
///
[ModelDB]
public string WEIGHTYPE
{
get { return _WEIGHTYPE; }
set { _WEIGHTYPE = value; }
}
private Decimal _WEIGHKGS = 0;
///
/// 称重重量
///
[ModelDB]
public Decimal WEIGHKGS
{
get { return _WEIGHKGS; }
set { _WEIGHKGS = value; }
}
private string _WEIGHATTN = "";
///
/// VGM联系人
///
[ModelDB]
public string WEIGHATTN
{
get { return _WEIGHATTN; }
set { _WEIGHATTN = value; }
}
private string _WEIGHTEL = "";
///
/// VGM联系人的联系方式
///
[ModelDB]
public string WEIGHTEL
{
get { return _WEIGHTEL; }
set { _WEIGHTEL = value; }
}
private string _VGMADDR = "";
///
/// VGM联系人的联系地址
///
[ModelDB]
public string VGMADDR
{
get { return _VGMADDR; }
set { _VGMADDR = value; }
}
private string _VGMEMAIL = "";
///
/// VGM联系人的联系邮箱
///
[ModelDB]
public string VGMEMAIL
{
get { return _VGMEMAIL; }
set { _VGMEMAIL = value; }
}
private string _ISTEMP = "";
///
/// 暂进或暂出
///
[ModelDB]
public string ISTEMP
{
get { return _ISTEMP; }
set { _ISTEMP = value; }
}
private string _WEIGHSIGN = "";
///
/// VGM联系人签名
///
[ModelDB]
public string WEIGHSIGN
{
get { return _WEIGHSIGN; }
set { _WEIGHSIGN = value; }
}
private string _WEIGHDATE = "";
///
/// VGM日期
///
[ModelDB]
public string WEIGHDATE
{
get { return _WEIGHDATE; }
set { _WEIGHDATE = value; }
}
private string _TIXIANGSHIJIAN= "";
///
/// 提箱时间
///
[ModelDB]
public string TIXIANGSHIJIAN
{
get { return _TIXIANGSHIJIAN; }
set { _TIXIANGSHIJIAN = value; }
}
private string _exitdoor = "";
public string EXITDOOR
{
get { return _exitdoor; }
set { _exitdoor = value; }
}
private string _enterdoor = "";
public string ENTERDOOR
{
get { return _enterdoor; }
set { _enterdoor = value; }
}
private string _ctnstatus= "";
public string CTNSTATUS
{
get { return _ctnstatus; }
set { _ctnstatus = value; }
}
private string _vessel = "";
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _mblno = "";
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
private string _truckno = "";
public string TRUCKNO
{
get { return _truckno; }
set { _truckno = value; }
}
private string _trucktype = "";
public string TRUCKTYPE
{
get { return _trucktype; }
set { _trucktype = value; }
}
private string _ONBORD = "";
public string ONBORD
{
get { return _ONBORD; }
set { _ONBORD = value; }
}
private string _ETD = "";
public string ETD
{
get { return _ETD; }
set { _ETD = value; }
}
private int _fenpkgs = 0;
///
/// 件数
///
public int FENPKGS
{
get { return _fenpkgs; }
set { _fenpkgs = value; }
}
private decimal _fenkgs = 0;
///
/// 重量
///
public decimal FENKGS
{
get { return _fenkgs; }
set { _fenkgs = value; }
}
private decimal _fencbm = 0;
///
/// 尺码
///
public decimal FENCBM
{
get { return _fencbm; }
set { _fencbm = value; }
}
private string _TRUCKER = "";
public string TRUCKER
{
get { return _TRUCKER; }
set { _TRUCKER = value; }
}
private string _FREESTORAGEDAY ="0";
///
///
public string FREESTORAGEDAY
{
get { return _FREESTORAGEDAY; }
set { _FREESTORAGEDAY = value; }
}
private string _STORAGEDAY ="0";
///
///
public string STORAGEDAY
{
get { return _STORAGEDAY; }
set { _STORAGEDAY = value; }
}
private string _FREECTNDAY = "0";
///
///
public string FREECTNDAY
{
get { return _FREECTNDAY; }
set { _FREECTNDAY = value; }
}
private string _CTNDAY = "0";
///
///
public string CTNDAY
{
get { return _CTNDAY; }
set { _CTNDAY = value; }
}
private string _TRUCKFEE = "0";
///
///
public string TRUCKFEE
{
get { return _TRUCKFEE; }
set { _TRUCKFEE = value; }
}
private string _STORAGEPRICE = "0";
///
///
public string STORAGEPRICE
{
get { return _STORAGEPRICE; }
set { _STORAGEPRICE = value; }
}
private string _STORAGEFEE = "0";
///
///
public string STORAGEFEE
{
get { return _STORAGEFEE; }
set { _STORAGEFEE = value; }
}
private string _CTNPRICE = "0";
///
///
public string CTNPRICE
{
get { return _CTNPRICE; }
set { _CTNPRICE = value; }
}
private string _CTNFEE = "0";
///
///
public string CTNFEE
{
get { return _CTNFEE; }
set { _CTNFEE = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public long? DJYCTNID { get; set; }
#endregion
public MsOpSeaeDetail()
{
TableName = "op_ctn";
}
public override string GetBillNoFieldName()
{
return "BSNO";
}
//public static MsOpSeaeDetail Copy(MsOpSeaeDetail model)
//{
// return Mapper.Map(model);
//}
}
public class MsOpSeaeFenCtn : ModelObjectBillBody
{
#region 读写属性
private string _GID = "";
public string GID
{
get { return _GID; }
set { _GID = value; }
}
private string _ctn_id = "";
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private string _BSNO = "";
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
private string _MASTERNO = "";
public string MASTERNO
{
get { return _MASTERNO; }
set { _MASTERNO = value; }
}
private string _ctncode = "";
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private string _size = "";
public string SIZE
{
get { return _size; }
set { _size = value; }
}
private string _ctn = "";
public string CTN
{
get { return _ctn; }
set { _ctn = value; }
}
private int _ctnnum = 0;
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private int _teu = 0;
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _ctnall = "";
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private string _cntrno = "";
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private int _pkgs = 0;
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private string _goodsname = "";
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _MBLNO = "";
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
private string _HBLNO = "";
public string HBLNO
{
get { return _HBLNO; }
set { _HBLNO = value; }
}
private string _description = "";
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _cargoid = "";
public string CARGOID
{
get { return _cargoid; }
set { _cargoid = value; }
}
#endregion
}
[JsonObject]
public class MsOpCtnDetail : ModelObjectBillBody
{
#region 读写属性
private string _gid = "";
///
/// GID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _ctn_id = "";
///
/// CTN_ID
///
[ModelDB]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private int _pkgs = 0;
///
/// 件数
///
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
///
/// 件数包装
///
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _kgs = 0;
///
/// 重量
///
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
///
/// 尺码
///
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _hscode = "";
///
/// HS编码
///
[ModelDB]
public string HSCODE
{
get { return _hscode; }
set { _hscode = value; }
}
private string _description = "";
///
/// 货物描述
///
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _marks = "";
///
/// 唛头
///
[ModelDB]
public string MARKS
{
get { return _marks; }
set { _marks = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _CNTRNO = "";
///
/// 箱号
///
public string CNTRNO
{
get { return _CNTRNO; }
set { _CNTRNO = value; }
}
private string _CTNALL = "";
///
/// CTNALL
///
public string CTNALL
{
get { return _CTNALL; }
set { _CTNALL = value; }
}
#endregion
public MsOpCtnDetail()
{
TableName = "op_ctn_detail";
}
}
[JsonObject]
public class MsOpSeaeManifest : ModelObjectBillBody
{
#region 读写属性
private string _GID = "";
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
private string _BSNO = "";
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
private string _MBLNO = "";
[ModelDB]
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
private string _cntrno = "";
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private decimal _pkgs = 0;
[ModelDB]
public decimal PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private string _description = "";
///
/// 货物描述
///
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
public MsOpSeaeManifest()
{
TableName = "op_manifest";
}
#endregion
}
[JsonObject]
public class MsOpSeaeImpField : ModelObjectBillBody
{
#region 读写属性
private string _BSNO= "";
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
public bool ISSHIPPER { get; set; }
public bool ISCONSIGNEE { get; set; }
public bool ISNOTIFYPARTY { get; set; }
public bool ISETD { get; set; }
public bool ISETA { get; set; }
public bool ISVESSEL { get; set; }
public bool ISVOYNO { get; set; }
public bool ISPORTLOAD { get; set; }
public bool ISPORTDISCHARGE { get; set; }
public bool ISDESTINATION { get; set; }
public bool ISPLACEDELIVERY { get; set; }
public bool ISSERVICE { get; set; }
public bool ISISSUETYPE { get; set; }
public bool ISNOBILL { get; set; }
public bool ISISSUEDATE { get; set; }
public bool ISISSUEPLACE { get; set; }
public bool ISBLFRT { get; set; }
public bool ISPREPARDAT { get; set; }
public bool ISHSCODE { get; set; }
public bool ISPAYABLEAT { get; set; }
public bool ISMARKS { get; set; }
public bool ISDESCRIPTION { get; set; }
public bool ISPKGS { get; set; }
public bool ISKINDPKGS { get; set; }
public bool ISKGS { get; set; }
public bool ISCBM { get; set; }
public bool ISTOTALNO { get; set; }
public bool ISREMARK { get; set; }
public bool ISCTN { get; set; }
public bool ISREEFERF { get; set; }
public bool ISTEMPSET { get; set; }
public bool ISTEMPID { get; set; }
public bool ISTEMPMIN { get; set; }
public bool ISTEMPMAX { get; set; }
public bool ISDCLASS { get; set; }
public bool ISDUNNO { get; set; }
public bool ISDPAGE { get; set; }
public bool ISDLABEL { get; set; }
public bool ISLINKMAN { get; set; }
public bool ISMNOTIFYPARTY { get; set; }
#endregion
}
public class JsonMsOpSeaeDetail
{
public System.Collections.Generic.List message { get; set; }
public string status { get; set; }
}
//
}