package com.sckw.transport.model.param.forklift.reponse;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author :chenXiaoFei
 * @version :1.0
 * @description : 铲车筛选返回
 * @create :2025-11-11 20:16:00
 */
@Data
public class ForkliftOrderFilterResp implements Serializable {

    @Serial
    private static final long serialVersionUID = -5633966065692727347L;

    /**
     * 商品类别名称
     */
    @Schema(description = "商品一级名称")
    private String groupName;

    /**
     * 商品类别值
     */
    private String groupValue;

    /**
     * 规格类别
     */
    private List<SpecOptionDTO> options = new ArrayList<>();


    @Data
    public static class SpecOptionDTO {

        /**
         * 类型id
         */
        private Long id;

        /**
         * 名称
         */
        private String label;

        /**
         * 实际值
         */
        private String value;
    }

    }
