package cn.iocoder.yudao.module.member.controller.admin.activitytable.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 活动用餐桌子分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ActivityTablePageReqVO extends PageParam {

    @Schema(description = "活动id", example = "8513")
    private Long activityId;

    @Schema(description = "序号")
    private Integer serialNumber;

    @Schema(description = "价格", example = "515")
    private BigDecimal price;

    @Schema(description = "用户id", example = "13832")
    private Long userId;

    @Schema(description = "电话")
    private String mobile;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否只查预定的")
    private Boolean isReserve = false;

    private LocalDate reserveTime;

    @Schema(description = "序号")
    private List<Integer> serialNumbers;

    private Long merchantId;

}