DD.WellWorkover.Cloud/AsbCloudApp/Data/UserRoleDto.cs
2021-11-30 09:34:23 +05:00

18 lines
530 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<int> PermissionIds { get; set; }
public IEnumerable<PermissionDto> Permissions { get; set; }
[JsonIgnore]
public virtual ICollection<UserDto> Users { get; set; }
}
}