32 lines
999 B
C#
32 lines
999 B
C#
using Dlhis.Entity.Permission.Enums;
|
|
using Kurisu.Core.DataAccess.Entity;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Permission.Entities;
|
|
|
|
/// <summary>
|
|
/// 设备权限
|
|
/// </summary>
|
|
[SugarTable(TableName = "DevicePermission", TableDescription = "设备权限")]
|
|
public class DevicePermissionEntity : ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 设备权限类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "设备权限类型", SqlParameterDbType = typeof(DevicePermissionTypeEnumType))]
|
|
public DevicePermissionTypeEnumType UniqueType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类型值
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "类型值")]
|
|
public string UniqueValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备code
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "设备code")]
|
|
public string Code { get; set; }
|
|
|
|
public string TenantId { get; set; }
|
|
} |