package cn.iocoder.yudao.module.system.controller.admin.dishes.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 DishesPageReqVO extends PageParam {

    @Schema(description = "菜品名称", example = "王五")
    private String dishesName;

    @Schema(description = "菜品图片", example = "https://www.iocoder.cn")
    private String dishesImageUrl;

    @Schema(description = "菜品属性")
    private String dishesAttribute;

    @Schema(description = "基本价格(标准)", example = "27937")
    private BigDecimal dishesBasePrice;

    @Schema(description = "会员价格", example = "21531")
    private BigDecimal dishesVipBasePrice;

    @Schema(description = "称重价格(标准)", example = "6375")
    private BigDecimal dishesWeighPrice;

    @Schema(description = "称重会员价格(标准)", example = "9200")
    private BigDecimal dishesVipWeighPrice;

    @Schema(description = "厨师")
    private String dishecCook;

    @Schema(description = "菜品类型", example = "1")
    private String dishecType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "门店编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long  carteenId;
    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    private Long  typeId;

    private String weekTime;

    private String timeSlot;

    private List<String> weekTimes;

    private Integer dailySigns;

    private Integer errorNum;
}