Project.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. package com.bosshand.virgo.api.model;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import java.util.Date;
  4. import java.util.List;
  5. /**
  6. * 项目
  7. */
  8. public class Project {
  9. private long id;
  10. /**
  11. * 类型
  12. */
  13. private Integer type;
  14. /**
  15. * 创建时间
  16. */
  17. @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  18. private Date createDate;
  19. /**
  20. * 组织id
  21. */
  22. private long organizationId;
  23. /**
  24. * 组织名称
  25. */
  26. private String organizationName;
  27. /**
  28. * 名称
  29. */
  30. private String name;
  31. /**
  32. * 位置
  33. */
  34. private String address;
  35. /**
  36. * 照片
  37. */
  38. private String picture;
  39. /**
  40. * 标签ids
  41. */
  42. private String tagIds;
  43. /**
  44. * 描述
  45. */
  46. private String comment;
  47. /**
  48. * 地理坐标
  49. */
  50. private String coordinates;
  51. /**
  52. * 自定义字段
  53. */
  54. private String data;
  55. private List<ProjectItem> projectItemList;
  56. public long getId() {
  57. return id;
  58. }
  59. public void setId(long id) {
  60. this.id = id;
  61. }
  62. public Integer getType() {
  63. return type;
  64. }
  65. public void setType(Integer type) {
  66. this.type = type;
  67. }
  68. public Date getCreateDate() {
  69. return createDate;
  70. }
  71. public void setCreateDate(Date createDate) {
  72. this.createDate = createDate;
  73. }
  74. public long getOrganizationId() {
  75. return organizationId;
  76. }
  77. public void setOrganizationId(long organizationId) {
  78. this.organizationId = organizationId;
  79. }
  80. public String getOrganizationName() {
  81. return organizationName;
  82. }
  83. public void setOrganizationName(String organizationName) {
  84. this.organizationName = organizationName;
  85. }
  86. public String getName() {
  87. return name;
  88. }
  89. public void setName(String name) {
  90. this.name = name;
  91. }
  92. public String getAddress() {
  93. return address;
  94. }
  95. public void setAddress(String address) {
  96. this.address = address;
  97. }
  98. public String getPicture() {
  99. return picture;
  100. }
  101. public void setPicture(String picture) {
  102. this.picture = picture;
  103. }
  104. public String getTagIds() {
  105. return tagIds;
  106. }
  107. public void setTagIds(String tagIds) {
  108. this.tagIds = tagIds;
  109. }
  110. public String getComment() {
  111. return comment;
  112. }
  113. public void setComment(String comment) {
  114. this.comment = comment;
  115. }
  116. public String getCoordinates() {
  117. return coordinates;
  118. }
  119. public void setCoordinates(String coordinates) {
  120. this.coordinates = coordinates;
  121. }
  122. public String getData() {
  123. return data;
  124. }
  125. public void setData(String data) {
  126. this.data = data;
  127. }
  128. public List<ProjectItem> getProjectItemList() {
  129. return projectItemList;
  130. }
  131. public void setProjectItemList(List<ProjectItem> projectItemList) {
  132. this.projectItemList = projectItemList;
  133. }
  134. }