package com.gingersoft.coldchain_module.mvp.model.bean;

import com.gingersoft.coldchain_module.R;

import java.util.List;

public class OrderList {

    /**
     * success : true
     * sysTime : 1598351454426
     * data : {"data":[{"MEMBER_NAME":"逗我","ADDRESS_DETAIL":"香港香港仔青年家园","PHONE":"13026680931","isRead":1,"orderPayType":1,"ORDER_NO":"26203823432222770","sendTime":"盡快送達 預計 19:32-19:57","STATUS":2,"PAY_AMOUNT":30,"trkNo":"FD2020081856252620","Id":11121377,"CREATE_TIME":"Aug 18, 2020 6:59:36 PM","takeFoodCode":"0737","order_type":2,"RECEIVER":"敏 先生","waimaiSendTime":"盡快送達 預計 19:32-19:57"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26205743356443954","sendTime":"盡快送達 預計 19:57-20:22","STATUS":3,"PAY_AMOUNT":32.9,"trkNo":"FD2020081352696912","Id":11119841,"CREATE_TIME":"Aug 13, 2020 6:57:56 PM","takeFoodCode":"0721","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:57-20:22"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26203713370942952","sendTime":"盡快送達 預計 19:35-20:00","STATUS":3,"PAY_AMOUNT":32.9,"trkNo":"FD2020081352740270","Id":11119811,"CREATE_TIME":"Aug 13, 2020 6:35:59 PM","takeFoodCode":"0720","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:35-20:00"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26200283308946163","sendTime":"盡快送達 預計 19:26-19:51","STATUS":2,"PAY_AMOUNT":32.9,"trkNo":"FD2020081321241332","Id":11119795,"CREATE_TIME":"Aug 13, 2020 6:26:06 PM","takeFoodCode":"0719","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:26-19:51"},{"MEMBER_NAME":"逗我","ADDRESS_DETAIL":"香港香港仔青年家园","PHONE":"13026680931","isRead":1,"orderPayType":1,"ORDER_NO":"26201693329940218","sendTime":"盡快送達 預計 12:57-13:22","STATUS":3,"PAY_AMOUNT":20,"Id":11119288,"CREATE_TIME":"Aug 13, 2020 11:57:27 AM","takeFoodCode":"0718","order_type":2,"RECEIVER":"敏 先生","waimaiSendTime":"盡快送達 預計 12:57-13:22"},{"ADDRESS_DETAIL":"","takeTime":"08-07 (週五)立即","PHONE":"18576673683","isRead":1,"orderPayType":1,"ORDER_NO":"26200843215151083","sendTime":"","STATUS":3,"PAY_AMOUNT":54.3,"Id":11117364,"CREATE_TIME":"Aug 7, 2020 3:17:33 PM","takeFoodCode":"T107","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 7, 2020 3:17:32 PM"},{"MEMBER_NAME":"梁任东","ADDRESS_DETAIL":"","takeTime":"08-07 (週五)立即","PHONE":"18665823617","isRead":1,"orderPayType":1,"ORDER_NO":"26200653245950329","sendTime":"","STATUS":3,"PAY_AMOUNT":30,"Id":11117343,"CREATE_TIME":"Aug 7, 2020 11:17:35 AM","takeFoodCode":"ML18","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 7, 2020 11:17:35 AM"},{"ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"15073379600","isRead":1,"orderPayType":1,"ORDER_NO":"26200353220341585","sendTime":"","STATUS":3,"PAY_AMOUNT":11.4,"Id":11117332,"CREATE_TIME":"Aug 6, 2020 8:08:22 PM","takeFoodCode":"V925","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 8:08:21 PM"},{"MEMBER_NAME":"stefan","ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"18520231413","isRead":1,"orderPayType":1,"ORDER_NO":"26200003200944097","sendTime":"","STATUS":3,"PAY_AMOUNT":0.1,"Id":11117330,"CREATE_TIME":"Aug 6, 2020 8:00:20 PM","takeFoodCode":"WA31","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 8:00:19 PM"},{"MEMBER_NAME":"stefan","ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"18520231413","isRead":1,"orderPayType":1,"ORDER_NO":"26201743242349492","sendTime":"","STATUS":3,"PAY_AMOUNT":0.1,"Id":11117329,"CREATE_TIME":"Aug 6, 2020 7:34:27 PM","takeFoodCode":"LPY4","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 7:34:27 PM"},{"MaxOrder":4225,"numHistory":224,"maxOrderSelf":2599,"num":1,"orderType_7":{"typeTotalAmount":"986.9","typeDayOrderNum":25},"sumSelfNum":2680,"selflNum":21,"orderType_2":{"typeTotalAmount":"21433.2","typeDayOrderNum":7},"totalAmount":"22420.1","selflNumHistory":81,"dayOrderNum":32,"sumNum":4449,"Open_Status":"1"}],"count":0,"page":{"pageIndex":1,"pageSize":10,"pageCount":0,"totalCount":49}}
     */

