cloudroam
2024-12-26 3493a1f3ee3010cdca1013dd11c97e551101df58
src/main/java/com/mzl/flower/dto/request/sms/SmsTemplateQueryDTO.java
@@ -1,10 +1,11 @@
package com.mzl.flower.dto.request.sms;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import java.util.Date;
@Data
public class SmsTemplateQueryDTO {
@@ -21,8 +22,12 @@
    private String description;
    @ApiModelProperty(value = "开始时间")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;
    @ApiModelProperty(value = "结束时间")
    private Date endDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;
}