forked from ddrilling/AsbCloudServer
CS2-123: Added [JsonIgnore] to UserRoleDto
This commit is contained in:
parent
9280b28e10
commit
fd139079a4
@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AsbCloudApp.Data
|
||||
{
|
||||
@ -8,8 +9,9 @@ namespace AsbCloudApp.Data
|
||||
public string Caption { get; set; }
|
||||
public int? IdParent { get; set; }
|
||||
public int IdType { get; set; }
|
||||
public virtual ICollection<UserDto> Users { get; set; }
|
||||
public IEnumerable<int> PermissionIds { get; set; }
|
||||
public IEnumerable<PermissionDto> Permissions { get; set; }
|
||||
[JsonIgnore]
|
||||
public virtual ICollection<UserDto> Users { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user