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

31 lines
739 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<string>? Tags { get; set; }
[JsonPropertyName("is_active")]
public bool? IsActive { get; set; }
[JsonPropertyName("keyword")]
public string? Keyword { get; set; }
[JsonPropertyName("marketing_agreed")]
public bool? MarketingAgreed { get; set; }
}