|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeFactry
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CodeFactry : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
|
|
|
private string _CODENAME = string.Empty;
|
|
|
|
|
private string _CUSTOMERNAME = String.Empty;
|
|
|
|
|
private string _FACTRYNAME = String.Empty;
|
|
|
|
|
private string _FACTRYADDR = String.Empty;
|
|
|
|
|
private string _FACTRYATTN= String.Empty;
|
|
|
|
|
private string _FACTRYTEL = String.Empty;
|
|
|
|
|
private string _codeAndName = String.Empty;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CODENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CODENAME; }
|
|
|
|
|
set { _CODENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTOMERNAME; }
|
|
|
|
|
set { _CUSTOMERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _FACTRYNAME; }
|
|
|
|
|
set { _FACTRYNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYADDR
|
|
|
|
|
{
|
|
|
|
|
get { return _FACTRYADDR; }
|
|
|
|
|
set { _FACTRYADDR = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYATTN
|
|
|
|
|
{
|
|
|
|
|
get { return _FACTRYATTN; }
|
|
|
|
|
set { _FACTRYATTN = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYTEL
|
|
|
|
|
{
|
|
|
|
|
get { return _FACTRYTEL; }
|
|
|
|
|
set { _FACTRYTEL = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CodeAndName
|
|
|
|
|
{
|
|
|
|
|
get { return _codeAndName; }
|
|
|
|
|
set { _codeAndName = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CodeFactry()
|
|
|
|
|
{
|
|
|
|
|
TableName = "code_factry";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|