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

    @Schema(description = "商品ID", example = "16735")
    private Integer goodsId;

    @Schema(description = "门店ID", example = "14609")
    private Long carteenId;

    @Schema(description = "数量")
    private Integer number;

    @Schema(description = "重量")
    private Double weight;

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

    @Schema(description = "商品ID", example = "16735")
    private String goodsName;

    @Schema(description = "商品ID", example = "16735")
    private List<Integer> goodsIds;

}