package cn.freemud.entities.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@Data
@ToString
public class PayAccessResponse {
    /**
     * errcode : 100
     * data : {"take_code":"2"}
     * errmsg : 订单支付确认成功
     */

    private Integer errcode;
    private DataBean data;
    private String errmsg;

    @NoArgsConstructor
    @Data
    public static class DataBean {

        /**
         * 取餐码
         */
        @JsonProperty("take_code")
        private String takeCode;
        /**
         * 排队号
         */
        @JsonProperty("queue_index")
        private String queueIndex;
        /**
         * 订单序号
         */
        @JsonProperty("daySeq")
        private String daySeq;
    }
}
