package cn.ysk.cashier.vo;

import lombok.Data;

/**
 * @author GYJ
 */
@Data
public class ShopTableSaleInfoVo {
    private Integer id;

    private Object shopId;

    private Object tableId;

    private String tableCode;

    private Object tableName;

    private Object areaId;

    private Object areaName;

    private Object orderCount;

    private Object orderAmount;


    public ShopTableSaleInfoVo(Integer id, Object shopId, Object tableId, String tableCode, Object tableName,
                               Object areaId, Object areaName, Object orderCount, Object orderAmount) {
        this.id = id;
        this.shopId = shopId;
        this.tableId = tableId;
        this.tableCode = tableCode;
        this.tableName = tableName;
        this.areaId = areaId;
        this.areaName = areaName;
        this.orderCount = orderCount == null ? 0 : orderCount;
        this.orderAmount = orderAmount == null ? 0 : orderAmount;
    }
}
