feat 数据权限支持用户组
This commit is contained in:
@@ -10,21 +10,17 @@ namespace Dlhis.Entity.Sys.Entities;
|
||||
[SugarTable(TableName = "DataPermissions")]
|
||||
public class DataPermissionEntity : SugarBaseEntity, ITenantId
|
||||
{
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public AssignTypeEnumType AssignType { get; set; }
|
||||
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public string AssignValue { get; set; }
|
||||
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceAssignmentTypeEnumType UniqueType { get; set; }
|
||||
public DataPermissionAssignmentEnumType UniqueType { get; set; }
|
||||
|
||||
[SugarColumn(IsNullable = false)]
|
||||
public Guid UniqueValue { get; set; }
|
||||
|
||||
|
||||
[SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceTypeEnumType DeviceType { get; set; }
|
||||
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public DeviceTypeEnumType? DeviceType { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public string TenantId { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user