Slide.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using Datory;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity
  4. {
  5. /// <summary>
  6. /// 轮播定义
  7. /// </summary>
  8. [DataTable("tede_slide")]
  9. public class Slide : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 标题
  13. /// </summary>
  14. [DataColumn]
  15. public string Title { get; set; }
  16. /// <summary>
  17. /// 标题图片
  18. /// </summary>
  19. [DataColumn]
  20. public string ImageUrl { get; set; }
  21. /// <summary>
  22. /// 媒体ID
  23. /// </summary>
  24. [DataColumn]
  25. public int MediaId { get; set; }
  26. /// <summary>
  27. /// 是否启用
  28. /// </summary>
  29. /// <value></value>
  30. [DataColumn]
  31. public bool IsDisable { get; set; }
  32. /// <summary>
  33. /// 排序
  34. /// </summary>
  35. [DataColumn]
  36. public int Sort { get; set; }
  37. /// <summary>
  38. /// 1 APP 2 首页频道 3首页精选
  39. /// </summary>
  40. /// <value></value>
  41. [DataColumn]
  42. public int TypeId { get; set; }
  43. }
  44. }