using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlSugarDemo { /// /// 角色信息表 /// [SugarTable("Unit_SYS_Role")] public partial class RoleEntity { /// /// 角色Id /// [SugarColumn(IsPrimaryKey = true)] public Guid RoleId { get; set; } /// /// 角色名称 /// public string RoleName { get; set; } /// /// 角色类型|0-系统超管角色|1-系统普通角色|2-功能组| /// public int RoleType { get; set; } /// /// 价格 /// public decimal? UnitPrice { get; set; } /// /// 数量 /// public int? Quantity { get; set; } /// /// 排序 /// public int? SortNum { get; set; } /// /// 所属账号(账号表Id) /// public Guid ManageAccount { get; set; } /// /// 所属机构(账号所属公司的一级机构) /// public Guid ManageOrg { get; set; } /// /// 账号所属组织 /// public Guid OrganizationId { get; set; } } }