using BPA.SAAS.Manage.Comm.Enum; using BPA.SAAS.Manage.Core.Base; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Core.Org { /// /// 角色 /// [SugarTable("bpa_roles")] public class BPA_Roles:IBaseEntity, IGroupId { /// /// 角色名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 排序 /// public int Sort { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 角色类型-集团角色_0、加盟商角色_1、门店角色_2 /// public int RoleType { get; set; } /// /// 加盟商id /// public string GroupId { get; set; } /// /// 状态 【正常 停用】默认 正常 /// [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)] public CommonStatus Status { get; set; } = CommonStatus.ENABLE; } }