Asoka.Wang 2b3f9acdce 123
2025-09-22 19:09:47 +08:00

21 lines
565 B
C#

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