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.
591 lines
14 KiB
C#
591 lines
14 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.RailWayPort
|
|
{
|
|
|
|
[JsonObject]
|
|
public class RailWayPortModel : ModelObjectBillHead
|
|
{
|
|
#region private Fields
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
private string _PORTID = string.Empty;
|
|
private string _PORTENAME = String.Empty;
|
|
private string _PORTCNAME = String.Empty;
|
|
private string _CODEANDNAME = String.Empty;
|
|
private string _PROVINCE = String.Empty;
|
|
private string _CITYENAME = String.Empty;
|
|
private string _CITYCNAME = String.Empty;
|
|
private string _RAILBUREAU = String.Empty;
|
|
private decimal _DTALSHANKOU =0;
|
|
private decimal _DTMANZHOULI =0;
|
|
private decimal _DTERLIAN = 0;
|
|
private decimal _DTSUIFENHE =0;
|
|
private decimal _DTDANDONG =0;
|
|
private decimal _DTPINGXIANG =0;
|
|
private decimal _DTHORGOS =0;
|
|
private bool _ISOFTEN = false;
|
|
private string _WORKPOWER = String.Empty;
|
|
private string _PORTDETAIL = String.Empty;
|
|
private bool _IS20 = false;
|
|
private bool _IS40 = false;
|
|
private bool _IS48 = false;
|
|
private bool _IS50 = false;
|
|
private bool _ISTANK = false;
|
|
private bool _ISBULK = false;
|
|
private bool _ISFLAT = false;
|
|
private bool _ISDSCAR = false;
|
|
private string _REMARKS = String.Empty;
|
|
private bool _ISCN = false;
|
|
private string _PORTTYPE ="F";
|
|
private string _PORTTYPEREF = "国外";
|
|
private bool _ISBORDERPORT = false;
|
|
private string _BORDERPORTID = String.Empty;
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTID
|
|
{
|
|
get { return _PORTID; }
|
|
set { _PORTID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTENAME
|
|
{
|
|
get { return _PORTENAME; }
|
|
set { _PORTENAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTCNAME
|
|
{
|
|
get { return _PORTCNAME; }
|
|
set { _PORTCNAME = value; }
|
|
}
|
|
public string CODEANDNAME
|
|
{
|
|
get { return _CODEANDNAME; }
|
|
set { _CODEANDNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PROVINCE
|
|
{
|
|
get { return _PROVINCE; }
|
|
set { _PROVINCE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CITYENAME
|
|
{
|
|
get { return _CITYENAME; }
|
|
set { _CITYENAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTDETAIL
|
|
{
|
|
get { return _PORTDETAIL; }
|
|
set { _PORTDETAIL = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string CITYCNAME
|
|
{
|
|
get { return _CITYCNAME; }
|
|
set { _CITYCNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RAILBUREAU
|
|
{
|
|
get { return _RAILBUREAU; }
|
|
set { _RAILBUREAU = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTALSHANKOU
|
|
{
|
|
get { return _DTALSHANKOU; }
|
|
set { _DTALSHANKOU = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTMANZHOULI
|
|
{
|
|
get { return _DTMANZHOULI; }
|
|
set { _DTMANZHOULI = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTERLIAN
|
|
{
|
|
get { return _DTERLIAN; }
|
|
set { _DTERLIAN = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTSUIFENHE
|
|
{
|
|
get { return _DTSUIFENHE; }
|
|
set { _DTSUIFENHE = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTDANDONG
|
|
{
|
|
get { return _DTDANDONG; }
|
|
set { _DTDANDONG = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTPINGXIANG
|
|
{
|
|
get { return _DTPINGXIANG; }
|
|
set { _DTPINGXIANG = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTHORGOS
|
|
{
|
|
get { return _DTHORGOS; }
|
|
set { _DTHORGOS = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISOFTEN
|
|
{
|
|
get { return _ISOFTEN; }
|
|
set { _ISOFTEN = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKPOWER
|
|
{
|
|
get { return _WORKPOWER; }
|
|
set { _WORKPOWER = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS20
|
|
{
|
|
get { return _IS20; }
|
|
set { _IS20 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS40
|
|
{
|
|
get { return _IS40; }
|
|
set { _IS40 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS48
|
|
{
|
|
get { return _IS48; }
|
|
set { _IS48 = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public bool IS50
|
|
{
|
|
get { return _IS50; }
|
|
set { _IS50 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISTANK
|
|
{
|
|
get { return _ISTANK; }
|
|
set { _ISTANK = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISBULK
|
|
{
|
|
get { return _ISBULK; }
|
|
set { _ISBULK = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISFLAT
|
|
{
|
|
get { return _ISFLAT; }
|
|
set { _ISFLAT = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISDSCAR
|
|
{
|
|
get { return _ISDSCAR; }
|
|
set { _ISDSCAR = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string REMARKS
|
|
{
|
|
get { return _REMARKS; }
|
|
set { _REMARKS = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISCN
|
|
{
|
|
get { return _ISCN; }
|
|
set { _ISCN = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTTYPE
|
|
{
|
|
get { return _PORTTYPE; }
|
|
set { _PORTTYPE = value; }
|
|
}
|
|
public string PORTTYPEREF
|
|
{
|
|
get { return _PORTTYPEREF; }
|
|
set { _PORTTYPEREF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BORDERPORTID
|
|
{
|
|
get { return _BORDERPORTID; }
|
|
set { _BORDERPORTID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public bool ISBORDERPORT
|
|
{
|
|
get { return _ISBORDERPORT; }
|
|
set { _ISBORDERPORT = value; }
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
public RailWayPortModel()
|
|
{
|
|
TableName = "code_railwayport";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[JsonObject]
|
|
public class RailWayFrPortModel : ModelObjectBillHead
|
|
{
|
|
#region private Fields
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
private string _PORTID = string.Empty;
|
|
private string _PORTENAME = String.Empty;
|
|
private string _PORTRNAME = String.Empty;
|
|
private string _PORTCNAME = String.Empty;
|
|
private string _CODEANDNAME = String.Empty;
|
|
private string _COUNTRY = String.Empty;
|
|
private string _COUNTRYECODE = String.Empty;
|
|
private string _COUNTRYRCODE = String.Empty;
|
|
private string _COUNTRYCODE = String.Empty;
|
|
private string _COUNTRYENAME = String.Empty;
|
|
private string _COUNTRYRNAME = String.Empty;
|
|
private string _CITYENAME = String.Empty;
|
|
private string _CITYCNAME = String.Empty;
|
|
private string _ADDR = String.Empty;
|
|
private string _RAILBUREAU = String.Empty;
|
|
private decimal _DTALSHANKOU = 0;
|
|
private decimal _DTMANZHOULI = 0;
|
|
private decimal _DTERLIAN = 0;
|
|
private decimal _DTSUIFENHE = 0;
|
|
private decimal _DTDANDONG = 0;
|
|
private decimal _DTPINGXIANG = 0;
|
|
private decimal _DTHORGOS = 0;
|
|
private bool _ISOFTEN = false;
|
|
private string _WORKPOWER = String.Empty;
|
|
private string _PORTDETAIL = String.Empty;
|
|
private bool _IS20 = false;
|
|
private bool _IS40 = false;
|
|
private bool _IS48 = false;
|
|
private bool _IS50 = false;
|
|
private bool _ISTANK = false;
|
|
private bool _ISBULK = false;
|
|
private bool _ISFLAT = false;
|
|
private bool _ISDSCAR = false;
|
|
private string _REMARKS = String.Empty;
|
|
private bool _ISCN = false;
|
|
private string _PORTTYPE = "F";
|
|
private string _PORTTYPEREF = "国外";
|
|
private bool _ISBORDERPORT = false;
|
|
private string _BORDERPORTID = String.Empty;
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTID
|
|
{
|
|
get { return _PORTID; }
|
|
set { _PORTID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTENAME
|
|
{
|
|
get { return _PORTENAME; }
|
|
set { _PORTENAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTRNAME
|
|
{
|
|
get { return _PORTRNAME; }
|
|
set { _PORTRNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTCNAME
|
|
{
|
|
get { return _PORTCNAME; }
|
|
set { _PORTCNAME = value; }
|
|
}
|
|
public string CODEANDNAME
|
|
{
|
|
get { return _CODEANDNAME; }
|
|
set { _CODEANDNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRY
|
|
{
|
|
get { return _COUNTRY; }
|
|
set { _COUNTRY = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRYENAME
|
|
{
|
|
get { return _COUNTRYENAME; }
|
|
set { _COUNTRYENAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRYRNAME
|
|
{
|
|
get { return _COUNTRYRNAME; }
|
|
set { _COUNTRYRNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRYECODE
|
|
{
|
|
get { return _COUNTRYECODE; }
|
|
set { _COUNTRYECODE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRYRCODE
|
|
{
|
|
get { return _COUNTRYRCODE; }
|
|
set { _COUNTRYRCODE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COUNTRYCODE
|
|
{
|
|
get { return _COUNTRYCODE; }
|
|
set { _COUNTRYCODE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CITYENAME
|
|
{
|
|
get { return _CITYENAME; }
|
|
set { _CITYENAME = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string CITYCNAME
|
|
{
|
|
get { return _CITYCNAME; }
|
|
set { _CITYCNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ADDR
|
|
{
|
|
get { return _ADDR; }
|
|
set { _ADDR = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RAILBUREAU
|
|
{
|
|
get { return _RAILBUREAU; }
|
|
set { _RAILBUREAU = value; }
|
|
}
|
|
[ModelDB]
|
|
public string PORTDETAIL
|
|
{
|
|
get { return _PORTDETAIL; }
|
|
set { _PORTDETAIL = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal DTALSHANKOU
|
|
{
|
|
get { return _DTALSHANKOU; }
|
|
set { _DTALSHANKOU = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTMANZHOULI
|
|
{
|
|
get { return _DTMANZHOULI; }
|
|
set { _DTMANZHOULI = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTERLIAN
|
|
{
|
|
get { return _DTERLIAN; }
|
|
set { _DTERLIAN = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTSUIFENHE
|
|
{
|
|
get { return _DTSUIFENHE; }
|
|
set { _DTSUIFENHE = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTDANDONG
|
|
{
|
|
get { return _DTDANDONG; }
|
|
set { _DTDANDONG = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTPINGXIANG
|
|
{
|
|
get { return _DTPINGXIANG; }
|
|
set { _DTPINGXIANG = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal DTHORGOS
|
|
{
|
|
get { return _DTHORGOS; }
|
|
set { _DTHORGOS = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISOFTEN
|
|
{
|
|
get { return _ISOFTEN; }
|
|
set { _ISOFTEN = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKPOWER
|
|
{
|
|
get { return _WORKPOWER; }
|
|
set { _WORKPOWER = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS20
|
|
{
|
|
get { return _IS20; }
|
|
set { _IS20 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS40
|
|
{
|
|
get { return _IS40; }
|
|
set { _IS40 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool IS48
|
|
{
|
|
get { return _IS48; }
|
|
set { _IS48 = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public bool IS50
|
|
{
|
|
get { return _IS50; }
|
|
set { _IS50 = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISTANK
|
|
{
|
|
get { return _ISTANK; }
|
|
set { _ISTANK = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISBULK
|
|
{
|
|
get { return _ISBULK; }
|
|
set { _ISBULK = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISFLAT
|
|
{
|
|
get { return _ISFLAT; }
|
|
set { _ISFLAT = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISDSCAR
|
|
{
|
|
get { return _ISDSCAR; }
|
|
set { _ISDSCAR = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string REMARKS
|
|
{
|
|
get { return _REMARKS; }
|
|
set { _REMARKS = value; }
|
|
}
|
|
[ModelDB]
|
|
public bool ISCN
|
|
{
|
|
get { return _ISCN; }
|
|
set { _ISCN = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string PORTTYPE
|
|
{
|
|
get { return _PORTTYPE; }
|
|
set { _PORTTYPE = value; }
|
|
}
|
|
public string PORTTYPEREF
|
|
{
|
|
get { return _PORTTYPEREF; }
|
|
set { _PORTTYPEREF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BORDERPORTID
|
|
{
|
|
get { return _BORDERPORTID; }
|
|
set { _BORDERPORTID = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public bool ISBORDERPORT
|
|
{
|
|
get { return _ISBORDERPORT; }
|
|
set { _ISBORDERPORT = value; }
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
public RailWayFrPortModel()
|
|
{
|
|
TableName = "code_railway_frport";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
}
|