namespace ClassNotify.Shared.Models; /// /// 教室设备首次激活请求 DTO /// public class DeviceActivationRequestDto { /// /// 一次性设备激活码 (例如: H8K4-29DP) /// public string ActivationCode { get; set; } = string.Empty; /// /// 教室电脑主机名 /// public string Hostname { get; set; } = Environment.MachineName; /// /// 客户端版本号 /// public string ClientVersion { get; set; } = "2.1.0"; /// /// 安装实例唯一标识符 (例如: inst_550e8400-e29b-41d4-a716-446655440000) /// public string InstallationId { get; set; } = string.Empty; /// /// 用户/老师自定义班级名称 (例如: 八年级(1)班、初二创新班) /// public string? CustomClassName { get; set; } /// /// 客户端采集的设备硬件特征哈希 (SMBIOS UUID + Board + Disk + MachineGuid) /// public string? HardwareComponentsHash { get; set; } public int FingerprintVersion { get; set; } = 1; }