package com.corewing.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.corewing.app.common.base.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("biz_product_category")
public class BizProductCategory extends CommonEntity {

    @TableId
    private String id;

    private String parentId;

    private String thumbnail;

    private String categoryTitle;

    private String description;

    private String status;

    private Integer sortCode;

    private String remark;

    private String extJson;

    @TableField(exist = false)
    Page<BizProduct> productPage;
}
