YD_Event.Admin/YD_Event.Application/Certificate/Dtos/GenerateCertificateInput.cs
2026-03-02 21:09:03 +08:00

34 lines
819 B
C#

using System.ComponentModel.DataAnnotations;
namespace YD_Event.Application.Certificate.Dtos
{
public class GenerateCertificateInput
{
/// <summary>
/// 证书配置ID
/// </summary>
[Required]
public long CertificateId { get; set; }
/// <summary>
/// 业务数据 (键值对)
/// Key对应占位符的Key
/// </summary>
public Dictionary<string, object> Data { get; set; }
}
public class BatchGenerateCertificateInput
{
/// <summary>
/// 证书配置ID
/// </summary>
[Required]
public long CertificateId { get; set; }
/// <summary>
/// 业务数据列表
/// </summary>
public List<Dictionary<string, object>> DataList { get; set; }
}
}