SPMS_API/SPMS.Application/DTOs/Device/DeviceListRequestDto.cs

25 lines
569 B
C#

using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Device;
public class DeviceListRequestDto
{
[JsonPropertyName("page")]
public int Page { get; set; } = 1;
[JsonPropertyName("size")]
public int Size { get; set; } = 20;
[JsonPropertyName("platform")]
public string? Platform { get; set; }
[JsonPropertyName("push_agreed")]
public bool? PushAgreed { get; set; }
[JsonPropertyName("tags")]
public List<int>? Tags { get; set; }
[JsonPropertyName("is_active")]
public bool? IsActive { get; set; }
}