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/MsOpApply/MsOpApplyDetail.cs

890 lines
21 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpApply
{
[JsonObject]
public class MsOpApplyDetail : ModelObjectBillBody
{
#region private Fields
private string _BsNo = "*";
private decimal _serialNo = 0;
private string _goodscode = String.Empty;
private string _goodsname = String.Empty;
private decimal _pkgs = 0;
private decimal _price = 0;
private decimal _total = 0;
private string _currency = String.Empty;
private string _remark = String.Empty;
private string _WMSNO = String.Empty;
private string _PICINO = String.Empty;
private string _PONO = String.Empty;
private string _WMSIN_GID = String.Empty;
private string _GOODSMODEL = String.Empty;
private string _GOODSSTANDARD = String.Empty;
private string _KINDPKGS = String.Empty;
private string _kgs = "0";
private decimal _GOODSNUM = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BsNo
{
get { return _BsNo; }
set { _BsNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = value; }
}
[ModelDB]
public string GoodsCode
{
get { return _goodscode; }
set { _goodscode = value; }
}
[ModelDB]
public string GoodsName
{
get { return _goodsname; }
set { _goodsname = value; }
}
[ModelDB]
public decimal Pkgs
{
get { return _pkgs; }
set { _pkgs = value; }
}
[ModelDB]
public decimal Price
{
get { return _price; }
set { _price = value; }
}
[ModelDB]
public decimal Total
{
get { return _total; }
set { _total = value; }
}
[ModelDB]
public string Currency
{
get { return _currency; }
set { _currency = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string WMSNO
{
get { return _WMSNO; }
set { _WMSNO = value; }
}
[ModelDB]
public string PICINO
{
get { return _PICINO; }
set { _PICINO = value; }
}
[ModelDB]
public string PONO
{
get { return _PONO; }
set { _PONO = value; }
}
[ModelDB]
public string WMSIN_GID
{
get { return _WMSIN_GID; }
set { _WMSIN_GID = value; }
}
[ModelDB]
public string GOODSMODEL
{
get { return _GOODSMODEL; }
set { _GOODSMODEL = value; }
}
[ModelDB]
public string GOODSSTANDARD
{
get { return _GOODSSTANDARD; }
set { _GOODSSTANDARD = value; }
}
[ModelDB]
public string KINDPKGS
{
get { return _KINDPKGS; }
set { _KINDPKGS = value; }
}
[ModelDB]
public string KGS
{
get { return _kgs; }
set { _kgs = value; }
}
[ModelDB]
public decimal GOODSNUM
{
get { return _GOODSNUM; }
set { _GOODSNUM = value; }
}
private decimal _NOAPPLYNUM = 0;
public decimal NOAPPLYNUM
{
get { return _NOAPPLYNUM; }
set { _NOAPPLYNUM = value; }
}
#endregion
//public override string GetBillNoFieldName() {
// return "BsNo";
//}
public MsOpApplyDetail()
{
TableName = "op_apply_detail";
}
}
public class MsOpApplyFeeService : ModelObjectBillBody
{
#region private Fields
private string _IsSERVICEFEE1 ="0";
private string _IsSERVICEFEE2 = "0";
private string _IsSERVICEFEE3 = "0";
private string _IsSERVICEFEE4 = "0";
private string _IsSERVICEFEE5 = "0";
private string _IsSERVICEFEE6 = "0";
private string _IsSERVICEFEE7 = "0";
private string _IsSERVICEFEE8 = "0";
private string _IsSERVICEFEE9 = "0";
private string _IsSERVICEFEE10 = "0";
private string _IsSERVICEFEE11 = "0";
private string _IsSERVICEFEE12 = "0";
private string _IsSERVICEFEE13 = "0";
private string _IsSERVICEFEE14 = "0";
private string _IsSERVICEFEE15 = "0";
private string _IsSERVICEFEE16 = "0";
private string _IsSERVICE1 = "0";
private string _IsSERVICE2 = "0";
private string _IsSERVICE3 = "0";
private string _IsSERVICE4 = "0";
private string _IsSERVICE5 = "0";
private string _IsSERVICE6 = "0";
private string _IsSERVICE7 = "0";
private string _IsSERVICE8 = "0";
private string _IsSERVICE9 = "0";
private string _IsSERVICE10 = "0";
private string _IsSERVICE11 = "0";
private string _IsSERVICE12 = "0";
private string _IsSERVICE13 = "0";
private string _IsSERVICE14 = "0";
private string _IsSERVICE15 = "0";
private string _IsSERVICE16 = "0";
#endregion
#region Public Properties
public string IsSERVICEFEE1
{
get { return _IsSERVICEFEE1; }
set { _IsSERVICEFEE1 = value; }
}
public string IsSERVICEFEE2
{
get { return _IsSERVICEFEE2; }
set { _IsSERVICEFEE2 = value; }
}
public string IsSERVICEFEE3
{
get { return _IsSERVICEFEE3; }
set { _IsSERVICEFEE3 = value; }
}
public string IsSERVICEFEE4
{
get { return _IsSERVICEFEE4; }
set { _IsSERVICEFEE4 = value; }
}
public string IsSERVICEFEE5
{
get { return _IsSERVICEFEE5; }
set { _IsSERVICEFEE5 = value; }
}
public string IsSERVICEFEE6
{
get { return _IsSERVICEFEE6; }
set { _IsSERVICEFEE6 = value; }
}
public string IsSERVICEFEE7
{
get { return _IsSERVICEFEE7; }
set { _IsSERVICEFEE7 = value; }
}
public string IsSERVICEFEE8
{
get { return _IsSERVICEFEE8; }
set { _IsSERVICEFEE8 = value; }
}
public string IsSERVICEFEE9
{
get { return _IsSERVICEFEE9; }
set { _IsSERVICEFEE9 = value; }
}
public string IsSERVICEFEE10
{
get { return _IsSERVICEFEE10; }
set { _IsSERVICEFEE10 = value; }
}
public string IsSERVICEFEE11
{
get { return _IsSERVICEFEE11; }
set { _IsSERVICEFEE11= value; }
}
public string IsSERVICEFEE12
{
get { return _IsSERVICEFEE12; }
set { _IsSERVICEFEE12= value; }
}
public string IsSERVICEFEE13
{
get { return _IsSERVICEFEE13; }
set { _IsSERVICEFEE13 = value; }
}
public string IsSERVICEFEE14
{
get { return _IsSERVICEFEE14; }
set { _IsSERVICEFEE14 = value; }
}
public string IsSERVICEFEE15
{
get { return _IsSERVICEFEE15; }
set { _IsSERVICEFEE15 = value; }
}
public string IsSERVICEFEE16
{
get { return _IsSERVICEFEE16; }
set { _IsSERVICEFEE16= value; }
}
public string IsSERVICE1
{
get { return _IsSERVICE1; }
set { _IsSERVICE1 = value; }
}
public string IsSERVICE2
{
get { return _IsSERVICE2; }
set { _IsSERVICE2 = value; }
}
public string IsSERVICE3
{
get { return _IsSERVICE3; }
set { _IsSERVICE3 = value; }
}
public string IsSERVICE4
{
get { return _IsSERVICE4; }
set { _IsSERVICE4 = value; }
}
public string IsSERVICE5
{
get { return _IsSERVICE5; }
set { _IsSERVICE5 = value; }
}
public string IsSERVICE6
{
get { return _IsSERVICE6; }
set { _IsSERVICE6 = value; }
}
public string IsSERVICE7
{
get { return _IsSERVICE7; }
set { _IsSERVICE7 = value; }
}
public string IsSERVICE8
{
get { return _IsSERVICE8; }
set { _IsSERVICE8 = value; }
}
public string IsSERVICE9
{
get { return _IsSERVICE9; }
set { _IsSERVICE9 = value; }
}
public string IsSERVICE10
{
get { return _IsSERVICE10; }
set { _IsSERVICE10 = value; }
}
public string IsSERVICE11
{
get { return _IsSERVICE11; }
set { _IsSERVICE11 = value; }
}
public string IsSERVICE12
{
get { return _IsSERVICE12; }
set { _IsSERVICE12 = value; }
}
public string IsSERVICE13
{
get { return _IsSERVICE13; }
set { _IsSERVICE13= value; }
}
public string IsSERVICE14
{
get { return _IsSERVICE14; }
set { _IsSERVICE14= value; }
}
public string IsSERVICE15
{
get { return _IsSERVICE15; }
set { _IsSERVICE15 = value; }
}
public string IsSERVICE16
{
get { return _IsSERVICE16; }
set { _IsSERVICE16 = value; }
}
#endregion
public MsOpApplyFeeService()
{
TableName = "op_apply";
}
}
[JsonObject]
public class MsOpCtn : 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; }
}
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 _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; }
}
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;
/// <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; }
}
private string _FREESTORAGEDAY = "0";
/// <summary>
/// </summary>
public string FREESTORAGEDAY
{
get { return _FREESTORAGEDAY; }
set { _FREESTORAGEDAY = value; }
}
private string _STORAGEDAY = "0";
/// <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; }
}
#endregion
public MsOpCtn()
{
TableName = "op_ctn";
}
//public override string GetBillNoFieldName()
//{
// return "BSNO";
//}
}
#region 参照部分
public class MsOpApplyDetailRefMsOpApply
{
public string BsNo { get; set; }
}
#endregion
}