feat 手动生成权限任务

This commit is contained in:
2024-12-19 16:08:56 +08:00
parent 0f69c56a93
commit 41411b4f2e
7 changed files with 219 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using Dlhis.DataPermission.Model;
using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using SqlSugar;
namespace Dlhis.Entity.Device.Entities;
/// <summary>
/// 设备权限(手动)
/// </summary>
[SugarTable(TableName = "DevicePermissionManually")]
public class DevicePermissionManuallyEntity : SugarBaseEntity, ISoftDeleted
{
[DeviceCode]
[SugarColumn(IsNullable = false)]
public Guid DeviceCode { get; set; }
[SugarColumn(IsNullable = false)]
public string UserNo { get; set; }
/// <inheritdoc />
public bool IsDeleted { get; set; }
}