using System.Collections.Generic; namespace TelegramAuthBot.Models { public sealed class BindCompleteResult { public bool Ok { get; set; } public bool PendingAdminApproval { get; set; } } public class UserByTelegramDto { public bool found { get; set; } public string telegramId { get; set; } public string username { get; set; } public string role { get; set; } public string lang { get; set; } public bool disabled { get; set; } public bool registrationPending { get; set; } public bool active { get; set; } public string expiresAt { get; set; } public int deviceCount { get; set; } public int maxDevices { get; set; } } public class DevicesResponseDto { public string telegramId { get; set; } public string username { get; set; } public List devices { get; set; } } public class DeviceDto { public string uid { get; set; } public string name { get; set; } public bool active { get; set; } } public class AdminUsersListResponseDto { public bool ok { get; set; } public List users { get; set; } } public class AdminUserAccsBriefDto { public int? group { get; set; } public bool? IsPasswd { get; set; } public bool? ban { get; set; } public string ban_msg { get; set; } public string comment { get; set; } public List ids { get; set; } } public class AdminUserRowDto { public string telegramId { get; set; } public string username { get; set; } public string role { get; set; } public bool disabled { get; set; } public bool registrationPending { get; set; } public bool active { get; set; } public string expiresAt { get; set; } public int deviceCount { get; set; } public AdminUserAccsBriefDto accs { get; set; } } }