using System.ComponentModel.DataAnnotations;
namespace YD_Event.Application.Certificate.Dtos;
public class AddCertificateInput
{
///
/// 证书名称
///
[Required(ErrorMessage = "证书名称不能为空")]
public string Name { get; set; }
///
/// 证书模板内容(图片URL)
///
[Required(ErrorMessage = "证书模板不能为空")]
public string TemplateContent { get; set; }
///
/// 颁发机构
///
public string Issuer { get; set; }
///
/// 有效期(天)
///
public int? ValidityDays { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 排序
///
public int Sort { get; set; }
}