package org.dromara.web.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.web.domain.ProductCategory;

import java.io.Serial;
import java.io.Serializable;



/**
 * 产品分类视图对象 product_category
 *
 * @author Lion Li
 * @date 2025-06-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProductCategory.class)
public class ProductCategoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 产品分类ID
     */
    @ExcelProperty(value = "产品分类ID")
    private Long categoryId;

    /**
     * 父产品分类id
     */
    @ExcelProperty(value = "父产品分类id")
    private Long parentId;

    /**
     * 产品分类名称
     */
    @ExcelProperty(value = "产品分类名称")
    private String categoryName;

    /**
     * 显示顺序
     */
    @ExcelProperty(value = "显示顺序")
    private Long orderNum;


}
