package com.gingersoft.gsa.cloud.print.bean

class OrderDetails {

    /**
     * success : true
     * sysTime : 1585823531720
     * data : [{"Order_ID":50349,"NUMBER":1,"MEMBER_NAME":"忆逝1","PRICE":88,"discount_amount":0,"PHONE":"15728241877","ORDER_NO":"26202811401145744","Lunchbox":0,"remark":"","pid":0,"PRODUCT_NAME":[{"odsId":"1650249","PRICE":"88.0","num":"1","pid":"0","PRODUCT_NAME":"脆炸粟米蟹肉餅"}],"odsId":1650249,"addressDetail":"香港長沙灣青山道479 - 479A號麗昌工廠大廈 704 室及 802 室(接待處於 704 室蘋果迷你倉 - 荔枝角 (麗昌分店)分店","DELIVERY_CHARGE":0,"order_from":7,"sender":"","SEND_TIME":"盡快送達 18:27","PAY_AMOUNT":88,"ID":50349,"CREATE_TIME":"2020-04-02 17:57:29.0","takeFoodCode":"0","RECEIVER":"張學友 先生","TOTAL_AMOUNT":"88.0"}]
     */

    var success: Boolean = false
    var sysTime: Long = 0
    var data: List<DataBean>? = null

    class DataBean {
        /**
         * Order_ID : 50349
         * NUMBER : 1
         * MEMBER_NAME : 忆逝1
         * PRICE : 88.0
         * discount_amount : 0.0
         * PHONE : 15728241877
         * ORDER_NO : 26202811401145744
         * Lunchbox : 0.0
         * remark :
         * pid : 0
         * PRODUCT_NAME : [{"odsId":"1650249","PRICE":"88.0","num":"1","pid":"0","PRODUCT_NAME":"脆炸粟米蟹肉餅"}]
         * odsId : 1650249
         * addressDetail : 香港長沙灣青山道479 - 479A號麗昌工廠大廈 704 室及 802 室(接待處於 704 室蘋果迷你倉 - 荔枝角 (麗昌分店)分店
         * DELIVERY_CHARGE : 0.0
         * order_from : 7
         * sender :
         * SEND_TIME : 盡快送達 18:27
         * PAY_AMOUNT : 88.0
         * ID : 50349
         * CREATE_TIME : 2020-04-02 17:57:29.0
         * takeFoodCode : 0
         * RECEIVER : 張學友 先生
         * TOTAL_AMOUNT : 88.0
         */
        var trkNo: String? = null
        var delivery_man_phone_num: String? = null
        var deliveryMode: String? = null
        var delivery_man_name: String? = null
        var Order_ID: Int = 0
        var NUMBER: Int = 0
        var MEMBER_NAME: String? = null
        var PRICE: Double = 0.toDouble()
        var discount_amount: Double = 0.toDouble()
        var takeTime: String? = null
        var PHONE: String? = null
        var ORDER_NO: String? = null
        var Lunchbox: Double = 0.toDouble()
        var remark: String? = null
        var pid: Int = 0
        var odsId: Int = 0
        var addressDetail: String? = null
        var DELIVERY_CHARGE: Double = 0.toDouble()
        var order_from: Int = 0
        var sender: String? = null
        var SEND_TIME: String? = null
        var PAY_AMOUNT: Double = 0.toDouble()
        var ID: Int = 0
        var CREATE_TIME: String? = null
        var takeFoodCode: String? = null
        var RECEIVER: String? = null
        var TOTAL_AMOUNT: String? = null
        //後台不會返回
        var order_type: Int = 0
        var orderPayType: Int = 0

        var PRODUCT_NAME: List<PRODUCTNAMEBean>? = null

        class PRODUCTNAMEBean {
            /**
             * odsId : 1654481
             * PRICE : 760.0
             * num : 2
             * pid : 0
             * PRODUCT_NAME : Black Pepper Crab
             * child : [{"odsId":"1654482","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Pho"},{"odsId":"1654483","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"rice flour"},{"odsId":"1654484","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Tang Meng"},{"odsId":"1654485","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Black Pepper Tiger Prawn"},{"odsId":"1654486","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Chilli Tiger Prawn"},{"odsId":"1654487","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Black Pepper Crab","child":[{"odsId":"1654488","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"Pho"},{"odsId":"1654489","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"rice flour"},{"odsId":"1654490","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"Tang Meng"}]},{"odsId":"1654491","PRICE":"0.0","num":"2","pid":"1654481","PRODUCT_NAME":"Kam Heong Crab"}]
             */
            var odsId: String? = null
            var PRICE: String? = null
            var num: String? = null
            var pid: String? = null
            var PRODUCT_NAME: String? = null
            var child: List<ChildBeanX>? = null
            var printseting: String? = null

            class ChildBeanX {
                /**
                 * odsId : 1654482
                 * PRICE : 0.0
                 * num : 2
                 * pid : 1654481
                 * PRODUCT_NAME : Pho
                 * child : [{"odsId":"1654488","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"Pho"},{"odsId":"1654489","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"rice flour"},{"odsId":"1654490","PRICE":"0.0","num":"2","pid":"1654487","PRODUCT_NAME":"Tang Meng"}]
                 */
                var odsId: String? = null
                var PRICE: String? = null
                var num: String? = null
                var pid: String? = null
                var PRODUCT_NAME: String? = null
                var child: List<ChildBean>? = null
                var printseting: String? = null

                class ChildBean {
                    /**
                     * odsId : 1654488
                     * PRICE : 0.0
                     * num : 2
                     * pid : 1654487
                     * PRODUCT_NAME : Pho
                     */
                    var odsId: String? = null
                    var PRICE: String? = null
                    var num: String? = null
                    var pid: String? = null
                    var PRODUCT_NAME: String? = null
                    var printseting: String? = null
                }
            }
        }
    }
}