package com.bcxin.autodownloadupload.dtos;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * description: 请求拉取变更记录的对象dto
 * author: linchunpeng
 * date:  2023-04-18 11:11
 */
@Data
public class ChangeLogsRequestDto {


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date fromTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date endTime;

    private String regionCode;

    private String regionCodes;

    private List<String> tables;

    private Boolean isRemoveRepeat = true;

    //自动摆渡任务id
    private Long autoFerryTaskId;

    // 是否需要进行服务器时间校对
    private Boolean needServerTimeCheck = false;

}
