fix tenantId
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using Dlhis.Entity.Device.Enums;
|
using Dlhis.Entity.Device.Enums;
|
||||||
using Dlhis.Entity.Sys.Enums;
|
using Dlhis.Entity.Sys.Enums;
|
||||||
|
using Kurisu.AspNetCore.DataAccess.Entity;
|
||||||
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using SqlSugar.DbConvert;
|
using SqlSugar.DbConvert;
|
||||||
@@ -7,7 +8,7 @@ using SqlSugar.DbConvert;
|
|||||||
namespace Dlhis.Entity.Sys.Entities;
|
namespace Dlhis.Entity.Sys.Entities;
|
||||||
|
|
||||||
[SugarTable(TableName = "DataPermissions")]
|
[SugarTable(TableName = "DataPermissions")]
|
||||||
public class DataPermissionEntity : SugarBaseEntity
|
public class DataPermissionEntity : SugarBaseEntity, ITenantId
|
||||||
{
|
{
|
||||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||||
public AssignTypeEnumType AssignType { get; set; }
|
public AssignTypeEnumType AssignType { get; set; }
|
||||||
@@ -24,4 +25,7 @@ public class DataPermissionEntity : SugarBaseEntity
|
|||||||
|
|
||||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||||
public DeviceTypeEnumType DeviceType { get; set; }
|
public DeviceTypeEnumType DeviceType { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
public string TenantId { get; set; }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user