package com.kuanzhai.driver.bean;
|
|
import java.util.List;
|
|
public class EventHistoryBean {
|
|
/**
|
* code : 200
|
* data : [{"carryOut":1,"time":"2020.06.15"}]
|
* msg : SUCCESS
|
*/
|
|
private int code;
|
private String msg;
|
private List<DataBean> data;
|
|
public int getCode() {
|
return code;
|
}
|
|
public void setCode(int code) {
|
this.code = code;
|
}
|
|
public String getMsg() {
|
return msg;
|
}
|
|
public void setMsg(String msg) {
|
this.msg = msg;
|
}
|
|
public List<DataBean> getData() {
|
return data;
|
}
|
|
public void setData(List<DataBean> data) {
|
this.data = data;
|
}
|
|
public static class DataBean {
|
/**
|
* carryOut : 1
|
* time : 2020.06.15
|
*/
|
|
private int carryOut;
|
private String time;
|
private int id;
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public int getCarryOut() {
|
return carryOut;
|
}
|
|
public void setCarryOut(int carryOut) {
|
this.carryOut = carryOut;
|
}
|
|
public String getTime() {
|
return time;
|
}
|
|
public void setTime(String time) {
|
this.time = time;
|
}
|
|
public String getCarryOutStr(){
|
if (carryOut == 1){
|
return "未完成";
|
}else {
|
return "已完成";
|
}
|
}
|
}
|
}
|