using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsSeaeOrder { [JsonObject] public class MsSeaeOrderCtn : ModelObjectBillBody { #region 读写属性 private string _ctn_id = ""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string CTN_ID { get { return _ctn_id; } set { _ctn_id = value; } } private string _ORDNO = ""; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string ORDNO { get { return _ORDNO; } set { _ORDNO = value; } } private int _ctnnum = 0; /// /// 箱量 /// [ModelDB] public int CTNNUM { get { return _ctnnum; } set { _ctnnum = value; } } private string _ctnall = ""; /// /// 表现形式 /// [ModelDB] public string CTNALL { get { return _ctnall; } set { _ctnall = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } private decimal? _KGS = 0; /// /// 箱量 /// [ModelDB] public decimal? KGS { get { return _KGS; } set { _KGS = value; } } #endregion public MsSeaeOrderCtn() { TableName = "crm_seaeorderctn"; } } [JsonObject] public class MsOpSeaeWebOrderCtn : ModelObjectBillBody { #region 读写属性 private string _GID = ""; /// /// GID /// [ModelDB] 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 _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 string _ctnexhibit = ""; public string CTNEXHIBIT { get { return _ctnexhibit; } set { _ctnexhibit = 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; /// /// TAREWEIGHT /// [ModelDB] public decimal TAREWEIGHT { get { return _tareweight; } set { _tareweight = value; } } #endregion public MsOpSeaeWebOrderCtn() { TableName = "BookingCargoContainer"; } } [JsonObject] public class MsSeaeOrderStatus : ModelObjectBillBody { #region 读写属性 private string _statusid = ""; public string STATUS_ID { get { return _statusid; } set { _statusid = value; } } private string _statusstr = ""; /// /// 表现形式 /// public string STATUSSTR { get { return _statusstr; } set { _statusstr = value; } } #endregion } #region 参照部分 public class MsOpSeaiDetailRefMsOpSeai { public string BSNO { get; set; } } #endregion }