32 lines
951 B
C#
32 lines
951 B
C#
using Kurisu.AspNetCore.DataAccess.Entity;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 设备权限分配
|
|
/// </summary>
|
|
[SugarTable(TableName = "DevicePermissionAssignment", TableDescription = "设备权限分配")]
|
|
public class DevicePermissionAssignmentEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 分配json
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(1000)", ColumnDescription = "分配json")]
|
|
public string Assignment { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否处理
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "bit(1)", ColumnDescription = "是否处理")]
|
|
public bool IsHandler { get; set; }
|
|
|
|
/// <summary>
|
|
/// 处理结果
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "处理结果")]
|
|
public string Result { get; set; }
|
|
|
|
public string TenantId { get; set; }
|
|
} |