using System.Text.Json.Serialization; using SPMS.Application.DTOs.Notice; namespace SPMS.Application.DTOs.Account; public class OperatorListResponseDto { [JsonPropertyName("items")] public List Items { get; set; } = new(); [JsonPropertyName("pagination")] public PaginationDto Pagination { get; set; } = new(); } public class OperatorItemDto { [JsonPropertyName("admin_code")] public string AdminCode { get; set; } = string.Empty; [JsonPropertyName("email")] public string Email { get; set; } = string.Empty; [JsonPropertyName("name")] public string Name { get; set; } = string.Empty; [JsonPropertyName("role")] public int Role { get; set; } [JsonPropertyName("is_active")] public bool IsActive { get; set; } [JsonPropertyName("last_login_at")] public DateTime? LastLoginAt { get; set; } [JsonPropertyName("created_at")] public DateTime CreatedAt { get; set; } }