You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB
C#

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