MediaLibrary.cs 752 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity.tede2.Media
  4. {
  5. /// <summary>
  6. /// 类别
  7. /// </summary>
  8. [DataTable("tede_media_library")]
  9. public class MediaLibrary : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 媒体id
  13. /// </summary>
  14. [DataColumn]
  15. public int MediaId { get; set; }
  16. /// <summary>
  17. /// 文件路径
  18. /// </summary>
  19. [DataColumn]
  20. public string FileUrl { get; set; }
  21. /// <summary>
  22. /// 文件名称
  23. /// </summary>
  24. [DataColumn]
  25. public string Name { get; set; }
  26. /// <summary>
  27. /// 排序
  28. /// </summary>
  29. [DataColumn]
  30. public int Sort { get; set; }
  31. }
  32. }