using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; using SqlSugar; namespace OpenAuth.Repository.Domain { /// /// 角色表 /// [SugarTable("sys_role")] public partial class SysRole { [SugarColumn(IsPrimaryKey = true)] public long Id { get; set; } /// /// 角色名称 /// [Description("角色名称")] public string Name { get; set; } = string.Empty; /// /// 当前状态 /// [Description("当前状态")] public int Status { get; set; } = 0; /// /// 创建时间 /// [Description("创建时间")] public System.DateTime CreateTime { get; set; } = DateTime.Now; /// /// 创建人ID /// [Description("创建人ID")] public string CreateId { get; set; } = string.Empty; } }