package com.future.dispatch.bean;
|
|
import java.util.List;
|
|
/**
|
* @ClassName ApplyReassignBean
|
* @Description TODO
|
* @Author Administrator
|
* @Date 2020/11/3 14:38
|
* @Version 1.0
|
*/
|
public class ApplyReassignBean {
|
|
|
/**
|
* code : 0
|
* data : [{"applyDriver":"string","applyTime":"string","endAddress":"string","id":0,"startAddress":"string","state":0}]
|
* msg : string
|
*/
|
|
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 {
|
/**
|
* applyDriver : string
|
* applyTime : string
|
* endAddress : string
|
* id : 0
|
* startAddress : string
|
* state : 0
|
*/
|
|
private String applyDriver;
|
private String nowDriver;
|
private String applyTime;
|
private String endAddress;
|
private int id;
|
private String startAddress;
|
private int state;
|
private int orderType = 1;
|
|
public int getOrderType() {
|
return orderType;
|
}
|
|
public void setOrderType(int orderType) {
|
this.orderType = orderType;
|
}
|
|
public String getApplyDriver() {
|
return applyDriver;
|
}
|
|
public String getNowDriver() {
|
return nowDriver;
|
}
|
|
public void setNowDriver(String nowDriver) {
|
this.nowDriver = nowDriver;
|
}
|
|
public void setApplyDriver(String applyDriver) {
|
this.applyDriver = applyDriver;
|
}
|
|
public String getApplyTime() {
|
return applyTime;
|
}
|
|
public void setApplyTime(String applyTime) {
|
this.applyTime = applyTime;
|
}
|
|
public String getEndAddress() {
|
return endAddress;
|
}
|
|
public void setEndAddress(String endAddress) {
|
this.endAddress = endAddress;
|
}
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getStartAddress() {
|
return startAddress;
|
}
|
|
public void setStartAddress(String startAddress) {
|
this.startAddress = startAddress;
|
}
|
|
public int getState() {
|
return state;
|
}
|
|
public String getStateStr() {
|
switch (state){
|
case 1:
|
|
return "提交申请";
|
case 2:
|
|
return "已支付";
|
case 3:
|
|
return "改派成功";
|
case 4:
|
|
return "已取消";
|
case 5:
|
|
return "已拒绝";
|
}
|
return "";
|
}
|
|
public void setState(int state) {
|
this.state = state;
|
}
|
}
|
}
|