package com.kwan.springbootkwan.entity.query; import com.fasterxml.jackson.annotation.JsonFormat; import com.kwan.springbootkwan.entity.BasePage; import lombok.Data; import java.util.Date; @Data public class CsdnTripletDayInfoQuery extends BasePage { //主键id private Integer id; //开始日期 @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date startDate; //结束日期 @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date endDate; }