package com.lantone.structure.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName : Family
 * @Description : 家属
 * @Author : 楼辉荣
 * @Date: 2020-03-03 18:43
 */
@Setter
@Getter
public class Family extends General{
    private Dead dead;
    private GeneticDiseaseKeyword geneticDiseaseKeyword;//家族遗传病
    private DiagInfectious diagInfectious;//传染病史
    private List<Diag> diags = new ArrayList<>();//疾病名称
    private HealthCondition healthCondition;//健康状况
    private SimilarDiag similarDiag;//相似疾病
    private Tumour tumour;//肿瘤病史

    public void addDiag(Diag diag) {
        this.diags.add(diag);
    }
}