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 _PORT;//
private string _cname;//
private string _CHAU;//
private string _PORTTYPE;
private string _EDICODE;
private string _country;
2 years ago
private string _countryid;
2 years ago
private string _LANE;
private string _LANEGID;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string PORTID
{
get { return _PORTID; }
set { _PORTID = value; }
}
2 years ago
2 years ago
[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; }
}
2 years ago
2 years ago
[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; }
}
2 years ago
[ModelDB]
//国家
public string countryid
{
get { return _countryid; }
set { _countryid = value; }
}
2 years ago
//航线
public string LANE
{
get { return _LANE; }
set { _LANE = value; }
}
2 years ago
[ModelDB]
2 years ago
public string LANEGID
{
get { return _LANEGID; }
set { _LANEGID = value; }
}
2 years ago
[ModelDB]
public string EXPLAIN { get; set; }
public DisportModel()
{
TableName = "code_disport";
}
2 years ago
}
}