linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package org.springblade.modules.eCallEventTwo.dto;
 
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.eCallEventTwo.entity.EcDispatch;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
 
/**
 * 派发单对象 ec_dispatch
 *
 * @author ${context.author}
 * @date 2024-05-28 14:42:26
 */
@ApiModel(value = "EcDispatchDTO对象")
@Data
public class EcDispatchDTO extends EcDispatch {
 
    @ApiModelProperty(value = "开始时间", example = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;
 
    @ApiModelProperty(value = "结束时间", example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}