2021-09-10 11:28:57 +05:00
|
|
|
|
using System.Collections.Generic;
|
2021-11-30 09:34:23 +05:00
|
|
|
|
using System.Text.Json.Serialization;
|
2021-09-10 11:28:57 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data
|
|
|
|
|
{
|
|
|
|
|
public class UserRoleDto : IId
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string Caption { get; set; }
|
2021-11-29 17:34:53 +05:00
|
|
|
|
public int? IdParent { get; set; }
|
|
|
|
|
public int IdType { get; set; }
|
2021-12-11 16:46:04 +05:00
|
|
|
|
public IEnumerable<PermissionBaseDto> Permissions { get; set; }
|
2021-11-30 09:34:23 +05:00
|
|
|
|
[JsonIgnore]
|
|
|
|
|
public virtual ICollection<UserDto> Users { get; set; }
|
2021-09-10 11:28:57 +05:00
|
|
|
|
}
|
|
|
|
|
}
|