using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpBulk { [JsonObject] public class MsOpBulkDetail : ModelObjectBillBody { #region private Fields private string _BsNo = "*"; private decimal _serialNo = 0; private bool _accStatus = false; private string _isTrain = "0"; private string _TruckNo = String.Empty; private string _DrvName = String.Empty; private string _DrvCust = String.Empty; private string _ExpDate = String.Empty; private string _StationNo = String.Empty; private decimal _pkgs = 0; private decimal _kgs = 0; private decimal _netkgs = 0; private decimal _tarekgs = 0; private decimal _pkgkgs = 0; private decimal _TRANSTOTAL = 0; private decimal _TRANSOT = 0; private string _poundNo = String.Empty; private string _remark = String.Empty; #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(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string ISTRAIN { get { return _isTrain; } set { _isTrain = value; } } [ModelDB] public bool ACCSTATUS { get { return _accStatus; } set { _accStatus = value; } } [ModelDB] public string TRUCKNO { get { return _TruckNo; } set { _TruckNo = value; } } [ModelDB] public string DRVNAME { get { return _DrvName; } set { _DrvName = value; } } [ModelDB] public string DRVCUST { get { return _DrvCust; } set { _DrvCust = value; } } [ModelDB] public string STATIONNO { get { return _StationNo; } set { _StationNo = value; } } [ModelDB] public string POUNDNO { get { return _poundNo; } set { _poundNo = value; } } [ModelDB] public string EXPDATE { get { return _ExpDate; } set { _ExpDate = value; } } [ModelDB] public decimal PKGS { get { return _pkgs; } set { _pkgs = value; } } [ModelDB] public decimal KGS { get { return _kgs; } set { _kgs = value; } } [ModelDB] public decimal NETKGS { get { return _netkgs; } set { _netkgs = value; } } [ModelDB] public decimal TAREKGS { get { return _tarekgs; } set { _tarekgs = value; } } [ModelDB] public decimal PKGKGS { get { return _pkgkgs; } set { _pkgkgs = value; } } [ModelDB] public decimal TRANSTOTAL { get { return _TRANSTOTAL; } set { _TRANSTOTAL = value; } } [ModelDB] public decimal TRANSOT { get { return _TRANSOT; } set { _TRANSOT = value; } } [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } #endregion public MsOpBulkDetail() { TableName = "op_Bulk_detail"; } } #region 参照部分 #endregion }