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/MsCodeAirPort/AirPortModel.cs

95 lines
2.1 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.CodeAirPort
{
[JsonObject]
public class CodeAirPort : 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 _CODEANDCNAME = String.Empty;
private string _COUNTRY = String.Empty;
private string _CITY = 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; }
}
public string CODEANDCNAME
{
get { return _CODEANDCNAME; }
set { _CODEANDCNAME = value; }
}
[ModelDB]
public string COUNTRY
{
get { return _COUNTRY; }
set { _COUNTRY = value; }
}
[ModelDB]
public string CITY
{
get { return _CITY; }
set { _CITY = value; }
}
public string LANEGID {set;get;}
public string LANE { set; get; }
#endregion
public CodeAirPort()
{
TableName = "code_air_port";
}
}
#region 参照部分
#endregion
}