package org.jeecg.modules.bytedance.advertise.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 兴趣分类信息
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2019-09-18
 */
@Data
@TableName("ctop_bytedance_interest_category")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_bytedance_interest_category对象", description = "兴趣分类信息")
public class BytedanceInterestCategory {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 名称
     */
    private String name;
    /**
     * code
     */
    private String code;
    /**
     * parentCode
     */
    private String parentCode;
    /**
     * level
     */
    private Integer level;
    /**
     * createTime
     */
    private Date createTime;
    /**
     * updateTime
     */
    private Date updateTime;

    @TableField(exist = false)
    private Boolean hasChild;
}
