package com.oqpo.api.web.dto.request.stockmng;

import com.oqpo.api.web.dto.request.GridRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;


@Getter
@Setter
public class StockMngCddGridRequest extends GridRequest {

    @ApiModelProperty(value = "브랜드아이디")
    private String brandId;
    @ApiModelProperty(value = "매장아이디")
    private String storeId;
    @ApiModelProperty(value = "창고아이디")
    private String whsId;
    @ApiModelProperty(value = "LOCATION")
    private String location;

    @ApiModelProperty(value = "재고실사 품목리스트")
    private List<StockMngCddGridRequest.StockCddReqData> gridItemData;

    @Getter
    @Builder
    @AllArgsConstructor(access = AccessLevel.PROTECTED)
    public static class StockCddReqData {

        @ApiModelProperty(value = "품목아이디")
        private String itemId;
        @ApiModelProperty(value = "실사수량")
        private int cddQty;

    }

    protected StockMngCddGridRequest(Integer gridSize, Integer gridPage, String sidx, String sord, Boolean pagingYn, Integer gridFirst) {
        super(gridSize, gridPage, sidx, sord, pagingYn, gridFirst);
    }

}
