📄 role.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace HardwareDistributor.Business
{
public class Role
{
private int _roleId;
private string _roleName;
public Role() { }
public Role(int roleId, string roleName)
{
this._roleId = roleId;
this._roleName = roleName;
}
/// <summary>
/// Unique Role Id
/// </summary>
public int RoleId
{
get
{
return _roleId;
}
set
{
_roleId = value;
}
}
/// <summary>
/// Name that describes the Role
/// </summary>
public string RoleName
{
get
{
return _roleName;
}
set
{
_roleName = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -