package com.sckw.product.model.vo.res;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author :chenXiaoFei
 * @version :1.0
 * @description : 查询商品信息响应参数
 * @create :2025-11-04 15:42:00
 */
@Data
public class GoodsInfoResp implements Serializable {
    @Serial
    private static final long serialVersionUID = 257421379531491703L;
    @Schema(description = "商品信息列表")
    List<GoodsInfo> goodsInfoRespList;
    @Data
    public static class GoodsInfo implements Serializable{
        @Serial
        private static final long serialVersionUID = 4725584482835210124L;
        /**
         * 商品id
         */
        @Schema(description = "商品id")
        private Long goodsId;
        /**
         * 商品名称
         */
        @Schema(description = "商品名称")
        private String goodsName;
        /**
         * 价格单位
         */
        @Schema(description = "价格单位")
        private String priceUnit;
        /**
         * 数量单位
         */
        @Schema(description = "数量单位")
        private String amountUnit;
    }
}
