package com.diagbot.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.diagbot.entity.LibraryDetail;
import com.diagbot.entity.LibraryInfo;
import com.diagbot.entity.Medical;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description:
 * @author: Weixuan Huang
 * @time: 2019/1/14 17:03
 */
@Getter
@Setter
public class ConceptDTO {
     /**
     * 概念id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 术语id
     */
    private Integer libId;

    /**
     * 术语名称
     */
    private String name;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreated;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;

    /**
     * 术语基本信息
     */
    private LibraryInfo libraryInfo;

    /**
     * 术语相关医学知识
     */
    private List<LibraryDetail> information;

    /**
     * 医学临床信息
     */
    private List<Medical> medicalInfo;

    /**
     * 术语所有上级信息
     */
    private List<RelationDTO> relations;
}
