22 lines
501 B
C#
22 lines
501 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 string? DeviceId { get; set; }
|
|
|
|
public List<string>? Tags { get; set; }
|
|
|
|
[Required]
|
|
public string ScheduledAt { get; set; } = string.Empty;
|
|
|
|
public Dictionary<string, string>? Variables { get; set; }
|
|
}
|