using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wispro.sp.entity
{
    /// <summary>
    /// 用户角色
    /// </summary>
    public class Role
    {
        public int Id { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 角色备注
        /// </summary>
        public string Memo { get; set; }

        /// <summary>
        /// 拥有角色用户
        /// </summary>
        public virtual List<Staff> Staffs { get; set; }

        /// <summary>
        /// 拥有角色的部门职位
        /// </summary>
        public virtual List<DepartmentPosition> DepartmentPositions { get; set; }
    }
}
