|
|
@@ -1,5 +1,8 @@
|
|
|
package com.goafanti.common.model;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat.Shape;
|
|
|
+
|
|
|
public class ActivityUserKey {
|
|
|
/**
|
|
|
* 活动id
|
|
|
@@ -19,7 +22,8 @@ public class ActivityUserKey {
|
|
|
this.aid = aid;
|
|
|
this.uid = uid;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ @JsonFormat(shape = Shape.STRING)
|
|
|
public Long getAid() {
|
|
|
return aid;
|
|
|
}
|