using System.ComponentModel.DataAnnotations; namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Input; /// /// 验证模板输入模型 /// public class ValidateTemplateInput { /// /// 模板内容 /// [Required(ErrorMessage = "模板内容不能为空")] public string Template { get; set; } = ""; }