using System.ComponentModel.DataAnnotations;
using YD_Event.Core.Enum;
namespace YD_Event.Application.Certificate.Dtos;
///
/// 添加证书输入参数
///
public class AddCertificateInput
{
///
/// 证书名称
///
[Required(ErrorMessage = "证书名称不能为空")]
public string Name { get; set; }
///
/// 证书编码
///
[Required(ErrorMessage = "证书编码不能为空")]
public string Code { get; set; }
///
/// 模板ID
///
[Required(ErrorMessage = "模板ID不能为空")]
public long TemplateId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 状态
///
public AvailabilityStatus Status { get; set; } = AvailabilityStatus.Enable;
///
/// 排序
///
public int Sort { get; set; }
}