BannerData.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. package com.example.zhpan.banner.net;
  2. /**
  3. * <pre>
  4. * Created by zhangpan on 2019-08-14.
  5. * Description:
  6. * </pre>
  7. */
  8. public class BannerData {
  9. /**
  10. * desc :
  11. * id : 20
  12. * imagePath : https://www.wanandroid.com/blogimgs/90c6cc12-742e-4c9f-b318-b912f163b8d0.png
  13. * isVisible : 1
  14. * order : 2
  15. * title : flutter 中文社区
  16. * type : 1
  17. * url : https://flutter.cn/
  18. */
  19. public static final int TYPE_NEW = 10000;
  20. private String desc;
  21. private int id;
  22. private String imagePath;
  23. private int isVisible;
  24. private int order;
  25. private String title;
  26. private int type;
  27. private String url;
  28. private int drawable;
  29. public int getDrawable() {
  30. return drawable;
  31. }
  32. public void setDrawable(int drawable) {
  33. this.drawable = drawable;
  34. }
  35. public String getDesc() {
  36. return desc;
  37. }
  38. public void setDesc(String desc) {
  39. this.desc = desc;
  40. }
  41. public int getId() {
  42. return id;
  43. }
  44. public void setId(int id) {
  45. this.id = id;
  46. }
  47. public String getImagePath() {
  48. return imagePath;
  49. }
  50. public void setImagePath(String imagePath) {
  51. this.imagePath = imagePath;
  52. }
  53. public int getIsVisible() {
  54. return isVisible;
  55. }
  56. public void setIsVisible(int isVisible) {
  57. this.isVisible = isVisible;
  58. }
  59. public int getOrder() {
  60. return order;
  61. }
  62. public void setOrder(int order) {
  63. this.order = order;
  64. }
  65. public String getTitle() {
  66. return title;
  67. }
  68. public void setTitle(String title) {
  69. this.title = title;
  70. }
  71. public int getType() {
  72. return type;
  73. }
  74. public void setType(int type) {
  75. this.type = type;
  76. }
  77. public String getUrl() {
  78. return url;
  79. }
  80. public void setUrl(String url) {
  81. this.url = url;
  82. }
  83. }