You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
using System;
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
|
namespace Elight.Entity
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 角色表
|
|
|
|
/// </summary>
|
|
|
|
[Serializable]
|
|
|
|
[DataContract]
|
|
|
|
[SugarTable("app_sys_role")]
|
|
|
|
public class App_Sys_RoleModel
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 表里用户唯一标识符,自增长Id
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
|
|
public string? Id { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 单位编码
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string? unitCode { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 角色名称
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string? name { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 用户Id
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string? userId { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 用户名称
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string? username { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public DateTime? creationtime { get; set; } = DateTime.Now;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除
|
|
|
|
/// </summary>
|
|
|
|
[DataMember]
|
|
|
|
public int IsDeleted { get; set; } = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|