using BookmarkApi.Shared.Enums;

namespace BookmarkApi.Shared.DTOs;

/// <summary>
/// 设备信息 DTO
/// </summary>
public class DeviceDto
{
    /// <summary>
    /// 设备ID
    /// </summary>
    public Guid Id { get; set; }

    /// <summary>
    /// 设备名称
    /// </summary>
    public string DeviceName { get; set; } = string.Empty;

    /// <summary>
    /// 设备类型
    /// </summary>
    public string DeviceType { get; set; } = string.Empty;

    /// <summary>
    /// 是否为管理员设备
    /// </summary>
    public bool IsAdmin { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreatedAt { get; set; }

    /// <summary>
    /// 最后活跃时间
    /// </summary>
    public DateTime LastActiveAt { get; set; }

    /// <summary>
    /// 设备状态
    /// </summary>
    public DeviceStatus Status { get; set; }
}

