forked from ddrilling/AsbCloudServer
19 lines
505 B
C#
19 lines
505 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 IdType { get; set; }
|
|
public IEnumerable<PermissionDto> Permissions { get; set; }
|
|
public virtual ICollection<UserRoleDto> Roles { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual ICollection<UserDto> Users { get; set; }
|
|
|
|
}
|
|
}
|