using System.ComponentModel.DataAnnotations; namespace YBEE.EQM.Core; /// /// 附件信息 /// public class AttachmentItem { /// /// 文件ID /// [Required] public long FileId { get; set; } /// /// 文件名 /// [Required] public string FileName { get; set; } /// /// 扩展名 /// [Required] public string FileExtName { get; set; } /// /// 文件大小 /// [Required] public long FileSize { get; set; } /// /// 缩略图文件ID /// public long? ThumbFileId { get; set; } }