⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 role.cs

📁 微软的行业应用解决方案实例!非常优秀的Windows Mobile开发案例
💻 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 + -