package com.backendsys.modules.b2c.good.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("b2c_good_brand")
public class GoodBrand {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long parent_id;
    private String brand_name;
    private String brand_name_en;

    @TableField(exist = false)
    private List<GoodBrand> children;

    private Integer sort;
    private Integer status;

}
