using System.ComponentModel.DataAnnotations;

namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Input;

/// <summary>
/// 验证模板输入模型
/// </summary>
public class ValidateTemplateInput
{
    /// <summary>
    /// 模板内容
    /// </summary>
    [Required(ErrorMessage = "模板内容不能为空")]
    public string Template { get; set; } = "";
}