using Dlhis.DataPermission.Model; using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Device.Entities; /// /// 设备权限(手动) /// [SugarTable(TableName = "DevicePermissionManually")] public class DevicePermissionManuallyEntity : SugarBaseEntity, ISoftDeleted, ITenantId { [DeviceCode] [SugarColumn(IsNullable = false)] public Guid DeviceCode { get; set; } [SugarColumn(IsNullable = false)] public string UserNo { get; set; } /// /// 有效时间 /// [SugarColumn(IsNullable = true)] public DateTime? ValidDateTime { get; set; } public bool IsDeleted { get; set; } public string TenantId { get; set; } }