QPS.java 625 B

123456789101112131415161718192021222324252627282930313233
  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 = "qps")
  10. public class QPS {
  11. @Id
  12. private String id;
  13. private String value;
  14. public String getId() {
  15. return id;
  16. }
  17. public void setId(String id) {
  18. this.id = id;
  19. }
  20. public String getValue() {
  21. return value;
  22. }
  23. public void setValue(String value) {
  24. this.value = value;
  25. }
  26. }