package com.casic.common.detector.gd.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 巡检任务本地库实体类，不包含任务里面需要巡检的标识器信息
 */
@Entity
public class TaskLocalBean {
    @Id
    private Long id;//任务ID

    private String taskCode;//任务编号
    private String description;//任务名称
    private String createTime;//任务创建的时间
    private String status;//任务状态
    private String createUserName;//任务创建者名称
    private String startTime;//任务被开始执行的时间
    private String endTime;//任务执行结束的时间
    private String isFreeTask;//是否自由巡检。1-是，0-否

    @Generated(hash = 1482022528)
    public TaskLocalBean(Long id, String taskCode, String description,
                         String createTime, String status, String createUserName,
                         String startTime, String endTime, String isFreeTask) {
        this.id = id;
        this.taskCode = taskCode;
        this.description = description;
        this.createTime = createTime;
        this.status = status;
        this.createUserName = createUserName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.isFreeTask = isFreeTask;
    }

    @Generated(hash = 949704588)
    public TaskLocalBean() {
    }

    public Long getId() {
        return this.id;
    }

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

    public String getTaskCode() {
        return this.taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCreateTime() {
        return this.createTime;
    }

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

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getIsFreeTask() {
        return this.isFreeTask;
    }

    public void setIsFreeTask(String isFreeTask) {
        this.isFreeTask = isFreeTask;
    }
}
