using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpRailwayBill { [JsonObject] public class MsOpRailwayBill : ModelObjectBillHead { #region 读写属性 private string _as_id =""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string AS_ID { get { return _as_id; } set { _as_id = value; } } private string _bsno = ""; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get{ return _bsno; } set{ _bsno = value; } } private string _custno = ""; [ModelDB] public string CUSTNO { get { return _custno; } set { _custno = value; } } private string _inputby = ""; /// /// 录入人 /// [ModelDB] public string INPUTBY { get{ return _inputby; } set{ _inputby = value; } } private DateTime _createtime = DateTime.Now; /// /// 录入人 /// [ModelDB] public DateTime CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _TRAINNO = ""; public string TRAINNO { get { return _TRAINNO; } set { _TRAINNO = value; } } private string _shipperid = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERID { get { return _shipperid; } set { _shipperid = value; } } private string _consigneeid = ""; /// /// 收货人 /// [ModelDB] public string CONSIGNEEID { get { return _consigneeid; } set { _consigneeid = value; } } private string _shipper = ""; /// /// 发货人内容 /// [ModelDB] public string SHIPPER { get { return _shipper; } set { _shipper = value; } } private string _consignee = ""; /// /// 收货人内容 /// [ModelDB] public string CONSIGNEE { get { return _consignee; } set { _consignee = value; } } private string _placeloadename = ""; /// /// 发货地英文 /// [ModelDB] public string PLACELOADENAME { get { return _placeloadename; } set { _placeloadename = value; } } private string _destinationename = ""; /// /// 目的地英文 /// [ModelDB] public string DESTINATIONENAME { get { return _destinationename; } set { _destinationename = value; } } private string _shencode = ""; /// /// 申请代码 /// [ModelDB] public string SHENCODE { get { return _shencode; } set { _shencode = value; } } private string _shipperstatement= ""; /// /// 发货人特别声明 /// [ModelDB] public string SHIPPERSTATEMENT { get { return _shipperstatement; } set { _shipperstatement = value; } } private string _nobindingrecord = ""; /// /// 无约束力记载 /// [ModelDB] public string NOBINDINGRECORD { get { return _nobindingrecord; } set { _nobindingrecord = value; } } private string _customerrecord = ""; /// /// 海关记载 /// [ModelDB] public string CUSTOMERRECORD { get { return _customerrecord; } set { _customerrecord = value; } } private string _shipperfiles = ""; /// /// 发货人文件 /// [ModelDB] public string SHIPPERFILES { get { return _shipperfiles; } set { _shipperfiles = value; } } private string _otherfield1 = ""; /// /// 辅助字段1 /// [ModelDB] public string OTHERFIELD1 { get { return _otherfield1; } set { _otherfield1 = value; } } private string _placetransitename = ""; /// /// 国境站 /// [ModelDB] public string PLACETRANSITENAME { get { return _placetransitename; } set { _placetransitename = value; } } private string _nopkgs = ""; /// /// 件数包装 /// [ModelDB] public string NOPKGS { get{ return _nopkgs; } set{ _nopkgs = value; } } private string _pkgs = ""; /// /// 件数包装 /// [ModelDB] public string PKGS { get { return _pkgs; } set { _pkgs = value; } } private string _kgs = ""; /// /// 件数包装 /// [ModelDB] public string KGS { get { return _kgs; } set { _kgs = value; } } private string _SEALNO = ""; /// /// 件数包装 /// [ModelDB] public string SEALNO { get { return _SEALNO; } set { _SEALNO = value; } } private string _LOADER = ""; /// /// 件数包装 /// [ModelDB] public string LOADER { get { return _LOADER; } set { _LOADER = value; } } private string _WEIGHTMETHODS = ""; /// /// 件数包装 /// [ModelDB] public string WEIGHTMETHODS { get { return _WEIGHTMETHODS; } set { _WEIGHTMETHODS = value; } } private string _CUSTCONTRACTNODATE = ""; /// /// 件数包装 /// [ModelDB] public string CUSTCONTRACTNODATE { get { return _CUSTCONTRACTNODATE; } set { _CUSTCONTRACTNODATE = value; } } private string _CUSTCONTRACTNO = ""; /// /// 件数包装 /// [ModelDB] public string CUSTCONTRACTNO { get { return _CUSTCONTRACTNO; } set { _CUSTCONTRACTNO = value; } } private string _ARRIVALDATE = ""; /// /// 件数包装 /// [ModelDB] public string ARRIVALDATE { get { return _ARRIVALDATE; } set { _ARRIVALDATE = value; } } private string _description = ""; /// /// 货物描述 /// [ModelDB] public string DESCRIPTION { get{ return _description; } set{ _description = value; } } private string _grossweight = ""; /// /// 货物毛重 /// [ModelDB] public string GROSSWEIGHT { get{ return _grossweight; } set{ _grossweight = value; } } private string _totalno = ""; /// /// 件数大写 /// [ModelDB] public string TOTALNO { get{ return _totalno; } set{ _totalno = value; } } private string _cntrtotal = ""; /// /// 集装箱大写 /// [ModelDB] public string CNTRTOTAL { get { return _cntrtotal; } set { _cntrtotal = value; } } private string _goodsname = ""; /// /// 品名 /// [ModelDB] public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } #endregion public MsOpRailwayBill() { TableName = "op_railway_bill"; } override public string GetBillNoFieldName() { return "AS_ID"; } } [JsonObject] public class MsOpRailwayBillTrain : ModelObjectBillBody { #region 读写属性 private string _gid = ""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _BSNO = ""; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } private string _sortno = ""; /// /// 序号 /// [ModelDB] public string SORTNO { get { return _sortno; } set { _sortno = value; } } private string _trainno = ""; /// /// 车号 /// [ModelDB] public string TRAINNO { get { return _trainno; } set { _trainno = value; } } private string _carrier = ""; /// /// 承运人 /// [ModelDB] public string CARRIER { get { return _carrier; } set { _carrier = value; } } private decimal _kgs = 0; /// /// 重量 /// [ModelDB] public decimal KGS { get { return _kgs; } set { _kgs = value; } } private int _shaftnum = 0; /// /// 轴数 /// [ModelDB] public int SHAFTNUM { get { return _shaftnum; } set { _shaftnum = value; } } private decimal _trainkgs = 0; /// /// 车重 /// [ModelDB] public decimal TRAINKGS { get { return _trainkgs; } set { _trainkgs = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } private int _afterpkgs = 0; /// /// TAREWEIGHT /// [ModelDB] public int AFTERPKGS { get { return _afterpkgs; } set { _afterpkgs = value; } } private decimal _afterkgs = 0; /// /// TAREWEIGHT /// [ModelDB] public decimal AFTERKGS { get { return _afterkgs; } set { _afterkgs = value; } } private string _tanktype = ""; /// /// GOODSNAME /// [ModelDB] public string TANKTYPE { get { return _tanktype; } set { _tanktype = value; } } #endregion public MsOpRailwayBillTrain() { TableName = "op_railway_bill_train"; } } [JsonObject] public class MsOpRailwayBillRoad : ModelObjectBillBody { #region 读写属性 private string _gid = ""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _BSNO = ""; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } private string _sortno = ""; /// /// 序号 /// [ModelDB] public string SORTNO { get { return _sortno; } set { _sortno = value; } } private string _carrier = ""; /// /// 承运人 /// [ModelDB] public string CARRIER { get { return _carrier; } set { _carrier = value; } } private string _frstation = ""; /// /// 从站 /// [ModelDB] public string FRSTATION { get { return _frstation; } set { _frstation = value; } } private string _frstationid = ""; /// /// 从站 /// [ModelDB] public string FRSTATIONID { get { return _frstationid; } set { _frstationid = value; } } private string _tostation = ""; /// /// 到站 /// [ModelDB] public string TOSTATION { get { return _tostation; } set { _tostation = value; } } private string _tostationid = ""; /// /// 到站 /// [ModelDB] public string TOSTATIONID { get { return _tostationid; } set { _tostationid = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } #endregion public MsOpRailwayBillRoad() { TableName = "op_railway_bill_road"; } } // }