Response.cs 527 B

1234567891011121314151617181920
  1. using Application.Abstractions.Identity.Models;
  2. using System.ComponentModel;
  3. namespace Application.Features.Director.User.GetRoles
  4. {
  5. public class Response
  6. {
  7. public required AspNetUserDto User { get; set; }
  8. [DisplayName("역할 목록")]
  9. public List<Checkbox>? Roles { get; set; } = [];
  10. public class Checkbox
  11. {
  12. [DisplayName("역할 이름")]
  13. public string? DisplayValue { get; set; }
  14. public bool IsSelected { get; set; }
  15. }
  16. }
  17. }