无关风月
5 天以前 c72910d2b90f74d23e770717d80921b4fd064d48
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.ruoyi.other.api.dto;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
 
@Data
public class ShopAnalysisDTO {
 
    private Integer shopId;
 
    @JsonFormat(pattern = "yyyy-MM-dd",shape = JsonFormat.Shape.STRING)
    private LocalDate startTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd",shape = JsonFormat.Shape.STRING)
    private LocalDate endTime;
}