package com.seer.teach.mall.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "商品类型分页查询响应参数")
public class CategoryPageListResp {

    @Schema(description = "ID")
    @TableField("id")
    private Integer id;

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

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

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

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

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