Slide.cs 1.2 KB

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