package com.ruoyi.mall.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.basic.domain.model.BaseAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("上级分类的编号：0表示一级分类")
    private Long parentId;


    private String typeName;

    @ApiModelProperty("分类级别：0->1级；1->2级")
    private Integer level;

    @ApiModelProperty("显示状态：0->不显示；1->显示")
    private Integer showStatus;

    @ApiModelProperty("SORT")
    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

//    0->商品分类；1->课程分类
    private Integer isCourse;
    private String  storeId;//门店id

}
