Response.cs 477 B

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