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.

411 lines
9.0 KiB
C#

11 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeai
{
/// <summary>
/// 海运进口的集装箱
/// </summary>
[JsonObject]
public class MsOpSeaiDetail : ModelObjectBillBody
{
#region 读写属性
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 _BSNO = "";
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = 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>
/// TAREWEIGHT
/// </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 _TRUCKER = "";
public string TRUCKER
{
get { return _TRUCKER; }
set { _TRUCKER = value; }
}
private string _TRUCKNO= "";
public string TRUCKNO
{
get { return _TRUCKNO; }
set { _TRUCKNO = 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 _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; }
}
private string _ctnstatus = "";
public string CTNSTATUS
{
get { return _ctnstatus; }
set { _ctnstatus = value; }
}
/// <summary>
/// 码头信息
/// </summary>
private string _MTMC = "";
[ModelDB]
public string MTMC
{
get { return _MTMC; }
set { _MTMC = value; }
}
/// <summary>
/// 卸船时间
/// </summary>
private string _SJRGSJ = "";
[ModelDB]
public string SJRGSJ
{
get { return _SJRGSJ; }
set { _SJRGSJ = value; }
}
/// <summary>
/// 出港时间
/// </summary>
private string _SJCGSJ = "";
[ModelDB]
public string SJCGSJ
{
get { return _SJCGSJ; }
set { _SJCGSJ = value; }
}
/// <summary>
/// 入库时间
/// </summary>
private string _WMSDATE = "";
[ModelDB]
public string WMSDATE
{
get { return _WMSDATE; }
set { _WMSDATE = value; }
}
/// <summary>
/// 是否入库
/// </summary>
private string _ISWMS = "";
[ModelDB]
public string ISWMS
{
get { return _ISWMS; }
set { _ISWMS = value; }
}
/// <summary>
/// 储位
/// </summary>
private string _AREANAME = "";
[ModelDB]
public string AREANAME
{
get { return _AREANAME; }
set { _AREANAME = value; }
}
/// <summary>
/// 暂进
/// </summary>
private string _ISTEMP = "";
[ModelDB]
public string ISTEMP
{
get { return _ISTEMP; }
set { _ISTEMP = value; }
}
private string _TIXIANGSHIJIAN = "";
[ModelDB]
public string TIXIANGSHIJIAN
{
get { return _TIXIANGSHIJIAN; }
set { _TIXIANGSHIJIAN = value; }
}
#endregion
public MsOpSeaiDetail()
{
TableName = "op_ctn";
}
}
#region 参照部分
public class MsOpSeaiDetailRefMsOpSeai
{
public string BSNO { get; set; }
}
#endregion
#region 提单箱导入EXCEL
public class MsOpCtrnExcel
{
public string NO { get; set; }
public string MBLNO { get; set; }
public string WMSDate { get; set; }
public string CtrnNo { get; set; }
public string Pkgs { get; set; }
public string Kgs { get; set; }
public string AreaName { get; set; }
public string INVOICENO { get; set; }
public string GOODSMODEL{ get; set; }
public string BZTCHNO { get; set; }
public string PRODUCTIONDATE { get; set; }
public string KINDPKGS { get; set; }
public MsOpCtrnExcel()
{
CtrnNo = "";
Pkgs = "0";
Kgs = "0";
WMSDate = "";
MBLNO = "";
AreaName = "";
INVOICENO = "";
GOODSMODEL = "";
BZTCHNO = "";
PRODUCTIONDATE = "";
KINDPKGS = "";
}
}
#endregion
}