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/MsOpSeae/MsOpSeaeDetail.cs

1081 lines
25 KiB
C#

2 years ago
using System;
using AutoMapper;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeae
{
[JsonObject]
public class MsOpSeaeDetail : ModelObjectBillBody
{
#region 读写属性
private string _GID = "";
/// <summary>
/// GID
/// </summary>
public string GID
{
get { return _GID; }
set { _GID = value; }
}
private string _ctn_id = "";
/// <summary>
/// 编号
/// </summary>
[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 = "";
/// <summary>
/// 业务编号
/// </summary>
[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 = "";
/// <summary>
/// 箱型代码
/// </summary>
[ModelDB]
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private string _size = "";
/// <summary>
/// 尺寸
/// </summary>
[ModelDB]
public string SIZE
{
get { return _size; }
set { _size = value; }
}
private string _ctn = "";
/// <summary>
/// 箱型
/// </summary>
[ModelDB]
public string CTN
{
get { return _ctn; }
set { _ctn = value; }
}
private int _ctnnum = 0;
/// <summary>
/// 箱量
/// </summary>
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private int _teu = 0;
/// <summary>
/// TEU
/// </summary>
[ModelDB]
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _ctnall = "";
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private string _cntrno = "";
/// <summary>
/// 箱号
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
/// <summary>
/// 封号
/// </summary>
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 重量
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
/// <summary>
/// KINDPKGS
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _tareweight = 0;
/// <summary>
/// 箱皮重
/// </summary>
[ModelDB]
public decimal TAREWEIGHT
{
get { return _tareweight; }
set { _tareweight = value; }
}
private string _goodsname = "";
/// <summary>
/// GOODSNAME
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private string _WEIGHTYPE = "";
/// <summary>
/// 称重方式
/// </summary>
[ModelDB]
public string WEIGHTYPE
{
get { return _WEIGHTYPE; }
set { _WEIGHTYPE = value; }
}
private Decimal _WEIGHKGS = 0;
/// <summary>
/// 称重重量
/// </summary>
[ModelDB]
public Decimal WEIGHKGS
{
get { return _WEIGHKGS; }
set { _WEIGHKGS = value; }
}
12 months ago
2 years ago
private string _WEIGHATTN = "";
/// <summary>
/// VGM联系人
/// </summary>
[ModelDB]
public string WEIGHATTN
{
get { return _WEIGHATTN; }
set { _WEIGHATTN = value; }
}
private string _WEIGHTEL = "";
/// <summary>
/// VGM联系人的联系方式
/// </summary>
[ModelDB]
public string WEIGHTEL
{
get { return _WEIGHTEL; }
set { _WEIGHTEL = value; }
}
private string _VGMADDR = "";
/// <summary>
/// VGM联系人的联系地址
/// </summary>
[ModelDB]
public string VGMADDR
{
get { return _VGMADDR; }
set { _VGMADDR = value; }
}
private string _VGMEMAIL = "";
/// <summary>
/// VGM联系人的联系邮箱
/// </summary>
[ModelDB]
public string VGMEMAIL
{
get { return _VGMEMAIL; }
set { _VGMEMAIL = value; }
}
private string _ISTEMP = "";
/// <summary>
/// 暂进或暂出
/// </summary>
[ModelDB]
public string ISTEMP
{
get { return _ISTEMP; }
set { _ISTEMP = value; }
}
private string _WEIGHSIGN = "";
/// <summary>
/// VGM联系人签名
/// </summary>
[ModelDB]
public string WEIGHSIGN
{
get { return _WEIGHSIGN; }
set { _WEIGHSIGN = value; }
}
private string _WEIGHDATE = "";
/// <summary>
/// VGM日期
/// </summary>
[ModelDB]
public string WEIGHDATE
{
get { return _WEIGHDATE; }
set { _WEIGHDATE = value; }
}
12 months ago
private string _TIXIANGSHIJIAN = "";
2 years ago
/// <summary>
/// 提箱时间
/// </summary>
[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; }
}
12 months ago
private string _ctnstatus = "";
2 years ago
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;
/// <summary>
/// 件数
/// </summary>
public int FENPKGS
{
get { return _fenpkgs; }
set { _fenpkgs = value; }
}
private decimal _fenkgs = 0;
/// <summary>
/// 重量
/// </summary>
public decimal FENKGS
{
get { return _fenkgs; }
set { _fenkgs = value; }
}
private decimal _fencbm = 0;
/// <summary>
/// 尺码
/// </summary>
public decimal FENCBM
{
get { return _fencbm; }
set { _fencbm = value; }
}
private string _TRUCKER = "";
public string TRUCKER
{
get { return _TRUCKER; }
set { _TRUCKER = value; }
}
12 months ago
private string _FREESTORAGEDAY = "0";
2 years ago
/// <summary>
/// </summary>
public string FREESTORAGEDAY
{
get { return _FREESTORAGEDAY; }
set { _FREESTORAGEDAY = value; }
}
12 months ago
private string _STORAGEDAY = "0";
2 years ago
/// <summary>
/// </summary>
public string STORAGEDAY
{
get { return _STORAGEDAY; }
set { _STORAGEDAY = value; }
}
private string _FREECTNDAY = "0";
/// <summary>
/// </summary>
public string FREECTNDAY
{
get { return _FREECTNDAY; }
set { _FREECTNDAY = value; }
}
private string _CTNDAY = "0";
/// <summary>
/// </summary>
public string CTNDAY
{
get { return _CTNDAY; }
set { _CTNDAY = value; }
}
private string _TRUCKFEE = "0";
/// <summary>
/// </summary>
public string TRUCKFEE
{
get { return _TRUCKFEE; }
set { _TRUCKFEE = value; }
}
private string _STORAGEPRICE = "0";
/// <summary>
/// </summary>
public string STORAGEPRICE
{
get { return _STORAGEPRICE; }
set { _STORAGEPRICE = value; }
}
private string _STORAGEFEE = "0";
/// <summary>
/// </summary>
public string STORAGEFEE
{
get { return _STORAGEFEE; }
set { _STORAGEFEE = value; }
}
private string _CTNPRICE = "0";
/// <summary>
/// </summary>
public string CTNPRICE
{
get { return _CTNPRICE; }
set { _CTNPRICE = value; }
}
private string _CTNFEE = "0";
/// <summary>
/// </summary>
public string CTNFEE
{
get { return _CTNFEE; }
set { _CTNFEE = value; }
}
2 years ago
public string PCTN_ID { get; set; }
12 months ago
12 months ago
public string sub_bno { get; set; }
public string bno { get; set; }
12 months ago
12 months ago
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public long? DJYCTNID { get; set; }
2 years ago
#endregion
public MsOpSeaeDetail()
{
TableName = "op_ctn";
}
public override string GetBillNoFieldName()
{
return "BSNO";
}
//public static MsOpSeaeDetail Copy(MsOpSeaeDetail model)
//{
// return Mapper.Map<MsOpSeaeDetail>(model);
//}
}
12 months ago
2 years ago
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; }
12 months ago
}
2 years ago
#endregion
}
[JsonObject]
public class MsOpCtnDetail : ModelObjectBillBody
{
#region 读写属性
private string _gid = "";
/// <summary>
/// GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _ctn_id = "";
/// <summary>
/// CTN_ID
/// </summary>
[ModelDB]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get { return _kindpkgs; }
set { _kindpkgs = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 重量
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _hscode = "";
/// <summary>
/// HS编码
/// </summary>
[ModelDB]
public string HSCODE
{
get { return _hscode; }
set { _hscode = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
[ModelDB]
public string MARKS
{
get { return _marks; }
set { _marks = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _CNTRNO = "";
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO
{
get { return _CNTRNO; }
set { _CNTRNO = value; }
}
private string _CTNALL = "";
/// <summary>
/// CTNALL
/// </summary>
public string CTNALL
{
get { return _CTNALL; }
set { _CTNALL = value; }
}
#endregion
public MsOpCtnDetail()
{
TableName = "op_ctn_detail";
}
}
12 months ago
[JsonObject]
2 years ago
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 = "";
12 months ago
[ModelDB]
2 years ago
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 = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
public MsOpSeaeManifest()
{
TableName = "op_manifest";
}
12 months ago
2 years ago
#endregion
}
12 months ago
[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; }
2 years ago
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<MsOpSeaeDetail> message { get; set; }
public string status { get; set; }
}
12 months ago
public class JsonMsOpSeaeHblDetail
{
public string msg { get; set; }
public string code { get; set; }
public System.Collections.Generic.List<MsOpSeaeDetail> data { get; set; }
}
public class JsonReQueryMsOpSeaeHblDetail
{
public string user_key { get; set; }
public string user_secret { get; set; }
public string web_user { get; set; }
public string web_psw { get; set; }
public string bno { get; set; }
public string web_code { get; set; }
public string customer_id { get; set; }
public string customer_name { get; set; }
public int req_type { get; set; }
1 year ago
12 months ago
}
1 year ago
public class VgmData_list
{
/// <summary>
///
/// </summary>
public string booking_no { get; set; }
/// <summary>
///
/// </summary>
public string container_no { get; set; }
/// <summary>
///
/// </summary>
public string weight_type { get; set; }
/// <summary>
///
/// </summary>
public string unit { get; set; }
/// <summary>
///
/// </summary>
public string weight { get; set; }
/// <summary>
///
/// </summary>
public string signatory { get; set; }
/// <summary>
///
/// </summary>
public string reference_id { get; set; }
/// <summary>
///
/// </summary>
public string e_mail_notification { get; set; }
}
2 years ago
//
}