package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 预订服务桌号批量添加DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "StoreBookingTableBatchDTO", description = "预订服务桌号批量添加DTO")
public class StoreBookingTableBatchDTO {

    @ApiModelProperty(value = "门店ID", required = true)
    private Integer storeId;

    @ApiModelProperty(value = "分类ID（关联store_booking_category表）", required = true)
    private Integer categoryId;

    @ApiModelProperty(value = "桌号列表", required = true)
    private List<TableItem> tables;

    @Data
    @ApiModel(value = "TableItem", description = "桌号项")
    public static class TableItem {
        @ApiModelProperty(value = "桌号", required = true)
        private String tableNumber;

        @ApiModelProperty(value = "座位数", required = true)
        private Integer seatingCapacity;
    }
}
