package com.wx.application.core.entity;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wx.application.base.BaseEntity;
import com.wx.application.nebula.graph.enums.DataType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zj
 * @since 2022-09-25
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("dn_ontology_field")
public class OntologyField extends BaseEntity<Long> {

	private Long ontologyId;
	
	private String field;
	
	private DataType type;
	
	private Integer len;
	
	/**
	 * 单个属性的描述
	 */
	private String comment;
	
	private Long parentId;

	
	/**
	 * 对应OntologyConcept 的ownId集合
	 */
	@TableField(exist = false)
	private List<String> conceptIds;

}
