Zone.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. package com.cloudcross.ssp.back.model;
  2. import java.util.Date;
  3. import com.cloudcross.ssp.web.widget.SelectorController.ISelector;
  4. /**
  5. * 广告位信息实体表
  6. * @author chenyou
  7. *
  8. */
  9. public class Zone implements ISelector{
  10. //主键
  11. private Long id;
  12. //运营商id
  13. private Long operatorId;
  14. //广告位名称
  15. private String name;
  16. //广告位宽度
  17. private Long width;
  18. //广告位高度
  19. private Long height;
  20. //类型(1-网页,2-APP)
  21. private Integer device;
  22. //位置(1-认证,2-条状,3-上网过程)
  23. private Integer position;
  24. //垫底广告素材地址
  25. private String defaultPath;
  26. //垫底广告URL
  27. private String defaultUrl;
  28. //素材是否要再审核
  29. private Integer reCheck;
  30. //状态(0-开启,1-暂停,-1-删除)
  31. private Integer status;
  32. //更新时间
  33. private Date updated;
  34. //新增/width/height/device/position/default_path/default_url/recheck/status/上级status更新时间
  35. private Date supdated;
  36. public Long getId() {
  37. return id;
  38. }
  39. public void setId(Long id) {
  40. this.id = id;
  41. }
  42. public Long getOperatorId() {
  43. return operatorId;
  44. }
  45. public void setOperatorId(Long operatorId) {
  46. this.operatorId = operatorId;
  47. }
  48. public String getName() {
  49. return name;
  50. }
  51. public void setName(String name) {
  52. this.name = name;
  53. }
  54. public Long getWidth() {
  55. return width;
  56. }
  57. public void setWidth(Long width) {
  58. this.width = width;
  59. }
  60. public Long getHeight() {
  61. return height;
  62. }
  63. public void setHeight(Long height) {
  64. this.height = height;
  65. }
  66. public Integer getDevice() {
  67. return device;
  68. }
  69. public void setDevice(Integer device) {
  70. this.device = device;
  71. }
  72. public Integer getPosition() {
  73. return position;
  74. }
  75. public void setPosition(Integer position) {
  76. this.position = position;
  77. }
  78. public String getDefaultPath() {
  79. return defaultPath;
  80. }
  81. public void setDefaultPath(String defaultPath) {
  82. this.defaultPath = defaultPath;
  83. }
  84. public String getDefaultUrl() {
  85. return defaultUrl;
  86. }
  87. public void setDefaultUrl(String defaultUrl) {
  88. this.defaultUrl = defaultUrl;
  89. }
  90. public Integer getReCheck() {
  91. return reCheck;
  92. }
  93. public void setReCheck(Integer reCheck) {
  94. this.reCheck = reCheck;
  95. }
  96. public Integer getStatus() {
  97. return status;
  98. }
  99. public void setStatus(Integer status) {
  100. this.status = status;
  101. }
  102. public Date getUpdated() {
  103. return updated;
  104. }
  105. public void setUpdated(Date updated) {
  106. this.updated = updated;
  107. }
  108. public Date getSupdated() {
  109. return supdated;
  110. }
  111. public void setSupdated(Date supdated) {
  112. this.supdated = supdated;
  113. }
  114. @Override
  115. public String getLabel() {
  116. return this.name;
  117. }
  118. @Override
  119. public String getValue() {
  120. return String.valueOf(this.id);
  121. }
  122. @Override
  123. public String toString() {
  124. return "Zone [id=" + id + ", operatorId=" + operatorId + ", name="
  125. + name + ", width=" + width + ", height=" + height
  126. + ", device=" + device + ", position=" + position
  127. + ", defaultPath=" + defaultPath + ", defaultUrl=" + defaultUrl
  128. + ", reCheck=" + reCheck + ", status=" + status + ", updated="
  129. + updated + ", supdated=" + supdated + "]";
  130. }
  131. }