using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
using SqlSugar;
namespace OpenAuth.Repository.Domain
{
///
/// 资源表
///
[SugarTable("sys_resource")]
public partial class SysResource : TreeEntity
{
///
/// 排序号
///
[Description("排序号")]
public int SortNo { get; set; }
///
/// 描述
///
[Description("描述")]
public string Description { get; set; }
///
/// 资源所属应用ID
///
[Description("资源所属应用ID")]
[Browsable(false)]
public string AppId { get; set; }
///
/// 所属应用名称
///
[Description("所属应用名称")]
public string AppName { get; set; }
///
/// 分类名称
///
[Description("分类名称")]
public string TypeName { get; set; }
///
/// 分类ID
///
[Description("分类ID")]
[Browsable(false)]
public string TypeId { get; set; }
///
/// 是否可用
///
[Description("是否可用")]
public bool Disable { get; set; }
///
/// 创建时间
///
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
///
/// 创建人ID
///
[Description("创建人ID")]
[Browsable(false)]
public long CreateUserId { get; set; }
///
/// 创建人
///
[Description("创建人")]
public string CreateUserName { get; set; }
///
/// 最后更新时间
///
[Description("最后更新时间")]
public System.DateTime? UpdateTime { get; set; }
///
/// 最后更新人ID
///
[Description("最后更新人ID")]
[Browsable(false)]
public long UpdateUserId { get; set; }
///
/// 最后更新人
///
[Description("最后更新人")]
public string UpdateUserName { get; set; }
}
}