using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCrmKeyCodeSet
{
[JsonObject]
public class MsCrmKeyCodeSet : ModelObjectBillHead
{
#region 读写属性
private string _id = "";
///
/// ID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string ID
{
get { return _id; }
set { _id = value; }
}
private string _keytype = "";
///
/// 上级ID
///
[ModelDB]
public string KEYTYPE
{
get { return _keytype; }
set { _keytype = value; }
}
private string _keyvalue = "";
///
/// 值
///
[ModelDB]
public string KEYVALUE
{
get { return _keyvalue; }
set { _keyvalue = value; }
}
#endregion
public MsCrmKeyCodeSet()
{
TableName = "crm_key_code";
}
override public string GetBillNoFieldName()
{
return "ID";
}
}
[JsonObject]
public class Sys_EnumerationMD : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
///
/// ID
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _VALUE = "";
///
/// 值
///
[ModelDB]
public string VALUE
{
get { return _VALUE; }
set { _VALUE = value; }
}
private string _NAME = "";
///
/// 名字
///
[ModelDB]
public string NAME
{
get { return _NAME; }
set { _NAME = value; }
}
private string _TYPE = "";
///
/// 类型
///
[ModelDB]
public string TYPE
{
get { return _TYPE; }
set { _TYPE = value; }
}
#endregion
public Sys_EnumerationMD()
{
TableName = "sys_Enumeration";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
}