using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpBulk { [JsonObject] public class MsOpBulkTrainDetail : ModelObjectBillBody { #region private Fields private string _BsNo = "*"; private decimal _serialNo = 0; private bool _accStatus = false; private string _TrainNo = String.Empty; private string _TrainType = String.Empty; private string _TrainCust = String.Empty; private string _InvNo = String.Empty; private string _StationNo = String.Empty; private string _arrivalStation = String.Empty; private string _ExpDate = String.Empty; private decimal _pkgs = 0; private decimal _kgs = 0; private decimal _TRANSTOTAL = 0; private decimal _TRANSOT = 0; 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] public bool ACCSTATUS { get { return _accStatus; } set { _accStatus = value; } } [ModelDB] public string TRAINNO { get { return _TrainNo; } set { _TrainNo = value; } } [ModelDB] public string TRAINTYPE { get { return _TrainType; } set { _TrainType = value; } } [ModelDB] public string TRAINCUST { get { return _TrainCust; } set { _TrainCust = value; } } [ModelDB] public string INVNO { get { return _InvNo; } set { _InvNo = value; } } [ModelDB] public string STATIONNO { get { return _StationNo; } set { _StationNo = value; } } [ModelDB] public string ARRIVALSTATION { get { return _arrivalStation; } set { _arrivalStation = 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 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 MsOpBulkTrainDetail() { TableName = "op_Bulk_railway_detail"; } } #region 参照部分 #endregion }