Files
HTCloud/HT.Cloud.Domain/Entity/SystemOrganize/RoleAuthorizeEntity.cs
2023-08-24 09:28:09 +08:00

68 lines
2.1 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*******************************************************************************
* Copyright © 2020 HT.Cloud.Framework 版权所有
* Author: HT.Cloud
* Description: WaterCloud快速开发平台
* Website
*********************************************************************************/
using SqlSugar;
using System;
namespace HT.Cloud.Domain.SystemOrganize
{
/// <summary>
/// 角色权限实体
/// </summary>
[SugarTable("sys_roleauthorize")]
[TenantAttribute("0")]
public class RoleAuthorizeEntity : IEntity<RoleAuthorizeEntity>, ICreationAudited
{
/// <summary>
/// 主键Id
/// </summary>
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")]
public string F_Id { get; set; }
/// <summary>
/// 项目类型(1菜单2按钮3字段)
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "项目类型")]
public int? F_ItemType { get; set; }
/// <summary>
/// /项目Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_ItemId", ColumnDataType = "nvarchar(50)", ColumnDescription = "项目Id")]
public string F_ItemId { get; set; }
/// <summary>
/// 目标类型(1角色2租户)
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "目标类型")]
public int? F_ObjectType { get; set; }
/// <summary>
/// 目标Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_ObjectId", ColumnDataType = "nvarchar(50)", ColumnDescription = "目标Id")]
public string F_ObjectId { get; set; }
/// <summary>
/// 排序码
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "排序码")]
public int? F_SortCode { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
public DateTime? F_CreatorTime { get; set; }
/// <summary>
/// 创建人Id
/// </summary>
[SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")]
public string F_CreatorUserId { get; set; }
}
}