SPMS_API/SPMS.Application/DTOs/Push/PushScheduleRequestDto.cs

22 lines
499 B
C#

using System.ComponentModel.DataAnnotations;
namespace SPMS.Application.DTOs.Push;
public class PushScheduleRequestDto
{
[Required]
public string MessageCode { get; set; } = string.Empty;
[Required]
public string SendType { get; set; } = string.Empty;
public long? DeviceId { get; set; }
public List<string>? Tags { get; set; }
[Required]
public string ScheduledAt { get; set; } = string.Empty;
public Dictionary<string, string>? Variables { get; set; }
}