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.
221 lines
4.9 KiB
C#
221 lines
4.9 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.SoftMng.Models.MsInfoClass
|
|
{
|
|
[JsonObject]
|
|
public class MsInfoClassEntity : ModelObjectBillHead
|
|
{
|
|
#region 属性
|
|
private int _id = 0;
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int ID
|
|
{
|
|
get { return _id; }
|
|
set { _id = value; }
|
|
}
|
|
|
|
private string _parentid = "";
|
|
/// <summary>
|
|
/// parentID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string PARENTID
|
|
{
|
|
get { return _parentid; }
|
|
set { _parentid = value; }
|
|
}
|
|
|
|
private string _classid = "";
|
|
/// <summary>
|
|
/// classID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CLASSID
|
|
{
|
|
get { return _classid; }
|
|
set { _classid = value; }
|
|
}
|
|
|
|
private string _classnameeng = "";
|
|
/// <summary>
|
|
/// classNameEng
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CLASSNAMEENG
|
|
{
|
|
get { return _classnameeng; }
|
|
set { _classnameeng = value; }
|
|
}
|
|
|
|
private string _classname = "";
|
|
/// <summary>
|
|
/// className
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CLASSNAME
|
|
{
|
|
get { return _classname; }
|
|
set { _classname = value; }
|
|
}
|
|
|
|
private string _classicon = "";
|
|
/// <summary>
|
|
/// classIcon
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CLASSICON
|
|
{
|
|
get { return _classicon; }
|
|
set { _classicon = value; }
|
|
}
|
|
|
|
private string _classkey = "";
|
|
/// <summary>
|
|
/// classKey
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CLASSKEY
|
|
{
|
|
get { return _classkey; }
|
|
set { _classkey = value; }
|
|
}
|
|
|
|
private int _classlocation = 0;
|
|
/// <summary>
|
|
/// classLocation
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int CLASSLOCATION
|
|
{
|
|
get { return _classlocation; }
|
|
set { _classlocation = value; }
|
|
}
|
|
|
|
private int _classattrib = 0;
|
|
/// <summary>
|
|
/// classAttrib
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int CLASSATTRIB
|
|
{
|
|
get { return _classattrib; }
|
|
set { _classattrib = value; }
|
|
}
|
|
|
|
private bool _haschild = false;
|
|
/// <summary>
|
|
/// hasChild
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool HASCHILD
|
|
{
|
|
get { return _haschild; }
|
|
set { _haschild = value; }
|
|
}
|
|
|
|
private bool _isused = false;
|
|
/// <summary>
|
|
/// isUsed
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISUSED
|
|
{
|
|
get { return _isused; }
|
|
set { _isused = value; }
|
|
}
|
|
|
|
private bool _issort = false;
|
|
/// <summary>
|
|
/// isSort
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool ISSORT
|
|
{
|
|
get { return _issort; }
|
|
set { _issort = value; }
|
|
}
|
|
|
|
private bool _sortattrib = false;
|
|
/// <summary>
|
|
/// sortAttrib
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool SORTATTRIB
|
|
{
|
|
get { return _sortattrib; }
|
|
set { _sortattrib = value; }
|
|
}
|
|
|
|
private int _sortid = 0;
|
|
/// <summary>
|
|
/// sortID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public int SORTID
|
|
{
|
|
get { return _sortid; }
|
|
set { _sortid = value; }
|
|
}
|
|
|
|
private string _author = "";
|
|
/// <summary>
|
|
/// author
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string AUTHOR
|
|
{
|
|
get { return _author; }
|
|
set { _author = value; }
|
|
}
|
|
|
|
private DateTime _createdate = DateTime.Now;
|
|
/// <summary>
|
|
/// createDate
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime CREATEDATE
|
|
{
|
|
get { return _createdate; }
|
|
set { _createdate = value; }
|
|
}
|
|
|
|
private DateTime _lastmodifydate = DateTime.Now;
|
|
/// <summary>
|
|
/// lastModifyDate
|
|
/// </summary>
|
|
[ModelDB]
|
|
public DateTime LASTMODIFYDATE
|
|
{
|
|
get { return _lastmodifydate; }
|
|
set { _lastmodifydate = value; }
|
|
}
|
|
|
|
private bool _del_sign = false;
|
|
/// <summary>
|
|
/// del_sign
|
|
/// </summary>
|
|
[ModelDB]
|
|
public bool DEL_SIGN
|
|
{
|
|
get { return _del_sign; }
|
|
set { _del_sign = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsInfoClassEntity()
|
|
{
|
|
TableName = "InfoClass";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "classID";
|
|
}
|
|
}
|
|
}
|