/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.shop;

import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-01-18
**/
@Data
public class TbShopTableDto implements Serializable {

    /** 自增id */
    private Integer id;

    private String name;

    private Integer shopId;

    /** 客座数,允许的客座数量 */
    private Integer maxCapacity;

    /** 台桌排序 */
    private Integer sort;

    /** 区域Id */
    private Integer areaId;

    /** 是否接受网络预定 */
    private Integer isPredate;

    /** 网络预定台桌支付金额 */
    private BigDecimal predateAmount;

    /** subscribe预定，closed--关台， opening 开台中，cleaning 台桌清理中 */
    private String status;

    /** 台桌计算价格类型，0-低消类型，amount    2计时类型 */
    private Integer type;

    /** 当type=0时，amount生效,为台桌的低消金额 */
    private BigDecimal amount;

    /** 当type=2时perhour生效，为计时类型,每小时收款金额 */
    private BigDecimal perhour;

    /** 台桌展示图---预留 */
    private String view;

    private Long createdAt;

    private Long updatedAt;

    private String qrcode;
}