ActivityUserKey.java 722 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.goafanti.common.model;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  4. public class ActivityUserKey {
  5. /**
  6. * 活动id
  7. */
  8. private Long aid;
  9. /**
  10. * 用户ID
  11. */
  12. private String uid;
  13. public ActivityUserKey(){
  14. }
  15. public ActivityUserKey(Long aid, String uid){
  16. this.aid = aid;
  17. this.uid = uid;
  18. }
  19. @JsonFormat(shape = Shape.STRING)
  20. public Long getAid() {
  21. return aid;
  22. }
  23. public void setAid(Long aid) {
  24. this.aid = aid;
  25. }
  26. public String getUid() {
  27. return uid;
  28. }
  29. public void setUid(String uid) {
  30. this.uid = uid;
  31. }
  32. }