大屏服务详情修改
This commit is contained in:
+14
@@ -1,7 +1,11 @@
|
||||
package com.renkang.emergency.entity.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class PhoneListDTO {
|
||||
@@ -35,4 +39,14 @@ public class PhoneListDTO {
|
||||
*/
|
||||
@Schema(description = "pageSize")
|
||||
private Integer pageSize=10;
|
||||
|
||||
@Schema(description = "startDate")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date startDate;
|
||||
|
||||
@Schema(description = "endDate")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endDate;
|
||||
}
|
||||
|
||||
+3
@@ -2,6 +2,9 @@ package com.renkang.emergency.entity.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class StatisticsDTO {
|
||||
|
||||
Reference in New Issue
Block a user