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/MsOpRailway/MsOpRailwayBill.cs

647 lines
15 KiB
C#

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