package com.bonus.canteen.core.kitchen.entity.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Generated;

import java.time.LocalDateTime;
import java.util.List;

@Api
public class PassengerFlowVO {
   @ApiModelProperty("在场人数集合")
   private List<PresentFlowVO> presentFlowVOList;
   @ApiModelProperty("更新时间")
   private LocalDateTime updateTime;
   @ApiModelProperty("当天在场人数")
   private Integer presentNum = 0;
   @ApiModelProperty("当天进入人数")
   private Integer enters = 0;
   @ApiModelProperty("当天离开人数")
   private Integer exits = 0;
   @ApiModelProperty("食堂容量")
   private Integer capacity = 0;

   @Generated
   public List<PresentFlowVO> getPresentFlowVOList() {
      return this.presentFlowVOList;
   }

   @Generated
   public LocalDateTime getUpdateTime() {
      return this.updateTime;
   }

   @Generated
   public Integer getPresentNum() {
      return this.presentNum;
   }

   @Generated
   public Integer getEnters() {
      return this.enters;
   }

   @Generated
   public Integer getExits() {
      return this.exits;
   }

   @Generated
   public Integer getCapacity() {
      return this.capacity;
   }

   @Generated
   public PassengerFlowVO setPresentFlowVOList(final List<PresentFlowVO> presentFlowVOList) {
      this.presentFlowVOList = presentFlowVOList;
      return this;
   }

   @Generated
   public PassengerFlowVO setUpdateTime(final LocalDateTime updateTime) {
      this.updateTime = updateTime;
      return this;
   }

   @Generated
   public PassengerFlowVO setPresentNum(final Integer presentNum) {
      this.presentNum = presentNum;
      return this;
   }

   @Generated
   public PassengerFlowVO setEnters(final Integer enters) {
      this.enters = enters;
      return this;
   }

   @Generated
   public PassengerFlowVO setExits(final Integer exits) {
      this.exits = exits;
      return this;
   }

   @Generated
   public PassengerFlowVO setCapacity(final Integer capacity) {
      this.capacity = capacity;
      return this;
   }
}
