package shop.alien.entity.store.vo;

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

import java.io.Serializable;

/**
 * 餐桌是否处于就餐中（免登录查询）VO
 *
 * @author system
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "TableDiningStatusVO", description = "餐桌就餐状态（是否就餐中、就餐人数）")
public class TableDiningStatusVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "桌号ID")
    private Integer tableId;

    @ApiModelProperty(value = "是否处于就餐中（true=就餐中且已有就餐人数数据）")
    private Boolean inDining;

    @ApiModelProperty(value = "当前就餐人数，非就餐中时为null")
    private Integer dinerCount;
}
