Commit b3f7294a by 郑永强

增加开始时间

parent 4d501558
package com.pcloud.common.shadow;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
/**
......@@ -23,6 +26,11 @@ public class RecordDto implements Serializable{
private int browserType;
private String browserName;
private String userAgent;
@JsonFormat(
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
private Date startTime;
Long partyId;
Long userId;
......@@ -143,6 +151,22 @@ public class RecordDto implements Serializable{
this.browserName = browserName;
}
@JsonFormat(
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
public Date getStartTime() {
return startTime;
}
@JsonFormat(
pattern = "yyyy-MM-dd HH:mm:ss",
timezone = "GMT+8"
)
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
@Override
public String toString() {
return "RecordDto{" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment