using System; using HcUtility.Core; using Newtonsoft.Json; //集装箱信息 实体类 namespace DSWeb.Areas.TruckMng.Models.MsWlBs { [JsonObject] public class MsWlBsCtn : ModelObjectBillBody { #region private Fields private string _billNo = "*"; private string _GID = "*"; private decimal _serialNo = 0; private string _containerType = String.Empty; private string _containerType_Ref = String.Empty; private decimal _containerQty = 0; private string _containerNo = string.Empty; private string _sealNo = string.Empty; private decimal _PCQTY = 0; private decimal _UNITPRICE = 0; private decimal _FREIGHT = 0; private decimal _ORUNITPRICE = 0; private decimal _ORFREIGHT = 0; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public decimal SerialNo { get { return _serialNo; } set { _serialNo = value; } } [ModelDB] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string ContainerType { get { return _containerType; } set { _containerType = value; } } public string ContainerType_Ref { get { return _containerType_Ref; } set { _containerType_Ref = value; } } [ModelDB] public decimal ContainerQty { get { return _containerQty; } set { _containerQty = value; } } public decimal PCQTY { get { return _PCQTY; } set { _PCQTY = value; } } decimal _NPCQTY = 0; public decimal NPCQTY { get { return _NPCQTY; } set { _NPCQTY = value; } } [ModelDB] public string ContainerNo { get { return _containerNo; } set { _containerNo = value; } } [ModelDB] public string SealNo { get { return _sealNo; } set { _sealNo = value; } } [ModelDB] public decimal UNITPRICE { get { return _UNITPRICE; } set { _UNITPRICE = value; } } [ModelDB] public decimal FREIGHT { get { return _FREIGHT; } set { _FREIGHT = value; } } [ModelDB] public decimal ORUNITPRICE { get { return _ORUNITPRICE; } set { _ORUNITPRICE = value; } } [ModelDB] public decimal ORFREIGHT { get { return _ORFREIGHT; } set { _ORFREIGHT = value; } } #endregion public MsWlBsCtn() { TableName = "tMsWlBsCtn"; } } #region 参照部分 #endregion }