role.cs
来自「微软的行业应用解决方案实例!非常优秀的Windows Mobile开发案例」· CS 代码 · 共 54 行
CS
54 行
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 + =
减小字号Ctrl + -
显示快捷键?