package com.wzj.soopin.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

/**
 * 商品分类对象 pms_product_category
 *
 * @author zcc
 */
@Schema(description = "商品分类对象")
@Data
@TableName("pms_product_category")
public class ProductCategory extends BaseAudit {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "上级分类的编号：0表示一级分类")
    @Excel(name = "上级分类的编号：0表示一级分类")
    private Long parentId;

    @Schema(description = "NAME")
    @Excel(name = "NAME")
    private String name;

    @Schema(description = "分类级别：0->1级；1->2级")
    @Excel(name = "分类级别：0->1级；1->2级")
    private Integer level;

    @Schema(description = "显示状态：0->不显示；1->显示")
    @Excel(name = "显示状态：0->不显示；1->显示")
    private Integer showStatus;

    @Schema(description = "SORT")
    @Excel(name = "SORT")
    private Integer sort;

    @Schema(description = "图标")
    @Excel(name = "图标")
    private String icon;
}
