package com.casic.detector.bean;

import com.casic.detector.model.TaskModel;

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

@Entity
public class TaskBean {
    @Id(autoincrement = true)
    private Long id;//主键ID

    private String scanner;
    private String desc;
    private String taskId;
    /**
     * 用 {@link TaskModel.MessageModel.TaskDetailInfosModel#id} 存
     * */
    private String taskCode;
    private String markerId;
    private String markerRealId;
    private String lng;
    private String lat;
    private String state;

    @Generated(hash = 1891433912)
    public TaskBean(Long id, String scanner, String desc, String taskId,
                    String taskCode, String markerId, String markerRealId, String lng,
                    String lat, String state) {
        this.id = id;
        this.scanner = scanner;
        this.desc = desc;
        this.taskId = taskId;
        this.taskCode = taskCode;
        this.markerId = markerId;
        this.markerRealId = markerRealId;
        this.lng = lng;
        this.lat = lat;
        this.state = state;
    }

    @Generated(hash = 1443476586)
    public TaskBean() {
    }

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

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

    public String getScanner() {
        return this.scanner;
    }

    public void setScanner(String scanner) {
        this.scanner = scanner;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getTaskId() {
        return this.taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

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

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

    public String getMarkerId() {
        return this.markerId;
    }

    public void setMarkerId(String markerId) {
        this.markerId = markerId;
    }

    public String getMarkerRealId() {
        return this.markerRealId;
    }

    public void setMarkerRealId(String markerRealId) {
        this.markerRealId = markerRealId;
    }

    public String getLng() {
        return this.lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return this.lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
