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/MsCodeCountry/MsCodeCountryModel.cs

107 lines
2.4 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCodeCountry
{
[JsonObject]
public class CodeCountry : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _COUNTRYID = string.Empty;
private string _COUNTRY = String.Empty;
private string _COUNTRYENAME = String.Empty;
private string _CAPITAL = String.Empty;
private string _CHAU = String.Empty;
private string _EXPLAIN = String.Empty;
private string _COUNTRYID_3 = String.Empty;
private string _TARIFF = String.Empty;
private string _TARIFFREF = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string COUNTRYID
{
get { return _COUNTRYID; }
set { _COUNTRYID = value; }
}
[ModelDB]
public string COUNTRY
{
get { return _COUNTRY; }
set { _COUNTRY = value; }
}
[ModelDB]
public string COUNTRYENAME
{
get { return _COUNTRYENAME; }
set { _COUNTRYENAME = value; }
}
public string CAPITAL
{
get { return _CAPITAL; }
set { _CAPITAL = value; }
}
[ModelDB]
public string CHAU
{
get { return _CHAU; }
set { _CHAU = value; }
}
[ModelDB]
public string EXPLAIN
{
get { return _EXPLAIN; }
set { _EXPLAIN = value; }
}
[ModelDB]
public string COUNTRYID_3
{
get { return _COUNTRYID_3; }
set { _COUNTRYID_3 = value; }
}
[ModelDB]
public string TARIFF
{
get { return _TARIFF; }
set { _TARIFF = value; }
}
public string TARIFFREF
{
get { return _TARIFFREF; }
set { _TARIFFREF = value; }
}
#endregion
public CodeCountry()
{
TableName = "code_country";
}
}
#region 参照部分
#endregion
}