using System.ComponentModel.DataAnnotations; namespace YD_Event.Application.Certificate.Dtos; public class UploadTemplateInput { [Required(ErrorMessage = "背景图片URL不能为空")] public string BackgroundImageUrl { get; set; } public int Width { get; set; } public int Height { get; set; } }