package com.pcloud.book.timecontrol.dto;

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

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description：TODO
 * @Author：zcy
 * @Date：2020-01-31
 * @Version：1.0
 */
@Data
public class TaskItemDto implements Serializable {

    private Integer id;

    private Integer taskId;

    private Integer startDay;

    private Integer finishConfirm;

    private String finishKeyWord;

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

    private List<ReplyMessageDto> replyMessageList;

    private Integer tdConfirm;

    private String finishLinkIntroduce;

    private String finishLinkUrl;

    List<ReplyMessageDto> completedReplyMessageList;

    private Integer addSendTime;

    private String sendHour;

    private Integer progressGuidance;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

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

    //发送方式 /1每天 2每周
    private Integer pushType;

    private  List<Integer> weekdays;
}
