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/Disport/DisportModel.cs

100 lines
2.3 KiB
C#

2 years ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
using HcUtility.Core;
namespace DSWeb.Areas.MvcShipping.Models.Disport
{
[JsonObject]
public class DisportModel : 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;
private string _LANEGID;
[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; }
}
//航线
public string LANE
{
get { return _LANE; }
set { _LANE = value; }
}
public string LANEGID
{
get { return _LANEGID; }
set { _LANEGID = value; }
}
}
}