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/MsBaseInfo/ModuTreeRefModel.cs

151 lines
2.9 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.ModuTreeRef
{
[JsonObject]
public class ModuTreeRefModel : ModelObjectBase
{
#region private Fields
private string _gid = string.Empty;
private string _name = String.Empty;
private string _description = String.Empty;
private string _moduleurl = String.Empty;
private string _parentid = String.Empty;
private string _parentname = String.Empty;
private decimal _sort = 0;
private decimal _type = 0;
private Boolean _leaf =true;
private Boolean _expanded = true;
#endregion
#region Public Properties
[ModelDB]
public string id
{
get { return _gid; }
set { _gid = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string NAME
{
get { return _name; }
set { _name = value; }
}
[ModelDB]
public string DESCRIPTION
{
get { return _description; }
set { _description = value; }
}
[ModelDB]
public string MODULEURL
{
get { return _moduleurl; }
set { _moduleurl = value; }
}
[ModelDB]
public string PARENTID
{
get
{
return _parentid;
}
set
{
_parentid = value;
}
}
[ModelDB]
public string PARENTNAME
{
get
{
return _parentname;
}
set
{
_parentname = value;
}
}
[ModelDB]
public decimal SORT
{
get { return _sort; }
set { _sort = value; }
}
[ModelDB]
public decimal TYPE
{
get { return _type; }
set { _type = value; }
}
public Boolean leaf
{
get { return _leaf; }
set { _leaf = value; }
}
public Boolean expanded
{
get { return _expanded; }
set { _expanded = value; }
}
#endregion
public ModuTreeRefModel()
{
TableName = "sys_module";
}
}
[JsonObject]
public class OPCODE : ModelObjectBillBody
{
private string _opcode = String.Empty;
#region Public Properties
public string OPID
{
get { return _opcode; }
set { _opcode = value; }
}
#endregion
}
[JsonObject]
public class OPCODE_Limit
{
public string OPID { get; set; }
public OPCODE_Limit() { }
public OPCODE_Limit(OPCODE OPCODE) {
OPID = OPCODE.OPID;
}
}
#region 参照部分
#endregion
}