2022-05-05 20:18:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//模板信息:{"Template":{"Language":"C#"}}
|
|
|
|
|
//输出信息:{"Extension":".cs","FileName":"Model\\SYS\\Role"}
|
|
|
|
|
using System;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
namespace CleanMachine.Model.SYS
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class Role
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private int roleId;
|
|
|
|
|
private string roleCode;
|
|
|
|
|
private string roleName;
|
|
|
|
|
private int roleGrade;
|
|
|
|
|
private int usedFlag;
|
|
|
|
|
private int delFlag;
|
|
|
|
|
private int createBy;
|
|
|
|
|
private DateTime createTime;
|
|
|
|
|
private int updateBy;
|
|
|
|
|
private DateTime updateTime;
|
|
|
|
|
private int dataVersion;
|
|
|
|
|
private string remarks1;
|
|
|
|
|
private string remarks2;
|
|
|
|
|
private string remarks3;
|
|
|
|
|
private string remarks4;
|
|
|
|
|
private string remarks5;
|
2022-05-06 10:36:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-05 20:18:34 +08:00
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int RoleId
|
|
|
|
|
{
|
|
|
|
|
get { return this.roleId; }
|
|
|
|
|
set { this.roleId=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RoleCode
|
|
|
|
|
{
|
|
|
|
|
get { return this.roleCode; }
|
|
|
|
|
set { this.roleCode=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RoleName
|
|
|
|
|
{
|
|
|
|
|
get { return this.roleName; }
|
|
|
|
|
set { this.roleName=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int RoleGrade
|
|
|
|
|
{
|
|
|
|
|
get { return this.roleGrade; }
|
|
|
|
|
set { this.roleGrade=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int UsedFlag
|
|
|
|
|
{
|
|
|
|
|
get { return this.usedFlag; }
|
|
|
|
|
set { this.usedFlag=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int DelFlag
|
|
|
|
|
{
|
|
|
|
|
get { return this.delFlag; }
|
|
|
|
|
set { this.delFlag=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int CreateBy
|
|
|
|
|
{
|
|
|
|
|
get { return this.createBy; }
|
|
|
|
|
set { this.createBy=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return this.createTime; }
|
|
|
|
|
set { this.createTime=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int UpdateBy
|
|
|
|
|
{
|
|
|
|
|
get { return this.updateBy; }
|
|
|
|
|
set { this.updateBy=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime UpdateTime
|
|
|
|
|
{
|
|
|
|
|
get { return this.updateTime; }
|
|
|
|
|
set { this.updateTime=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int DataVersion
|
|
|
|
|
{
|
|
|
|
|
get { return this.dataVersion; }
|
|
|
|
|
set { this.dataVersion=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remarks1
|
|
|
|
|
{
|
|
|
|
|
get { return this.remarks1; }
|
|
|
|
|
set { this.remarks1=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remarks2
|
|
|
|
|
{
|
|
|
|
|
get { return this.remarks2; }
|
|
|
|
|
set { this.remarks2=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remarks3
|
|
|
|
|
{
|
|
|
|
|
get { return this.remarks3; }
|
|
|
|
|
set { this.remarks3=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remarks4
|
|
|
|
|
{
|
|
|
|
|
get { return this.remarks4; }
|
|
|
|
|
set { this.remarks4=value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remarks5
|
|
|
|
|
{
|
|
|
|
|
get { return this.remarks5; }
|
|
|
|
|
set { this.remarks5=value;}
|
|
|
|
|
}
|
2022-05-06 10:36:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2022-05-05 20:18:34 +08:00
|
|
|
}
|