|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.SysMng.Models.Enum
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class SysEnumValue : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private decimal _langID = 0;
|
|
|
|
|
private string _enumTypeID = String.Empty;
|
|
|
|
|
private string _enumValueID = String.Empty;
|
|
|
|
|
private string _enumValueName = "1.00";
|
|
|
|
|
private string _enumValueName_2 = "1.00";
|
|
|
|
|
private string _isDefault = "0";
|
|
|
|
|
private decimal _dispIndex = 0;
|
|
|
|
|
private string _verNo = "1.00";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal LangID
|
|
|
|
|
{
|
|
|
|
|
get { return _langID; }
|
|
|
|
|
set { _langID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string EnumTypeID
|
|
|
|
|
{
|
|
|
|
|
get { return _enumTypeID; }
|
|
|
|
|
set { _enumTypeID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string EnumValueID
|
|
|
|
|
{
|
|
|
|
|
get { return _enumValueID; }
|
|
|
|
|
set { _enumValueID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EnumValueName
|
|
|
|
|
{
|
|
|
|
|
get { return _enumValueName; }
|
|
|
|
|
set { _enumValueName = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string EnumValueName_2
|
|
|
|
|
{
|
|
|
|
|
get { return _enumValueName_2; }
|
|
|
|
|
set { _enumValueName_2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string IsDefault
|
|
|
|
|
{
|
|
|
|
|
get { return _isDefault; }
|
|
|
|
|
set { _isDefault = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public decimal DispIndex
|
|
|
|
|
{
|
|
|
|
|
get { return _dispIndex; }
|
|
|
|
|
set { _dispIndex = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VerNo
|
|
|
|
|
{
|
|
|
|
|
get { return _verNo; }
|
|
|
|
|
set { _verNo = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public SysEnumValue()
|
|
|
|
|
{
|
|
|
|
|
TableName = "tSysEnumValue";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "EnumTypeID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|