ServiceMetrics.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package com.yihu.hos.models;
  2. import org.springframework.data.annotation.Id;
  3. import org.springframework.data.mongodb.core.index.Indexed;
  4. import org.springframework.data.mongodb.core.mapping.Document;
  5. import java.util.Date;
  6. /**
  7. * @created Airhead 2016/8/8.
  8. */
  9. @Document(collection = "serviceMetrics")
  10. public class ServiceMetrics {
  11. @Id
  12. private String id;
  13. private String type;
  14. private String name;
  15. private String value;
  16. private String createTime;
  17. public String getId() {
  18. return id;
  19. }
  20. public void setId(String id) {
  21. this.id = id;
  22. }
  23. public String getType() {
  24. return type;
  25. }
  26. public void setType(String type) {
  27. this.type = type;
  28. }
  29. public String getName() {
  30. return name;
  31. }
  32. public void setName(String name) {
  33. this.name = name;
  34. }
  35. public String getValue() {
  36. return value;
  37. }
  38. public void setValue(String value) {
  39. this.value = value;
  40. }
  41. public String getCreateTime() {
  42. return createTime;
  43. }
  44. public void setCreateTime(String createTime) {
  45. this.createTime = createTime;
  46. }
  47. }