DD.WellWorkover.Cloud/AsbCloudApp/Data/UserRoleDto.cs
Фролов 551c60c4ff Add/refactor services for permissions authorization model.
Rename some fields in DB.permission.
2021-12-11 16:46:04 +05:00

17 lines
474 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace AsbCloudApp.Data
{
public class UserRoleDto : IId
{
public int Id { get; set; }
public string Caption { get; set; }
public int? IdParent { get; set; }
public int IdType { get; set; }
public IEnumerable<PermissionBaseDto> Permissions { get; set; }
[JsonIgnore]
public virtual ICollection<UserDto> Users { get; set; }
}
}