package com.storlead.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.List;

import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 标签库
 * </p>
 *
 * @author chenkq
 * @since 2023-05-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("note_tag_library")
public class NoteTagLibraryEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "tag_id", type = IdType.AUTO)
    private Long tagId;

    @ApiModelProperty("标签名称")
    private String tagName;


    @ApiModelProperty("标签 上级，0 或者 null 代表标签组")
    private Long tagParentId;

    @ApiModelProperty("标签样式颜色")
    private String tagColor;

    @ApiModelProperty("标签属性标记： 0: 中性 1:正向 2:负面 ")
    private Integer propertyType;

    @ApiModelProperty("使用范围")
    private String tagRange;

    @ApiModelProperty("使用范围")
    @TableField(exist = false)
    private List<Long> tagRangels;

    @ApiModelProperty("描述")
    private String description;
}
