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