using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace NPP.SmartSchedue.Api.Contracts.Services.Notification.Input; /// /// 渲染模板输入模型 /// public class RenderTemplateInput { /// /// 模板内容 /// [Required(ErrorMessage = "模板内容不能为空")] public string Template { get; set; } = ""; /// /// 变量字典 /// public Dictionary Variables { get; set; } = new Dictionary(); }