package cn.cslg.pas.domain;

import cn.cslg.pas.common.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 自定义字段多选关联表
 * </p>
 *
 * @author 王岩
 * @since 2021-12-17
 */
@Data
@TableName("os_patent_field_multiple")
public class ProjectFieldOption extends BaseEntity<ProjectFieldOption> {

    /**
     * 多选选项名称
     */
    private String name;

    /**
     * 自定义字段ID
     */
    @TableField("cid")
    private Integer fieldId;

    /**
     * 子节点
     */
    @TableField(exist = false)
    private List<ProjectFieldOption> children;

    /**
     * 父节点ID
     */
    @TableField(exist = false)
    private Integer parentId;

    /**
     * 专题库ID
     */
    @TableField(exist = false)
    private Integer projectId;

    /**
     * 类型
     */
    @TableField(exist = false)
    private Integer type;

    /**
     * 树形层级
     */
    @TableField(exist = false)
    private Integer level;

    /**
     * 路径
     */
    @TableField(exist = false)
    private String path;

    @TableField(exist = false)
    private Integer order;

    @TableField(exist = false)
    private String remark;

    @TableField(exist = false)
    private Integer total;
}
