using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace SPMS.Application.DTOs.Device; public class DeviceAgreeRequestDto { [Required] [JsonPropertyName("device_id")] public string DeviceId { get; set; } = string.Empty; [Required] [JsonPropertyName("push_agreed")] public bool PushAgreed { get; set; } [Required] [JsonPropertyName("marketing_agreed")] public bool MarketingAgreed { get; set; } }