Project.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. package com.bosshand.virgo.api.model;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import java.util.Date;
  5. import java.util.List;
  6. import java.util.Set;
  7. /**
  8. * 项目
  9. */
  10. public class Project {
  11. private long id;
  12. /**
  13. * 项目类型
  14. */
  15. private Integer projectType;
  16. /**
  17. * 具体地点
  18. */
  19. private String specificLocation;
  20. /**
  21. * 竣工时间
  22. */
  23. private String completionTime;
  24. /**
  25. * 建筑面积
  26. */
  27. private String buildingArea;
  28. /**
  29. * 生成周报(周一至周日 1,2,3,4,5,6,7)
  30. */
  31. private Integer generateWeeklyDate;
  32. /**
  33. * 类型
  34. */
  35. private Integer type;
  36. /**
  37. * 创建时间
  38. */
  39. @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  40. private Date createDate;
  41. /**
  42. * 组织id
  43. */
  44. private long organizationId;
  45. /**
  46. * 组织名称
  47. */
  48. private String organizationName;
  49. /**
  50. * 名称
  51. */
  52. private String name;
  53. /**
  54. * 位置
  55. */
  56. private String address;
  57. /**
  58. * 位置code
  59. */
  60. private String addressCode;
  61. /**
  62. * 城市天气code
  63. */
  64. private String weatherCityCode;
  65. /**
  66. * 照片
  67. */
  68. private String picture;
  69. /**
  70. * 标签ids
  71. */
  72. private String tagIds;
  73. /**
  74. * 标签列表
  75. */
  76. private List<Tag> tagList;
  77. /**
  78. * 描述
  79. */
  80. private String comment;
  81. /**
  82. * 地理坐标
  83. */
  84. private String coordinates;
  85. /**
  86. * 目标距离km
  87. */
  88. private Double distance;
  89. /**
  90. * 配套设施
  91. */
  92. private String supportingFacilities;
  93. /**
  94. * 自定义字段
  95. */
  96. private String data;
  97. /**
  98. * 项目对应的用户的身份
  99. */
  100. private Set<JSONObject> projectListIdentity;
  101. private List<ProjectItem> projectItemList;
  102. public Integer getGenerateWeeklyDate() {
  103. return generateWeeklyDate;
  104. }
  105. public void setGenerateWeeklyDate(Integer generateWeeklyDate) {
  106. this.generateWeeklyDate = generateWeeklyDate;
  107. }
  108. public long getId() {
  109. return id;
  110. }
  111. public void setId(long id) {
  112. this.id = id;
  113. }
  114. public Integer getProjectType() {
  115. return projectType;
  116. }
  117. public void setProjectType(Integer projectType) {
  118. this.projectType = projectType;
  119. }
  120. public String getSpecificLocation() {
  121. return specificLocation;
  122. }
  123. public void setSpecificLocation(String specificLocation) {
  124. this.specificLocation = specificLocation;
  125. }
  126. public String getCompletionTime() {
  127. return completionTime;
  128. }
  129. public void setCompletionTime(String completionTime) {
  130. this.completionTime = completionTime;
  131. }
  132. public String getBuildingArea() {
  133. return buildingArea;
  134. }
  135. public void setBuildingArea(String buildingArea) {
  136. this.buildingArea = buildingArea;
  137. }
  138. public Integer getType() {
  139. return type;
  140. }
  141. public void setType(Integer type) {
  142. this.type = type;
  143. }
  144. public Date getCreateDate() {
  145. return createDate;
  146. }
  147. public void setCreateDate(Date createDate) {
  148. this.createDate = createDate;
  149. }
  150. public long getOrganizationId() {
  151. return organizationId;
  152. }
  153. public void setOrganizationId(long organizationId) {
  154. this.organizationId = organizationId;
  155. }
  156. public String getOrganizationName() {
  157. return organizationName;
  158. }
  159. public void setOrganizationName(String organizationName) {
  160. this.organizationName = organizationName;
  161. }
  162. public String getName() {
  163. return name;
  164. }
  165. public void setName(String name) {
  166. this.name = name;
  167. }
  168. public String getAddress() {
  169. return address;
  170. }
  171. public void setAddress(String address) {
  172. this.address = address;
  173. }
  174. public String getAddressCode() {
  175. return addressCode;
  176. }
  177. public void setAddressCode(String addressCode) {
  178. this.addressCode = addressCode;
  179. }
  180. public String getWeatherCityCode() {
  181. return weatherCityCode;
  182. }
  183. public void setWeatherCityCode(String weatherCityCode) {
  184. this.weatherCityCode = weatherCityCode;
  185. }
  186. public String getPicture() {
  187. return picture;
  188. }
  189. public void setPicture(String picture) {
  190. this.picture = picture;
  191. }
  192. public String getTagIds() {
  193. return tagIds;
  194. }
  195. public void setTagIds(String tagIds) {
  196. this.tagIds = tagIds;
  197. }
  198. public List<Tag> getTagList() {
  199. return tagList;
  200. }
  201. public void setTagList(List<Tag> tagList) {
  202. this.tagList = tagList;
  203. }
  204. public String getComment() {
  205. return comment;
  206. }
  207. public void setComment(String comment) {
  208. this.comment = comment;
  209. }
  210. public String getCoordinates() {
  211. return coordinates;
  212. }
  213. public void setCoordinates(String coordinates) {
  214. this.coordinates = coordinates;
  215. }
  216. public Double getDistance() {
  217. return distance;
  218. }
  219. public void setDistance(Double distance) {
  220. this.distance = distance;
  221. }
  222. public String getData() {
  223. return data;
  224. }
  225. public String getSupportingFacilities() {
  226. return supportingFacilities;
  227. }
  228. public void setSupportingFacilities(String supportingFacilities) {
  229. this.supportingFacilities = supportingFacilities;
  230. }
  231. public void setData(String data) {
  232. this.data = data;
  233. }
  234. public Set<JSONObject> getProjectListIdentity() {
  235. return projectListIdentity;
  236. }
  237. public void setProjectListIdentity(Set<JSONObject> projectListIdentity) {
  238. this.projectListIdentity = projectListIdentity;
  239. }
  240. public List<ProjectItem> getProjectItemList() {
  241. return projectItemList;
  242. }
  243. public void setProjectItemList(List<ProjectItem> projectItemList) {
  244. this.projectItemList = projectItemList;
  245. }
  246. }