package com.ruoyi.web.base.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 货品类别
 * </p>
 *
 * @author author
 * @since 2026-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_product_category")
@ApiModel(value="BaseProductCategory对象", description="货品类别")
public class BaseProductCategory extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String num;

    @ApiModelProperty(value = "名称")
    private String categoryName;

    private Integer parentId;

    @TableField(exist =  false)
    private List<BaseProductCategory> child;


}
