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

1581 lines
36 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpRailway
{
[JsonObject]
public class MsOpRailway : ModelObjectBillHead
{
#region 读写属性
public string COLOR { get; set; }
private string _bsno = "railway" + Guid.NewGuid().ToString();
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get{ return _bsno; }
set{ _bsno = value; }
}
//private string _ordertype = "操作录入";
///// <summary>
///// 委托方式
///// </summary>
//[ModelDB(MDBType = ModelDBOprationType.Insert)]
//public string ORDERTYPE
//{
// get{ return _ordertype; }
// set{ _ordertype = value; }
//}
private string _masterno = "";
/// <summary>
/// 主编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MASTERNO
{
get{ return _masterno; }
set{ _masterno = value; }
}
private string _custno = "";
/// <summary>
/// 委托编号
/// </summary>
[ModelDB]
public string CUSTNO
{
get{ return _custno; }
set{ _custno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
[ModelDB]
public string MBLNO
{
get{ return _mblno; }
set{ _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string HBLNO
{
get{ return _hblno; }
set{ _hblno = value; }
}
private bool _bsstatus = false;
/// <summary>
/// 业务状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool BSSTATUS
{
get{ return _bsstatus; }
set{ _bsstatus = value; }
}
private string _BSSTATUSREF="未锁定";
/// <summary>
/// 业务锁定_中文
/// </summary>
public string BSSTATUSREF
{
get { return _BSSTATUSREF; }
set { _BSSTATUSREF = value; }
}
private string _OPSTATUS = "接受委托";
/// <summary>
/// 业务状态_中文
/// </summary>
public string OPSTATUS
{
get { return _OPSTATUS; }
set { _OPSTATUS = value; }
}
private bool _feestatus = false;
/// <summary>
/// 费用状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool FEESTATUS
{
get{ return _feestatus; }
set{ _feestatus = value; }
}
private string _FEESTATUSREF = "未锁定";
/// <summary>
/// 费用状态_中文
/// </summary>
public string FEESTATUSREF
{
get { return _FEESTATUSREF; }
set { _FEESTATUSREF = value; }
}
public string DRFEESTATUS { get; set; }
public string CRFEESTATUS { get;set; }
private string _FENPIAO = "";
/// <summary>
/// 分票
/// </summary>
public string FENPIAO
{
get { return _FENPIAO; }
set { _FENPIAO = value; }
}
private string _bsdate = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 接单日期
/// </summary>
[ModelDB]
public string BSDATE
{
get{ return _bsdate; }
set{ _bsdate = value; }
}
private DateTime _createtime = DateTime.Now;
/// <summary>
/// 创建时间
/// </summary>
[ModelDB]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _accdate = DateTime.Now.ToString("yyyy-MM");
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get{ return _accdate; }
set{ _accdate = value; }
}
private string _customername = "";
/// <summary>
/// 委托单位
/// </summary>
[ModelDB]
public string CUSTOMERNAME
{
get{ return _customername; }
set{ _customername = value; }
}
private string _bssource = "";
/// <summary>
/// 业务来源
/// </summary>
[ModelDB]
public string BSSOURCE
{
get{ return _bssource; }
set{ _bssource = value; }
}
private string _bssourcedetail = "";
/// <summary>
/// 来源明细
/// </summary>
[ModelDB]
public string BSSOURCEDETAIL
{
get{ return _bssourcedetail; }
set{ _bssourcedetail = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get{ return _inputby; }
set{ _inputby = value; }
}
private string _op = "";
/// <summary>
/// 操作员
/// </summary>
[ModelDB]
public string OP
{
get{ return _op; }
set{ _op = value; }
}
private string _custservice = "";
/// <summary>
/// 客服员
/// </summary>
[ModelDB]
public string CUSTSERVICE
{
get{ return _custservice; }
set{ _custservice = value; }
}
private string _sale = "";
/// <summary>
/// 揽货人
/// </summary>
[ModelDB]
public string SALE
{
get{ return _sale; }
set{ _sale = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get{ return _corpid; }
set{ _corpid = value; }
}
private string _saledept = "";
/// <summary>
/// 所属部门
/// </summary>
[ModelDB]
public string SALEDEPT
{
get{ return _saledept; }
set{ _saledept = value; }
}
private string _transno = "";
/// <summary>
/// 运单号
/// </summary>
[ModelDB]
public string TRANSNO
{
get { return _transno; }
set { _transno = value; }
}
private string _trainno = "";
/// <summary>
/// 车板号
/// </summary>
[ModelDB]
public string TRAINNO
{
get{ return _trainno; }
set{ _trainno = value; }
}
private string _transtype = "过境";
/// <summary>
/// 发运形式
/// </summary>
[ModelDB]
public string TRANSTYPE
{
get { return _transtype; }
set { _transtype = value; }
}
private string _bltype = "铁路单票";
/// <summary>
/// 装运方式
/// </summary>
[ModelDB]
public string BLTYPE
{
get { return _bltype; }
set { _bltype = value; }
}
private string _transdirect = "";
/// <summary>
/// 发车方向
/// </summary>
[ModelDB]
public string TRANSDIRECT
{
get { return _transdirect; }
set { _transdirect = value; }
}
private string _carrier = "";
/// <summary>
/// 承运人
/// </summary>
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _placeloadid = "";
/// <summary>
/// 发货地代码
/// </summary>
[ModelDB]
public string PLACELOADID
{
get { return _placeloadid; }
set { _placeloadid = value; }
}
private string _PlACERECEIPT = "";
/// <summary>
/// 收货地
/// </summary>
[ModelDB]
public string PlACERECEIPT
{
get { return _PlACERECEIPT; }
set { _PlACERECEIPT = value; }
}
private string _placeload = "";
/// <summary>
/// 发货地
/// </summary>
[ModelDB]
public string PLACELOAD
{
get { return _placeload; }
set { _placeload = value; }
}
private string _placeloadename = "";
/// <summary>
/// 发货地英文
/// </summary>
[ModelDB]
public string PLACELOADENAME
{
get { return _placeloadename; }
set { _placeloadename = value; }
}
private string _destinationid = "";
/// <summary>
/// 目的地代码
/// </summary>
[ModelDB]
public string DESTINATIONID
{
get { return _destinationid; }
set { _destinationid = value; }
}
private string _destination = "";
/// <summary>
/// 目的地
/// </summary>
[ModelDB]
public string DESTINATION
{
get { return _destination; }
set { _destination = value; }
}
private string _destinationename = "";
/// <summary>
/// 目的地英文
/// </summary>
[ModelDB]
public string DESTINATIONENAME
{
get { return _destinationename; }
set { _destinationename = value; }
}
private string _destinationdetail = "";
/// <summary>
/// 目的地
/// </summary>
[ModelDB]
public string DESTINATIONDETAIL
{
get { return _destinationdetail; }
set { _destinationdetail = value; }
}
private string _placetransitid = "";
/// <summary>
/// 山口代码
/// </summary>
[ModelDB]
public string PLACETRANSITID
{
get { return _placetransitid; }
set { _placetransitid = value; }
}
private string _placetransit = "";
/// <summary>
/// 山口
/// </summary>
[ModelDB]
public string PLACETRANSIT
{
get { return _placetransit; }
set { _placetransit = value; }
}
private string _placetransitename = "";
/// <summary>
/// 山口英文
/// </summary>
[ModelDB]
public string PLACETRANSITENAME
{
get { return _placetransitename; }
set { _placetransitename = value; }
}
private string _setoutdate;
/// <summary>
/// 发车日期
/// </summary>
[ModelDB]
public string SETOUTDATE
{
get { return _setoutdate; }
set { _setoutdate = value; }
}
private string _Asetoutdate;
/// <summary>
/// 发车日期
/// </summary>
[ModelDB]
public string ASETOUTDATE
{
get { return _Asetoutdate; }
set { _Asetoutdate = value; }
}
private string _trainreportdate;
/// <summary>
/// 报单日期
/// </summary>
[ModelDB]
public string TRAINREPORTDATE
{
get { return _trainreportdate; }
set { _trainreportdate = value; }
}
private int _trainday = 0;
/// <summary>
/// 发车天数
/// </summary>
[ModelDB]
public int TRAINDAY
{
get { return _trainday; }
set { _trainday = value; }
}
private string _stationtime;
/// <summary>
/// 进站日期
/// </summary>
[ModelDB]
public string STATIONTIME
{
get { return _stationtime; }
set { _stationtime = value; }
}
private string _eta;
/// <summary>
/// 到港日期
/// </summary>
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _prevessel = "";
/// <summary>
/// 签出船名
/// </summary>
[ModelDB]
public string PREVESSEL
{
get { return _prevessel; }
set { _prevessel = value; }
}
private string _prevoy = "";
/// <summary>
/// 前程航次
/// </summary>
[ModelDB]
public string PREVOY
{
get { return _prevoy; }
set { _prevoy = value; }
}
private int _vesselday = 0;
/// <summary>
/// 过驳天数
/// </summary>
[ModelDB]
public int VESSELDAY
{
get { return _vesselday; }
set { _vesselday = value; }
}
private string _customdate;
/// <summary>
/// 报关日期
/// </summary>
[ModelDB]
public string CUSTOMDATE
{
get { return _customdate; }
set { _customdate = value; }
}
private string _customcleardate;
/// <summary>
/// 通关日期
/// </summary>
[ModelDB]
public string CUSTOMCLEARDATE
{
get { return _customcleardate; }
set { _customcleardate = value; }
}
private string _customtransitcorp;
/// <summary>
/// 转关行
/// </summary>
[ModelDB]
public string CUSTOMTRANSITCORP
{
get { return _customtransitcorp; }
set { _customtransitcorp = value; }
}
private string _replacedate;
/// <summary>
/// 换单日期
/// </summary>
[ModelDB]
public string REPLACEDOCDATE
{
get { return _replacedate; }
set { _replacedate = value; }
}
private string _shencode = "";
/// <summary>
/// 申请代码
/// </summary>
[ModelDB]
public string SHENCODE
{
get { return _shencode; }
set { _shencode = value; }
}
private string _codestatus = "";
/// <summary>
/// 申请代码状态
/// </summary>
[ModelDB]
public string CODESTATUS
{
get { return _codestatus; }
set { _codestatus = value; }
}
private string _shencodetime;
/// <summary>
/// 申请代码时间
/// </summary>
[ModelDB]
public string SHENCODETIME
{
get { return _shencodetime; }
set { _shencodetime = value; }
}
private string _givecodetime;
/// <summary>
/// 提供代码时间
/// </summary>
[ModelDB]
public string GIVECODETIME
{
get { return _givecodetime; }
set { _givecodetime = value; }
}
private string _arriveplacetransit;
/// <summary>
/// 到达山口时间
/// </summary>
[ModelDB]
public string ARRIVEPLACETRANSIT
{
get { return _arriveplacetransit; }
set { _arriveplacetransit = value; }
}
private string _setoutplacetransit;
/// <summary>
/// 离开山口时间
/// </summary>
[ModelDB]
public string SETOUTPLACETRANSIT
{
get { return _setoutplacetransit; }
set { _setoutplacetransit = value; }
}
private int _transitday = 0;
/// <summary>
/// 滞留山口天数
/// </summary>
[ModelDB]
public int TRANSITDAY
{
get { return _transitday; }
set { _transitday = value; }
}
private string _retrainno = "";
/// <summary>
/// 换装车号
/// </summary>
[ModelDB]
public string RETRAINNO
{
get { return _retrainno; }
set { _retrainno = value; }
}
private string _retraindate = "";
/// <summary>
/// 换装日期
/// </summary>
[ModelDB]
public string RETRAINDATE
{
get { return _retraindate; }
set { _retraindate = value; }
}
private string _frplacetransitid = "";
/// <summary>
/// 国外中转地代码
/// </summary>
[ModelDB]
public string FRPLACETRANSITID
{
get { return _frplacetransitid; }
set { _frplacetransitid = value; }
}
private string _frplacetransit = "";
/// <summary>
/// 国外中转地
/// </summary>
[ModelDB]
public string FRPLACETRANSIT
{
get { return _frplacetransit; }
set { _frplacetransit = value; }
}
private string _arrivefrplacetransit = "";
/// <summary>
/// 到达中转地
/// </summary>
[ModelDB]
public string ARRIVEFRPLACETRANSIT
{
get { return _arrivefrplacetransit; }
set { _arrivefrplacetransit = value; }
}
private string _arrivaldate = "";
/// <summary>
/// 抵达日期
/// </summary>
[ModelDB]
public string ARRIVALDATE
{
get { return _arrivaldate; }
set { _arrivaldate = value; }
}
private string _rectntype = "";
/// <summary>
/// 箱到目的地处理方式
/// </summary>
[ModelDB]
public string RECTNTYPE
{
get { return _rectntype; }
set { _rectntype = value; }
}
private string _rectndate = "";
/// <summary>
/// 还箱日期
/// </summary>
[ModelDB]
public string RECTNDATE
{
get { return _rectndate; }
set { _rectndate = value; }
}
private string _onroaddate = "";
/// <summary>
/// 在途日期
/// </summary>
[ModelDB]
public string ONROADDATE
{
get { return _onroaddate; }
set { _onroaddate = value; }
}
private string _onroadplace = "";
/// <summary>
/// 在途运踪
/// </summary>
[ModelDB]
public string ONROADPLACE
{
get { return _onroadplace; }
set { _onroadplace = value; }
}
private string _returnctncorp = "";
/// <summary>
/// 返箱公司
/// </summary>
[ModelDB]
public string RETURNCTNCORP
{
get { return _returnctncorp; }
set { _returnctncorp = value; }
}
private string _returndate = "";
/// <summary>
/// 返程日期
/// </summary>
[ModelDB]
public string RETURNDATE
{
get { return _returndate; }
set { _returndate = value; }
}
private string _receivectndate = "";
/// <summary>
/// 接受箱日期
/// </summary>
[ModelDB]
public string RECEIVECTNDATE
{
get { return _receivectndate; }
set { _receivectndate = value; }
}
private string _receiveyard = "";
/// <summary>
/// 收箱场站
/// </summary>
[ModelDB]
public string RECEIVEYARD
{
get { return _receiveyard; }
set { _receiveyard = value; }
}
private string _ctnsource = "";
[ModelDB]
public string CTNSOURCE
{
get { return _ctnsource; }
set { _ctnsource = value; }
}
private string _ctnall = "";
/// <summary>
/// 表现形式
/// </summary>
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private int _ctnnum = 1;
/// <summary>
/// 箱量
/// </summary>
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private string _cntrno = "";
/// <summary>
/// 箱号
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
/// <summary>
/// 封号
/// </summary>
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private string _frsealno = "";
/// <summary>
/// 封号
/// </summary>
[ModelDB]
public string FRSEALNO
{
get { return _frsealno; }
set { _frsealno = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get{ return _pkgs; }
set{ _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get{ return _kindpkgs; }
set{ _kindpkgs = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get{ return _cbm; }
set{ _cbm = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _ctnweight = 0;
/// <summary>
/// 箱皮重
/// </summary>
[ModelDB]
public decimal CTNWEIGHT
{
get { return _ctnweight; }
set { _ctnweight = value; }
}
[ModelDB]
private string _orderno = "";
/// <summary>
/// 订舱编号
/// </summary>
[ModelDB]
public string ORDERNO
{
get{ return _orderno; }
set{ _orderno = value; }
}
private string _salecorpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB]
public string SALECORPID
{
get { return _salecorpid; }
set { _salecorpid = value; }
}
private string _salecorp = "";
/// <summary>
/// 分公司代码
/// </summary>
public string SALECORP
{
get { return _salecorp; }
set { _salecorp = value; }
}
private bool _isvou = false;
/// <summary>
/// 是否生成凭证
/// </summary>
[ModelDB]
public bool ISVOU
{
get{ return _isvou; }
set{ _isvou = value; }
}
private string _vouno = "";
/// <summary>
/// 凭证号
/// </summary>
[ModelDB]
public string VOUNO
{
get{ return _vouno; }
set{ _vouno = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get{ return _remark; }
set{ _remark = value; }
}
private string _doc = "";
/// <summary>
/// 单证
/// </summary>
[ModelDB]
public string DOC
{
get{ return _doc; }
set{ _doc = value; }
}
private string _stlname = "";
/// <summary>
/// 结算方式
/// </summary>
[ModelDB]
public string STLNAME
{
get{ return _stlname; }
set{ _stlname = value; }
}
private string _stldate;
/// <summary>
/// 结算时间
/// </summary>
[ModelDB]
public string STLDATE
{
get{ return _stldate; }
set{ _stldate = value; }
}
private string _operatorcode = "";
/// <summary>
/// 客户操作代码
/// </summary>
[ModelDB]
public string OPERATORCODE
{
get{ return _operatorcode; }
set{ _operatorcode = value; }
}
private string _operator = "";
/// <summary>
/// 客户操作名称
/// </summary>
[ModelDB]
public string OPERATOR
{
get{ return _operator; }
set{ _operator = value; }
}
private string _operatoremail = "";
/// <summary>
/// 操作电子邮箱
/// </summary>
[ModelDB]
public string OPERATOREMAIL
{
get{ return _operatoremail; }
set{ _operatoremail = value; }
}
private string _operatortel = "";
/// <summary>
/// 操作电话
/// </summary>
[ModelDB]
public string OPERATORTEL
{
get{ return _operatortel; }
set{ _operatortel = value; }
}
private string _operatorfax = "";
/// <summary>
/// 操作传真
/// </summary>
[ModelDB]
public string OPERATORFAX
{
get{ return _operatorfax; }
set{ _operatorfax = value; }
}
private string _financialstaffcode = "";
/// <summary>
/// 客户财务代码
/// </summary>
[ModelDB]
public string FINANCIALSTAFFCODE
{
get{ return _financialstaffcode; }
set{ _financialstaffcode = value; }
}
private string _financialstaff = "";
/// <summary>
/// 客户财务名称
/// </summary>
[ModelDB]
public string FINANCIALSTAFF
{
get{ return _financialstaff; }
set{ _financialstaff = value; }
}
private string _financialstaffemail = "";
/// <summary>
/// 财务电子邮箱
/// </summary>
[ModelDB]
public string FINANCIALSTAFFEMAIL
{
get{ return _financialstaffemail; }
set{ _financialstaffemail = value; }
}
private string _financialstafftel = "";
/// <summary>
/// 财务电话
/// </summary>
[ModelDB]
public string FINANCIALSTAFFTEL
{
get{ return _financialstafftel; }
set{ _financialstafftel = value; }
}
private string _financialstafffax = "";
/// <summary>
/// 财务传真
/// </summary>
[ModelDB]
public string FINANCIALSTAFFFAX
{
get{ return _financialstafffax; }
set{ _financialstafffax = value; }
}
private string _ISPRINTPR = "";
public string ISPRINTPR
{
get { return _ISPRINTPR; }
set { _ISPRINTPR = value; }
}
private int _cntr1 = 0;
/// <summary>
/// 箱型1
/// </summary>
public int CNTR1
{
get { return _cntr1; }
set { _cntr1 = value; }
}
private int _cntr2 = 0;
/// <summary>
/// 箱型2
/// </summary>
public int CNTR2
{
get { return _cntr2; }
set { _cntr2 = value; }
}
private int _cntr3 = 0;
/// <summary>
/// 箱型3
/// </summary>
public int CNTR3
{
get { return _cntr3; }
set { _cntr3 = value; }
}
private int _cntr4 = 0;
/// <summary>
/// 箱型4
/// </summary>
public int CNTR4
{
get { return _cntr4; }
set { _cntr4 = value; }
}
private int _cntr5 = 0;
/// <summary>
/// 箱型5
/// </summary>
public int CNTR5
{
get { return _cntr5; }
set { _cntr5 = value; }
}
private int _cntr6 = 0;
/// <summary>
/// 箱型6
/// </summary>
public int CNTR6
{
get { return _cntr6; }
set { _cntr6 = value; }
}
private int _cntr7 = 0;
/// <summary>
/// 箱型7
/// </summary>
public int CNTR7
{
get { return _cntr7; }
set { _cntr7 = value; }
}
private int _cntr8 = 0;
/// <summary>
/// 箱型8
/// </summary>
public int CNTR8
{
get { return _cntr8; }
set { _cntr8 = value; }
}
private int _cntr9 = 0;
/// <summary>
/// 箱型9
/// </summary>
public int CNTR9
{
get { return _cntr9; }
set { _cntr9 = value; }
}
private int _cntr10 = 0;
/// <summary>
/// 箱型10
/// </summary>
public int CNTR10
{
get { return _cntr10; }
set { _cntr10 = value; }
}
private int _otcntr = 0;
/// <summary>
/// 其他箱型
/// </summary>
public int OTCNTR
{
get { return _otcntr; }
set { _otcntr = value; }
}
private int _teu = 0;
/// <summary>
/// 箱TEU
/// </summary>
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
public string DRINVSTATUS { get; set; }
public string DRDUISTATUS { set; get; }
#endregion
public MsOpRailway()
{
TableName = "op_railway";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
}
[JsonObject]
public class MsOpRailwayTracking : ModelObjectBillBody
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string TK_ID
{
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 _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get { return _inputby; }
set { _inputby = value; }
}
private string _inputdate = "";
/// <summary>
/// 录入日期
/// </summary>
[ModelDB]
public string INPUTDATE
{
get { return _inputdate; }
set { _inputdate = value; }
}
private string _trackdate = "";
/// <summary>
/// 动态日期
/// </summary>
[ModelDB]
public string TRACKDATE
{
get { return _trackdate; }
set { _trackdate = value; }
}
private string _cntrno = "";
/// <summary>
/// 箱号
/// </summary>
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
/// <summary>
/// 封号
/// </summary>
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private string _efcntr = "";
/// <summary>
/// 空重箱
/// </summary>
[ModelDB]
public string EFCNTR
{
get { return _efcntr; }
set { _efcntr = value; }
}
private string _trainno = "";
/// <summary>
/// 车板号
/// </summary>
[ModelDB]
public string TRAINNO
{
get { return _trainno; }
set { _trainno = value; }
}
private string _frtrainno = "";
/// <summary>
/// 国外车号
/// </summary>
[ModelDB]
public string FRTRAINNO
{
get { return _frtrainno; }
set { _frtrainno = value; }
}
private string _activity = "";
/// <summary>
/// 动态
/// </summary>
[ModelDB]
public string ACTIVITY
{
get { return _activity; }
set { _activity = value; }
}
private string _location = "";
/// <summary>
/// 动态地点
/// </summary>
[ModelDB]
public string LOCATION
{
get { return _location; }
set { _location = value; }
}
private string _locationid = "";
/// <summary>
/// 动态地点代码
/// </summary>
[ModelDB]
public string LOCATIONID
{
get { return _locationid; }
set { _locationid = value; }
}
private decimal _distance = 0;
/// <summary>
/// 距离
/// </summary>
[ModelDB]
public decimal DISTANCE
{
get { return _distance; }
set { _distance = value; }
}
private decimal _DISTANCEDEST = 0;
/// <summary>
/// 距离
/// </summary>
[ModelDB]
public decimal DISTANCEDEST
{
get { return _DISTANCEDEST; }
set { _DISTANCEDEST = value; }
}
private string _remark = "";
/// <summary>
///备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public MsOpRailwayTracking()
{
TableName = "op_railway_tracking";
}
}
[JsonObject]
public class CodeRailWayTracking : ModelObjectBillBody
{
#region private Fields
private string _GID = String.Empty;
private string _TRACKINGCODE = String.Empty;
private string _REMARK = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string TRACKINGCODE
{
get { return _TRACKINGCODE; }
set { _TRACKINGCODE = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
#endregion
public CodeRailWayTracking()
{
TableName = "code_railwaytracking";
}
}
//
}