增加字段dto数据传输对象,对该角色没有关联的属性是否授权赋值为null
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace ZR.ServiceCore.Model.Dto;
|
||||
|
||||
public class SysFieldDto
|
||||
{
|
||||
[JsonConverter(typeof(ValueToStringConverter))]
|
||||
public long Id { get; set; }
|
||||
|
||||
public string FieldName { get; set; }
|
||||
|
||||
public string FullName { get; set; }
|
||||
|
||||
public string FieldType { get; set; }
|
||||
|
||||
public string IsClass { get; set; }
|
||||
|
||||
public bool IsPermission { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using Infrastructure.Attribute;
|
||||
using ZR.Service;
|
||||
using ZR.ServiceCore.Model;
|
||||
using ZR.ServiceCore.Services.IService;
|
||||
|
||||
namespace ZR.ServiceCore.Services;
|
||||
[AppService(ServiceType = typeof(ISysRoleFieldService), ServiceLifetime = LifeTime.Transient)]
|
||||
public class SysRoleFieldService : BaseService<SysRoleField>, ISysRoleFieldService
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user