24 lines
555 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace YD_Event.Application.Certificate.Dtos;
public class AddCertificateInput
{
/// <summary>
/// 证书名称
/// </summary>
[Required(ErrorMessage = "证书名称不能为空")]
public string Name { get; set; }
/// <summary>
/// 证书模板内容(图片URL)
/// </summary>
[Required(ErrorMessage = "证书模板不能为空")]
public string TemplateContent { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
}