package com.seer.teach.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Captain
 * @since 2025-06-10
 */
@Getter
@Setter
@TableName("mall_category")
@Schema(name = "CategoryEntity对象", description = "")
public class CategoryEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "分类名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "关键字")
    @TableField("keywords")
    private String keywords;

    @Schema(description = "描述")
    @TableField("front_desc")
    private String frontDesc;

    @Schema(description = "父节点")
    @TableField("parent_id")
    private Integer parentId;

    @Schema(description = "排序")
    @TableField("sort_order")
    private Integer sortOrder;

    @Schema(description = "首页展示")
    @TableField("show_index")
    private Integer showIndex;

    @Schema(description = "显示")
    @TableField("is_show")
    private Integer isShow;

    @Schema(description = "banner图片")
    @TableField("banner_url")
    private String bannerUrl;

    @Schema(description = "icon链接")
    @TableField("icon_url")
    private String iconUrl;

    @Schema(description = "图片")
    @TableField("img_url")
    private String imgUrl;

    @Schema(description = "等级")
    @TableField("`level`")
    private String level;

    @Schema(description = "类型")
    @TableField("`type`")
    private Integer type;

    @TableField("front_name")
    private String frontName;


}