21 lines
504 B
C#
21 lines
504 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.Device;
|
|
|
|
public class DeviceUpdateRequestDto
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("device_id")]
|
|
public long DeviceId { get; set; }
|
|
|
|
[JsonPropertyName("device_token")]
|
|
public string? DeviceToken { get; set; }
|
|
|
|
[JsonPropertyName("os_version")]
|
|
public string? OsVersion { get; set; }
|
|
|
|
[JsonPropertyName("app_version")]
|
|
public string? AppVersion { get; set; }
|
|
}
|