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.
179 lines
4.2 KiB
C#
179 lines
4.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using Newtonsoft.Json;
|
|
using HcUtility.Core;
|
|
|
|
namespace DSWeb.Areas.MvcShipping.Models.MsCodeGoods
|
|
{
|
|
[JsonObject]
|
|
public class Disport : ModelObjectBillHead
|
|
{
|
|
private string _PORTID=Guid.NewGuid().ToString();//业务编号
|
|
private string _GID;
|
|
private string _PORT;//
|
|
private string _cname;//
|
|
private string _CHAU;//
|
|
private string _DESCRIP;
|
|
private string _PORTTYPE;
|
|
private string _EDICODE;
|
|
private string _country;
|
|
private string _LANE;
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string PORTID
|
|
{
|
|
get { return _PORTID; }
|
|
set { _PORTID = value; }
|
|
}
|
|
//[ModelDB]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
|
|
|
|
[ModelDB]
|
|
//英文名称
|
|
public string PORT
|
|
{
|
|
get { return _PORT; }
|
|
set { _PORT = value; }
|
|
}
|
|
[ModelDB]
|
|
//中文名称
|
|
public string cname
|
|
{
|
|
get { return _cname; }
|
|
set { _cname = value; }
|
|
}
|
|
[ModelDB]
|
|
//州
|
|
public string CHAU
|
|
{
|
|
get { return _CHAU; }
|
|
set { _CHAU = value; }
|
|
}
|
|
[ModelDB]
|
|
//港口说明
|
|
public string DESCRIP
|
|
{
|
|
get { return _DESCRIP; }
|
|
set { _DESCRIP = value; }
|
|
}
|
|
[ModelDB]
|
|
//港口类型
|
|
public string PORTTYPE
|
|
{
|
|
get { return _PORTTYPE; }
|
|
set { _PORTTYPE = value; }
|
|
}
|
|
[ModelDB]
|
|
//edi编码
|
|
public string EDICODE
|
|
{
|
|
get { return _EDICODE; }
|
|
set { _EDICODE = value; }
|
|
}
|
|
[ModelDB]
|
|
//国家
|
|
public string country
|
|
{
|
|
get { return _country; }
|
|
set { _country = value; }
|
|
}
|
|
[ModelDB]
|
|
//航线
|
|
public string LANE
|
|
{
|
|
get { return _LANE; }
|
|
set { _LANE = value; }
|
|
}
|
|
}
|
|
[JsonObject]
|
|
public class DisportDetail : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
|
|
private string _PORTID = String.Empty;
|
|
private string _PORT = String.Empty;
|
|
private string _cname = String.Empty;
|
|
private string _CHAU = String.Empty;
|
|
private string _DESCRIP = String.Empty;
|
|
private string _PORTTYPE = String.Empty;
|
|
private string _EDICODE = String.Empty;
|
|
private string _country = String.Empty;
|
|
private string _LANE = String.Empty;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string PORTID
|
|
{
|
|
get { return _PORTID; }
|
|
set { _PORTID = value; }
|
|
}
|
|
[ModelDB]
|
|
//英文名称
|
|
public string PORT
|
|
{
|
|
get { return _PORT; }
|
|
set { _PORT = value; }
|
|
}
|
|
[ModelDB]
|
|
//中文名称
|
|
public string cname
|
|
{
|
|
get { return _cname; }
|
|
set { _cname = value; }
|
|
}
|
|
[ModelDB]
|
|
//州
|
|
public string CHAU
|
|
{
|
|
get { return _CHAU; }
|
|
set { _CHAU = value; }
|
|
}
|
|
[ModelDB]
|
|
//港口说明
|
|
public string DESCRIP
|
|
{
|
|
get { return _DESCRIP; }
|
|
set { _DESCRIP = value; }
|
|
}
|
|
[ModelDB]
|
|
//港口类型
|
|
public string PORTTYPE
|
|
{
|
|
get { return _PORTTYPE; }
|
|
set { _PORTTYPE = value; }
|
|
}
|
|
[ModelDB]
|
|
//edi编码
|
|
public string EDICODE
|
|
{
|
|
get { return _EDICODE; }
|
|
set { _EDICODE = value; }
|
|
}
|
|
[ModelDB]
|
|
//国家
|
|
public string country
|
|
{
|
|
get { return _country; }
|
|
set { _country = value; }
|
|
}
|
|
[ModelDB]
|
|
//航线
|
|
public string LANE
|
|
{
|
|
get { return _LANE; }
|
|
set { _LANE = value; }
|
|
}
|
|
|
|
|
|
#endregion
|
|
}
|
|
} |