|
@@ -1,6 +1,7 @@
|
|
|
package org.springblade.control.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
@@ -32,9 +33,11 @@ public class AttendanceTripInfo extends BaseEntity {
|
|
|
private String endCity;
|
|
|
|
|
|
@ApiModelProperty(value = "开始时间")
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date startDate;
|
|
|
|
|
|
@ApiModelProperty(value = "结束时间")
|
|
|
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date endDate;
|
|
|
|
|
|
@ApiModelProperty(value = "时长(天)")
|