    private boolean success;
    private long sysTime;
    private DataBeanX data;
    private String errMsg;
    private String errCode;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getSysTime() {
        return sysTime;
    }

    public void setSysTime(long sysTime) {
        this.sysTime = sysTime;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : [{"MEMBER_NAME":"逗我","ADDRESS_DETAIL":"香港香港仔青年家园","PHONE":"13026680931","isRead":1,"orderPayType":1,"ORDER_NO":"26203823432222770","sendTime":"盡快送達 預計 19:32-19:57","STATUS":2,"PAY_AMOUNT":30,"trkNo":"FD2020081856252620","Id":11121377,"CREATE_TIME":"Aug 18, 2020 6:59:36 PM","takeFoodCode":"0737","order_type":2,"RECEIVER":"敏 先生","waimaiSendTime":"盡快送達 預計 19:32-19:57"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26205743356443954","sendTime":"盡快送達 預計 19:57-20:22","STATUS":3,"PAY_AMOUNT":32.9,"trkNo":"FD2020081352696912","Id":11119841,"CREATE_TIME":"Aug 13, 2020 6:57:56 PM","takeFoodCode":"0721","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:57-20:22"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26203713370942952","sendTime":"盡快送達 預計 19:35-20:00","STATUS":3,"PAY_AMOUNT":32.9,"trkNo":"FD2020081352740270","Id":11119811,"CREATE_TIME":"Aug 13, 2020 6:35:59 PM","takeFoodCode":"0720","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:35-20:00"},{"MEMBER_NAME":"宇航","ADDRESS_DETAIL":"香港長沙灣青山道479A號暂时难以","PHONE":"18384840551","isRead":1,"orderPayType":1,"ORDER_NO":"26200283308946163","sendTime":"盡快送達 預計 19:26-19:51","STATUS":2,"PAY_AMOUNT":32.9,"trkNo":"FD2020081321241332","Id":11119795,"CREATE_TIME":"Aug 13, 2020 6:26:06 PM","takeFoodCode":"0719","order_type":2,"RECEIVER":"KN95 先生","waimaiSendTime":"盡快送達 預計 19:26-19:51"},{"MEMBER_NAME":"逗我","ADDRESS_DETAIL":"香港香港仔青年家园","PHONE":"13026680931","isRead":1,"orderPayType":1,"ORDER_NO":"26201693329940218","sendTime":"盡快送達 預計 12:57-13:22","STATUS":3,"PAY_AMOUNT":20,"Id":11119288,"CREATE_TIME":"Aug 13, 2020 11:57:27 AM","takeFoodCode":"0718","order_type":2,"RECEIVER":"敏 先生","waimaiSendTime":"盡快送達 預計 12:57-13:22"},{"ADDRESS_DETAIL":"","takeTime":"08-07 (週五)立即","PHONE":"18576673683","isRead":1,"orderPayType":1,"ORDER_NO":"26200843215151083","sendTime":"","STATUS":3,"PAY_AMOUNT":54.3,"Id":11117364,"CREATE_TIME":"Aug 7, 2020 3:17:33 PM","takeFoodCode":"T107","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 7, 2020 3:17:32 PM"},{"MEMBER_NAME":"梁任东","ADDRESS_DETAIL":"","takeTime":"08-07 (週五)立即","PHONE":"18665823617","isRead":1,"orderPayType":1,"ORDER_NO":"26200653245950329","sendTime":"","STATUS":3,"PAY_AMOUNT":30,"Id":11117343,"CREATE_TIME":"Aug 7, 2020 11:17:35 AM","takeFoodCode":"ML18","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 7, 2020 11:17:35 AM"},{"ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"15073379600","isRead":1,"orderPayType":1,"ORDER_NO":"26200353220341585","sendTime":"","STATUS":3,"PAY_AMOUNT":11.4,"Id":11117332,"CREATE_TIME":"Aug 6, 2020 8:08:22 PM","takeFoodCode":"V925","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 8:08:21 PM"},{"MEMBER_NAME":"stefan","ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"18520231413","isRead":1,"orderPayType":1,"ORDER_NO":"26200003200944097","sendTime":"","STATUS":3,"PAY_AMOUNT":0.1,"Id":11117330,"CREATE_TIME":"Aug 6, 2020 8:00:20 PM","takeFoodCode":"WA31","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 8:00:19 PM"},{"MEMBER_NAME":"stefan","ADDRESS_DETAIL":"","takeTime":"08-06 (週四)立即","PHONE":"18520231413","isRead":1,"orderPayType":1,"ORDER_NO":"26201743242349492","sendTime":"","STATUS":3,"PAY_AMOUNT":0.1,"Id":11117329,"CREATE_TIME":"Aug 6, 2020 7:34:27 PM","takeFoodCode":"LPY4","order_type":7,"RECEIVER":"","waimaiSendTime":"Aug 6, 2020 7:34:27 PM"},{"MaxOrder":4225,"numHistory":224,"maxOrderSelf":2599,"num":1,"orderType_7":{"typeTotalAmount":"986.9","typeDayOrderNum":25},"sumSelfNum":2680,"selflNum":21,"orderType_2":{"typeTotalAmount":"21433.2","typeDayOrderNum":7},"totalAmount":"22420.1","selflNumHistory":81,"dayOrderNum":32,"sumNum":4449,"Open_Status":"1"}]
         * count : 0
         * page : {"pageIndex":1,"pageSize":10,"pageCount":0,"totalCount":49}
         */

        private int count;
        private PageBean page;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

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

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class PageBean {
            /**
             * pageIndex : 1
             * pageSize : 10
             * pageCount : 0
             * totalCount : 49
             */

            private int pageIndex;
            private int pageSize;
            private int pageCount;
            private int totalCount;

            public int getPageIndex() {
                return pageIndex;
            }

            public void setPageIndex(int pageIndex) {
                this.pageIndex = pageIndex;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getPageCount() {
                return pageCount;
            }

            public void setPageCount(int pageCount) {
                this.pageCount = pageCount;
            }

            public int getTotalCount() {
                return totalCount;
            }

            public void setTotalCount(int totalCount) {
                this.totalCount = totalCount;
            }
        }

        public static class DataBean {
            /**
             * MEMBER_NAME : 逗我
             * ADDRESS_DETAIL : 香港香港仔青年家园
             * PHONE : 13026680931
             * isRead : 1
             * orderPayType : 1
             * ORDER_NO : 26203823432222770
             * sendTime : 盡快送達 預計 19:32-19:57
             * STATUS : 2
             * PAY_AMOUNT : 30.0
             * trkNo : FD2020081856252620
             * Id : 11121377
             * CREATE_TIME : Aug 18, 2020 6:59:36 PM
             * takeFoodCode : 0737
             * order_type : 2
             * RECEIVER : 敏 先生
             * waimaiSendTime : 盡快送達 預計 19:32-19:57
             * takeTime : 08-07 (週五)立即
             * MaxOrder : 4225
             * numHistory : 224
             * maxOrderSelf : 2599
             * num : 1
             * orderType_7 : {"typeTotalAmount":"986.9","typeDayOrderNum":25}
             * sumSelfNum : 2680
             * selflNum : 21
             * orderType_2 : {"typeTotalAmount":"21433.2","typeDayOrderNum":7}
             * totalAmount : 22420.1
             * selflNumHistory : 81
             * dayOrderNum : 32.0
             * sumNum : 4449
             * Open_Status : 1
             */

            private String MEMBER_NAME;
            private String ADDRESS_DETAIL;
            private String PHONE;
            private int isRead = -1;
            private int orderPayType;
            private String ORDER_NO;
            private String sendTime;
            private int STATUS;
            private double PAY_AMOUNT;
            private String trkNo;
            private int Id;
            private String CREATE_TIME;
            private String takeFoodCode;
            private int order_type;
            private String RECEIVER;
            private String waimaiSendTime;
            private String takeTime;
            private int MaxOrder;
            private int numHistory;
            private int maxOrderSelf;
            private int num;
            private int curStat;
            private OrderType7Bean orderType_7;
            private int sumSelfNum;
            private int selflNum;
            private OrderType2Bean orderType_2;
            private String totalAmount;
            private int selflNumHistory;
            private double dayOrderNum;
            private int sumNum;
            private String Open_Status;
            private int isPrintPdf;//是否已打印PDF 0否 1是
            /**
             * 是否打印上菜紙
             * 0 未打印，1 打印成功，2 打印失敗
             */
            private int printStatus;

            public String getPrintStrByStatus() {
                switch (printStatus) {
                    case 1:
                        return "已打印訂單";
                    case 2:
                        return "訂單打印失敗";
                    default:
                        return "未打印訂單";
                }
            }
            public int getColorByStatus() {
                switch (printStatus) {
                    case 1:
                        return R.color.print_success_color;
                    case 2:
                        return R.color.required_color;
                    default:
                        return R.color.color_3c;
                }
            }
            public int getPrintStatus() {
                return printStatus;
            }

            public void setPrintStatus(int printStatus) {
                this.printStatus = printStatus;
            }

            public int getCurStat() {
                return curStat;
            }

            public void setCurStat(int curStat) {
                this.curStat = curStat;
            }

            public String getMEMBER_NAME() {
                return MEMBER_NAME;
            }

            public void setMEMBER_NAME(String MEMBER_NAME) {
                this.MEMBER_NAME = MEMBER_NAME;
            }

            public String getADDRESS_DETAIL() {
                return ADDRESS_DETAIL;
            }

            public void setADDRESS_DETAIL(String ADDRESS_DETAIL) {
                this.ADDRESS_DETAIL = ADDRESS_DETAIL;
            }

            public String getPHONE() {
                return PHONE;
            }

            public void setPHONE(String PHONE) {
                this.PHONE = PHONE;
            }

            public int getIsRead() {
                return isRead;
            }

            public void setIsRead(int isRead) {
                this.isRead = isRead;
            }

            public int getOrderPayType() {
                return orderPayType;
            }

            public void setOrderPayType(int orderPayType) {
                this.orderPayType = orderPayType;
            }

            public String getORDER_NO() {
                return ORDER_NO;
            }

            public void setORDER_NO(String ORDER_NO) {
                this.ORDER_NO = ORDER_NO;
            }

            public String getSendTime() {
                return sendTime;
            }

            public void setSendTime(String sendTime) {
                this.sendTime = sendTime;
            }

            public int getSTATUS() {
                return STATUS;
            }

            public void setSTATUS(int STATUS) {
                this.STATUS = STATUS;
            }

            public double getPAY_AMOUNT() {
                return PAY_AMOUNT;
            }

            public void setPAY_AMOUNT(double PAY_AMOUNT) {
                this.PAY_AMOUNT = PAY_AMOUNT;
            }

            public String getTrkNo() {
                return trkNo;
            }

            public void setTrkNo(String trkNo) {
                this.trkNo = trkNo;
            }

            public int getId() {
                return Id;
            }

            public void setId(int Id) {
                this.Id = Id;
            }

            public String getCREATE_TIME() {
                return CREATE_TIME;
            }

            public void setCREATE_TIME(String CREATE_TIME) {
                this.CREATE_TIME = CREATE_TIME;
            }

            public String getTakeFoodCode() {
                return takeFoodCode;
            }

            public void setTakeFoodCode(String takeFoodCode) {
                this.takeFoodCode = takeFoodCode;
            }

            public int getOrder_type() {
                return order_type;
            }

            public void setOrder_type(int order_type) {
                this.order_type = order_type;
            }

            public String getRECEIVER() {
                return RECEIVER;
            }

            public void setRECEIVER(String RECEIVER) {
                this.RECEIVER = RECEIVER;
            }

            public String getWaimaiSendTime() {
                return waimaiSendTime;
            }

            public void setWaimaiSendTime(String waimaiSendTime) {
                this.waimaiSendTime = waimaiSendTime;
            }

            public String getTakeTime() {
                return takeTime;
            }

            public void setTakeTime(String takeTime) {
                this.takeTime = takeTime;
            }

            public int getMaxOrder() {
                return MaxOrder;
            }

            public void setMaxOrder(int MaxOrder) {
                this.MaxOrder = MaxOrder;
            }

            public int getNumHistory() {
                return numHistory;
            }

            public void setNumHistory(int numHistory) {
                this.numHistory = numHistory;
            }

            public int getMaxOrderSelf() {
                return maxOrderSelf;
            }

            public void setMaxOrderSelf(int maxOrderSelf) {
                this.maxOrderSelf = maxOrderSelf;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public OrderType7Bean getOrderType_7() {
                return orderType_7;
            }

            public void setOrderType_7(OrderType7Bean orderType_7) {
                this.orderType_7 = orderType_7;
            }

            public int getSumSelfNum() {
                return sumSelfNum;
            }

            public void setSumSelfNum(int sumSelfNum) {
                this.sumSelfNum = sumSelfNum;
            }

            public int getSelflNum() {
                return selflNum;
            }

            public void setSelflNum(int selflNum) {
                this.selflNum = selflNum;
            }

            public OrderType2Bean getOrderType_2() {
                return orderType_2;
            }

            public void setOrderType_2(OrderType2Bean orderType_2) {
                this.orderType_2 = orderType_2;
            }

            public String getTotalAmount() {
                return totalAmount;
            }

            public void setTotalAmount(String totalAmount) {
                this.totalAmount = totalAmount;
            }

            public int getSelflNumHistory() {
                return selflNumHistory;
            }

            public void setSelflNumHistory(int selflNumHistory) {
                this.selflNumHistory = selflNumHistory;
            }

            public double getDayOrderNum() {
                return dayOrderNum;
            }

            public void setDayOrderNum(double dayOrderNum) {
                this.dayOrderNum = dayOrderNum;
            }

            public int getSumNum() {
                return sumNum;
            }

            public void setSumNum(int sumNum) {
                this.sumNum = sumNum;
            }

            public String getOpen_Status() {
                return Open_Status;
            }

            public void setOpen_Status(String Open_Status) {
                this.Open_Status = Open_Status;
            }

            public int getIsPrintPdf() {
                return isPrintPdf;
            }

            public void setIsPrintPdf(int isPrintPdf) {
                this.isPrintPdf = isPrintPdf;
            }

            public static class OrderType7Bean {
                /**
                 * typeTotalAmount : 986.9
                 * typeDayOrderNum : 25
                 */

                private String typeTotalAmount;
                private int typeDayOrderNum;

                public String getTypeTotalAmount() {
                    return typeTotalAmount;
                }

                public void setTypeTotalAmount(String typeTotalAmount) {
                    this.typeTotalAmount = typeTotalAmount;
                }

                public int getTypeDayOrderNum() {
                    return typeDayOrderNum;
                }

                public void setTypeDayOrderNum(int typeDayOrderNum) {
                    this.typeDayOrderNum = typeDayOrderNum;
                }
            }

            public static class OrderType2Bean {
                /**
                 * typeTotalAmount : 21433.2
                 * typeDayOrderNum : 7
                 */

                private String typeTotalAmount;
                private int typeDayOrderNum;

                public String getTypeTotalAmount() {
                    return typeTotalAmount;
                }

                public void setTypeTotalAmount(String typeTotalAmount) {
                    this.typeTotalAmount = typeTotalAmount;
                }

                public int getTypeDayOrderNum() {
                    return typeDayOrderNum;
                }

                public void setTypeDayOrderNum(int typeDayOrderNum) {
                    this.typeDayOrderNum = typeDayOrderNum;
                }
            }
        }
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
