package com.adins.mss.base.dynamicform;

import com.adins.mss.base.util.ExcludeFromGson;
import com.adins.mss.dao.TaskD;
import com.google.gson.annotations.SerializedName;

import java.util.Date;

public class TaskDBean {

    @SerializedName("uuid_task_d")
    private String uuid_task_d;
    @SerializedName("question_group_id")
    private String question_group_id;
    @SerializedName("question_id")
    private String question_id;
    @SerializedName("option_answer_id")
    private String option_answer_id;
    @SerializedName("text_answer")
    private String text_answer;
    @SerializedName("image")
    private Integer image;
    @SerializedName("is_final")
    private String is_final;
    @SerializedName("is_sent")
    private String is_sent;
    @SerializedName("lov")
    private String lov;
    @SerializedName("usr_crt")
    private String usr_crt;
    @SerializedName("dtm_crt")
    private java.util.Date dtm_crt;
    @SerializedName("uuid_task_h")
    private String uuid_task_h;
    @SerializedName("question_label")
    private String question_label;
    @SerializedName("latitude")
    private String latitude;
    @SerializedName("longitude")
    private String longitude;
    @SerializedName("mcc")
    private String mcc;
    @SerializedName("mnc")
    private String mnc;
    @SerializedName("lac")
    private String lac;
    @SerializedName("cid")
    private String cid;
    @SerializedName("gps_time")
    private java.util.Date gps_time;
    @SerializedName("accuracy")
    private Integer accuracy;
    @SerializedName("regex")
    private String regex;
    @SerializedName("is_readonly")
    private String is_readonly;
    @ExcludeFromGson
    @SerializedName("location_image")
    private byte[] location_image;
    @SerializedName("is_visible")
    private String is_visible;
    @SerializedName("uuid_lookup")
    private String uuid_lookup;
    @SerializedName("tag")
    private String tag;
    @SerializedName("count")
    private String count;
    @SerializedName("data_dukcapil")
    private String data_dukcapil;
    @SerializedName("image_timestamp")
    private java.util.Date image_timestamp;

    public String getUuid_task_d() {
        return uuid_task_d;
    }

    public void setUuid_task_d(String uuid_task_d) {
        this.uuid_task_d = uuid_task_d;
    }

    public String getQuestion_group_id() {
        return question_group_id;
    }

    public void setQuestion_group_id(String question_group_id) {
        this.question_group_id = question_group_id;
    }

    public String getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(String question_id) {
        this.question_id = question_id;
    }

    public String getOption_answer_id() {
        return option_answer_id;
    }

    public void setOption_answer_id(String option_answer_id) {
        this.option_answer_id = option_answer_id;
    }

    public String getText_answer() {
        return text_answer;
    }

    public void setText_answer(String text_answer) {
        this.text_answer = text_answer;
    }

    public Integer getImage() {
        return image;
    }

    public void setImage(Integer image) {
        this.image = image;
    }

    public String getIs_final() {
        return is_final;
    }

    public void setIs_final(String is_final) {
        this.is_final = is_final;
    }

    public String getIs_sent() {
        return is_sent;
    }

    public void setIs_sent(String is_sent) {
        this.is_sent = is_sent;
    }

    public String getLov() {
        return lov;
    }

    public void setLov(String lov) {
        this.lov = lov;
    }

    public String getUsr_crt() {
        return usr_crt;
    }

    public void setUsr_crt(String usr_crt) {
        this.usr_crt = usr_crt;
    }

    public Date getDtm_crt() {
        return dtm_crt;
    }

    public void setDtm_crt(Date dtm_crt) {
        this.dtm_crt = dtm_crt;
    }

    public String getUuid_task_h() {
        return uuid_task_h;
    }

    public void setUuid_task_h(String uuid_task_h) {
        this.uuid_task_h = uuid_task_h;
    }

    public String getQuestion_label() {
        return question_label;
    }

    public void setQuestion_label(String question_label) {
        this.question_label = question_label;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getMcc() {
        return mcc;
    }

    public void setMcc(String mcc) {
        this.mcc = mcc;
    }

    public String getMnc() {
        return mnc;
    }

    public void setMnc(String mnc) {
        this.mnc = mnc;
    }

    public String getLac() {
        return lac;
    }

    public void setLac(String lac) {
        this.lac = lac;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public Date getGps_time() {
        return gps_time;
    }

    public void setGps_time(Date gps_time) {
        this.gps_time = gps_time;
    }

    public Integer getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Integer accuracy) {
        this.accuracy = accuracy;
    }

    public String getRegex() {
        return regex;
    }

    public void setRegex(String regex) {
        this.regex = regex;
    }

    public String getIs_readonly() {
        return is_readonly;
    }

    public void setIs_readonly(String is_readonly) {
        this.is_readonly = is_readonly;
    }

    public byte[] getLocation_image() {
        return location_image;
    }

    public void setLocation_image(byte[] location_image) {
        this.location_image = location_image;
    }

    public String getIs_visible() {
        return is_visible;
    }

    public void setIs_visible(String is_visible) {
        this.is_visible = is_visible;
    }

    public String getUuid_lookup() {
        return uuid_lookup;
    }

    public void setUuid_lookup(String uuid_lookup) {
        this.uuid_lookup = uuid_lookup;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public Date getImage_timestamp() {
        return image_timestamp;
    }

    public void setImage_timestamp(Date image_timestamp) {
        this.image_timestamp = image_timestamp;
    }

    public String getData_dukcapil() {
        return data_dukcapil;
    }

    public void setData_dukcapil(String data_dukcapil) {
        this.data_dukcapil = data_dukcapil;
    }

    public TaskDBean (TaskD taskD) {
        setUuid_task_d(taskD.getUuid_task_d());
        setQuestion_group_id(taskD.getQuestion_group_id());
        setQuestion_id(taskD.getQuestion_id());
        setOption_answer_id(taskD.getOption_answer_id());
        setText_answer(taskD.getText_answer());
        setImage(null);
        setIs_final(taskD.getIs_final());
        setIs_sent(taskD.getIs_sent());
        setLov(taskD.getLov());
        setUsr_crt(taskD.getUsr_crt());
        setDtm_crt(taskD.getDtm_crt());
        setUuid_task_h(taskD.getUuid_task_h());
        setQuestion_label(taskD.getQuestion_label());
        setLatitude(taskD.getLatitude());
        setLongitude(taskD.getLongitude());
        setMcc(taskD.getMcc());
        setMnc(taskD.getMnc());
        setLac(taskD.getLac());
        setCid(taskD.getCid());
        setGps_time(taskD.getGps_time());
        setAccuracy(taskD.getAccuracy());
        setRegex(taskD.getRegex());
        setIs_readonly(taskD.getIs_readonly());
        setLocation_image(taskD.getLocation_image());
        setIs_visible(taskD.getIs_visible());
        setUuid_lookup(taskD.getUuid_lookup());
        setTag(taskD.getTag());
        setCount(taskD.getCount());
        setImage_timestamp(taskD.getImage_timestamp());
    }
}
