package com.mvc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;

public class TaskBatchRemoteModel {
    private Integer id;

    private String taskBatchId;

    private String taskType;

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

    private Integer minutesAhead;

    private String md5CheckCode;

    private String finishedFlag;

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

    private String createMan;

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

    private String taskDescribe;

    private String memo;

    private String sourceTaskId;
    /**
     * 要配置的参数Model
     */
    private TaskRemoteCfgModel taskRemoteCfgModel;

    private List<TaskBatchRemoteDetailModel> detailModels;

    private Integer page;//页码

    private Integer rows;//每页条数

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTaskBatchId() {
        return taskBatchId;
    }

    public void setTaskBatchId(String taskBatchId) {
        this.taskBatchId = taskBatchId == null ? null : taskBatchId.trim();
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType == null ? null : taskType.trim();
    }

    public Date getExecutionTime() {
        return executionTime;
    }

    public void setExecutionTime(Date executionTime) {
        this.executionTime = executionTime;
    }

    public Integer getMinutesAhead() {
        return minutesAhead;
    }

    public void setMinutesAhead(Integer minutesAhead) {
        this.minutesAhead = minutesAhead;
    }

    public String getMd5CheckCode() {
        return md5CheckCode;
    }

    public void setMd5CheckCode(String md5CheckCode) {
        this.md5CheckCode = md5CheckCode == null ? null : md5CheckCode.trim();
    }

    public String getFinishedFlag() {
        return finishedFlag;
    }

    public void setFinishedFlag(String finishedFlag) {
        this.finishedFlag = finishedFlag == null ? null : finishedFlag.trim();
    }

    public Date getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Date finishedTime) {
        this.finishedTime = finishedTime;
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTaskDescribe() {
        return taskDescribe;
    }

    public void setTaskDescribe(String taskDescribe) {
        this.taskDescribe = taskDescribe == null ? null : taskDescribe.trim();
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public String getSourceTaskId() {
        return sourceTaskId;
    }

    public void setSourceTaskId(String sourceTaskId) {
        this.sourceTaskId = sourceTaskId == null ? null : sourceTaskId.trim();
    }

    public TaskRemoteCfgModel getTaskRemoteCfgModel() {
        return taskRemoteCfgModel;
    }

    public void setTaskRemoteCfgModel(TaskRemoteCfgModel taskRemoteCfgModel) {
        this.taskRemoteCfgModel = taskRemoteCfgModel;
    }

    public List<TaskBatchRemoteDetailModel> getDetailModels() {
        return detailModels;
    }

    public void setDetailModels(List<TaskBatchRemoteDetailModel> detailModels) {
        this.detailModels = detailModels;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }
}