24 lines
555 B
C#
24 lines
555 B
C#
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; }
|
|
}
|