You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
268 lines
7.6 KiB
Java
268 lines
7.6 KiB
Java
package com.rehome.zhdcoa.bean;
|
|
|
|
import android.text.TextUtils;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Created by Rehome-rjb1 on 2017/5/17.
|
|
* <p>
|
|
* 送餐申请
|
|
*/
|
|
|
|
public class TakeOutBean {
|
|
|
|
|
|
/**
|
|
* Rows : [{"listid":"","listcode":"ApplySupplies","proposername":"ZH管理员","proposertime":"2017/4/28 14:22:21","basicdatacode":"ApplySupplies","description":"qef ","departmentname":"电气分部","departmentnameid":"121080303","proposernameid":"ZH_Admin","suplistid":"","istj":"1"}]
|
|
* Total : 1
|
|
* DataRows : [{"savetype":"1","relatedid":""," ApplyOrderSCYY":"现场检修"," ApplyOrderSJ":"11:00"," ApplyOrderphone":"13800000000"," ApplyOrderSCLX":"送餐"," ApplyOrderAdress":"码头分部值班室","orderlist":[{"ApplyOrderHC":"2","ApplyOrdersSC":"2","ApplyOrderMF":"4","ApplyOrderTS":"3","ApplyOrderSL":"10"},{"ApplyOrderHC":"3","ApplyOrderSC":"2","ApplyOrderMF":"6","ApplyOrderTS":"6","ApplyOrderSL":"4"}]}]
|
|
* DataTotal : 2
|
|
*/
|
|
|
|
private String Total = "1";
|
|
private String DataTotal = "1";
|
|
private String manid;
|
|
private List<RowsBean> Rows;
|
|
private List<DataRowsBean> DataRows;
|
|
|
|
public String getTotal() {
|
|
return Total;
|
|
}
|
|
|
|
public void setTotal(String total) {
|
|
Total = total;
|
|
}
|
|
|
|
public String getDataTotal() {
|
|
return DataTotal;
|
|
}
|
|
|
|
public void setDataTotal(String dataTotal) {
|
|
DataTotal = dataTotal;
|
|
}
|
|
|
|
public List<RowsBean> getRows() {
|
|
return Rows;
|
|
}
|
|
|
|
public void setRows(List<RowsBean> rows) {
|
|
Rows = rows;
|
|
}
|
|
|
|
public List<DataRowsBean> getDataRows() {
|
|
return DataRows;
|
|
}
|
|
|
|
public void setDataRows(List<DataRowsBean> dataRows) {
|
|
DataRows = dataRows;
|
|
}
|
|
|
|
public String getManid() {
|
|
return manid;
|
|
}
|
|
|
|
public void setManid(String manid) {
|
|
this.manid = manid;
|
|
}
|
|
|
|
public static class DataRowsBean {
|
|
/**
|
|
* savetype : 1
|
|
* relatedid :
|
|
* ApplyOrderSCYY : 现场检修
|
|
* ApplyOrderSJ : 11:00
|
|
* ApplyOrderphone : 13800000000
|
|
* ApplyOrderSCLX : 送餐
|
|
* ApplyOrderAdress : 码头分部值班室
|
|
* orderlist : [{"ApplyOrderHC":"2","ApplyOrdersSC":"2","ApplyOrderMF":"4","ApplyOrderTS":"3","ApplyOrderSL":"10"},{"ApplyOrderHC":"3","ApplyOrderSC":"2","ApplyOrderMF":"6","ApplyOrderTS":"6","ApplyOrderSL":"4"}]
|
|
*/
|
|
|
|
private String savetype = "";
|
|
private String relatedid = "";
|
|
private String ApplyOrderSCYY = "";
|
|
private String ApplyOrderSJ = "";
|
|
private String ApplyOrderphone = "";
|
|
private String ApplyOrderSCLX = "";
|
|
private String ApplyOrderAdress = "";
|
|
private java.util.List<OrderlistBean> orderlist;
|
|
|
|
public String checkData() {
|
|
|
|
if (TextUtils.isEmpty(getApplyOrderphone())) {
|
|
return "手机号码未填写";
|
|
} else if (TextUtils.isEmpty(getApplyOrderSJ())) {
|
|
return "送餐时间未填写";
|
|
} else if (TextUtils.isEmpty(getApplyOrderAdress())) {
|
|
return "送餐地址未填写";
|
|
} else if (TextUtils.isEmpty(getApplyOrderSCYY())) {
|
|
return "送餐原因未填写";
|
|
} else {
|
|
return "";
|
|
}
|
|
}
|
|
|
|
public boolean isEmpty() {
|
|
return TextUtils.isEmpty(getApplyOrderphone())
|
|
|| TextUtils.isEmpty(getApplyOrderSJ())
|
|
|| TextUtils.isEmpty(getApplyOrderAdress());
|
|
}
|
|
|
|
public String getSavetype() {
|
|
return savetype;
|
|
}
|
|
|
|
public void setSavetype(String savetype) {
|
|
this.savetype = savetype;
|
|
}
|
|
|
|
public String getRelatedid() {
|
|
return relatedid;
|
|
}
|
|
|
|
public void setRelatedid(String relatedid) {
|
|
this.relatedid = relatedid;
|
|
}
|
|
|
|
public String getApplyOrderSCYY() {
|
|
return ApplyOrderSCYY;
|
|
}
|
|
|
|
public void setApplyOrderSCYY(String applyOrderSCYY) {
|
|
ApplyOrderSCYY = applyOrderSCYY;
|
|
}
|
|
|
|
public String getApplyOrderSJ() {
|
|
return ApplyOrderSJ;
|
|
}
|
|
|
|
public void setApplyOrderSJ(String applyOrderSJ) {
|
|
ApplyOrderSJ = applyOrderSJ;
|
|
}
|
|
|
|
public String getApplyOrderphone() {
|
|
return ApplyOrderphone;
|
|
}
|
|
|
|
public void setApplyOrderphone(String applyOrderphone) {
|
|
ApplyOrderphone = applyOrderphone;
|
|
}
|
|
|
|
public String getApplyOrderSCLX() {
|
|
return ApplyOrderSCLX;
|
|
}
|
|
|
|
public void setApplyOrderSCLX(String applyOrderSCLX) {
|
|
ApplyOrderSCLX = applyOrderSCLX;
|
|
}
|
|
|
|
public String getApplyOrderAdress() {
|
|
return ApplyOrderAdress;
|
|
}
|
|
|
|
public void setApplyOrderAdress(String applyOrderAdress) {
|
|
ApplyOrderAdress = applyOrderAdress;
|
|
}
|
|
|
|
public List<OrderlistBean> getOrderlist() {
|
|
return orderlist;
|
|
}
|
|
|
|
public void setOrderlist(List<OrderlistBean> orderlist) {
|
|
this.orderlist = orderlist;
|
|
}
|
|
|
|
public static class OrderlistBean {
|
|
/**
|
|
* ApplyOrderHC : 2
|
|
* ApplyOrdersSC : 2
|
|
* ApplyOrderMF : 4
|
|
* ApplyOrderTS : 3
|
|
* ApplyOrderSL : 10
|
|
* ApplyOrderSC : 2
|
|
*/
|
|
|
|
private String savetype = "";
|
|
private String relatedid = "";
|
|
private String ApplyOrderHC = "";
|
|
private String ApplyOrderMF = "";
|
|
private String ApplyOrderTS = "";
|
|
private String ApplyOrderSL = "";
|
|
private String ApplyOrderSC = "";
|
|
private String ApplyOrderTCXZ = "";
|
|
|
|
public OrderlistBean() {
|
|
}
|
|
|
|
public OrderlistBean(String savetype) {
|
|
this.savetype = savetype;
|
|
}
|
|
|
|
public String getSavetype() {
|
|
return savetype;
|
|
}
|
|
|
|
public void setSavetype(String savetype) {
|
|
this.savetype = savetype;
|
|
}
|
|
|
|
public String getRelatedid() {
|
|
return relatedid;
|
|
}
|
|
|
|
public void setRelatedid(String relatedid) {
|
|
this.relatedid = relatedid;
|
|
}
|
|
|
|
public String getApplyOrderHC() {
|
|
return ApplyOrderHC;
|
|
}
|
|
|
|
public void setApplyOrderHC(String ApplyOrderHC) {
|
|
this.ApplyOrderHC = ApplyOrderHC;
|
|
}
|
|
|
|
|
|
public String getApplyOrderMF() {
|
|
return ApplyOrderMF;
|
|
}
|
|
|
|
public void setApplyOrderMF(String ApplyOrderMF) {
|
|
this.ApplyOrderMF = ApplyOrderMF;
|
|
}
|
|
|
|
public String getApplyOrderTS() {
|
|
return ApplyOrderTS;
|
|
}
|
|
|
|
public void setApplyOrderTS(String ApplyOrderTS) {
|
|
this.ApplyOrderTS = ApplyOrderTS;
|
|
}
|
|
|
|
public String getApplyOrderSL() {
|
|
return ApplyOrderSL;
|
|
}
|
|
|
|
public void setApplyOrderSL(String ApplyOrderSL) {
|
|
this.ApplyOrderSL = ApplyOrderSL;
|
|
}
|
|
|
|
public String getApplyOrderSC() {
|
|
return ApplyOrderSC;
|
|
}
|
|
|
|
public void setApplyOrderSC(String ApplyOrderSC) {
|
|
this.ApplyOrderSC = ApplyOrderSC;
|
|
}
|
|
|
|
public String getApplyOrderTCXZ() {
|
|
return ApplyOrderTCXZ;
|
|
}
|
|
|
|
public void setApplyOrderTCXZ(String applyOrderTCXZ) {
|
|
ApplyOrderTCXZ = applyOrderTCXZ;
|
|
}
|
|
}
|
|
}
|
|
}
|