package cn.iocoder.yudao.module.member.controller.admin.activityadddish.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.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 ActivityAddDishPageReqVO extends PageParam {

    @Schema(description = "桌子", example = "18726")
    private Long tableDishId;

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

    @Schema(description = "菜名", example = "赵六")
    private String dishName;

    @Schema(description = "菜品价格", example = "12669")
    private BigDecimal dishPrice;

    @Schema(description = "菜品图片")
    private String dishImg;

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

    @Schema(description = "桌子", example = "18726")
    private List<Long> tableDishIds;

}