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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

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 StoreGoodsPageReqVO extends PageParam {

    @Schema(description = "类别Id", example = "28357")
    private Integer categoryId;

    @Schema(description = "商品名称", example = "张三")
    private String goodsName;

    @Schema(description = "价格", example = "11124")
    private Double price;

    private Long carteenId;

    @Schema(description = "售卖模式")
    private Integer salesModel;

    @Schema(description = "设备ID")
    private String equipmentCode;

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

    private List<Integer> ids;

}