DD.WellWorkover.Cloud/AsbCloudApp/Data/UserRoleDto.cs

19 lines
505 B
C#
Raw Normal View History

2021-09-10 11:28:57 +05:00
using System.Collections.Generic;
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; }
public int IdType { get; set; }
2021-12-20 15:17:09 +05:00
public IEnumerable<PermissionDto> Permissions { get; set; }
public virtual ICollection<UserRoleDto> Roles { get; set; }
[JsonIgnore]
public virtual ICollection<UserDto> Users { get; set; }
2021-09-10 11:28:57 +05:00
}
}