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;
|
|
@Data
|
public class SmsTemplateQueryDTO {
|
@ApiModelProperty(value = "短信模板管理id")
|
private Long id;
|
|
@ApiModelProperty("编码")
|
private String code;
|
|
@ApiModelProperty("名称")
|
private String name;
|
|
@ApiModelProperty("描述")
|
private String description;
|
|
@ApiModelProperty(value = "开始时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime startDate;
|
|
@ApiModelProperty(value = "结束时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime endDate;
|
}
|