AttachmentItem.cs 702 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.ComponentModel.DataAnnotations;
  2. namespace YBEE.EQM.Core;
  3. /// <summary>
  4. /// 附件信息
  5. /// </summary>
  6. public class AttachmentItem
  7. {
  8. /// <summary>
  9. /// 文件ID
  10. /// </summary>
  11. [Required]
  12. public long FileId { get; set; }
  13. /// <summary>
  14. /// 文件名
  15. /// </summary>
  16. [Required]
  17. public string FileName { get; set; }
  18. /// <summary>
  19. /// 扩展名
  20. /// </summary>
  21. [Required]
  22. public string FileExtName { get; set; }
  23. /// <summary>
  24. /// 文件大小
  25. /// </summary>
  26. [Required]
  27. public long FileSize { get; set; }
  28. /// <summary>
  29. /// 缩略图文件ID
  30. /// </summary>
  31. public long? ThumbFileId { get; set; }
  32. }