/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.person.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDate;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-05-28
 */
@Data
@TableName("personnel_psychiatric")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Psychiatric对象", description = "Psychiatric对象")
public class Psychiatric extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 基本表ID
	*/
		@ApiModelProperty(value = "基本表ID")
		private Long parentId;
	/**
	* 姓名
	*/
		@ApiModelProperty(value = "姓名")
		private String name;
	/**
	* 家庭经济状况：无固定经济来源；有固定经济来源；低收入家庭；贫困；其他
	*/
		@ApiModelProperty(value = "家庭经济状况：无固定经济来源；有固定经济来源；低收入家庭；贫困；其他")
		private String economicStatus;
	/**
	* 是否纳入低保：0 - 否；1 - 是
	*/
		@ApiModelProperty(value = "是否纳入低保：0 - 否；1 - 是")
		private Integer subAllowance;
	/**
	* 监护人身份证
	*/
		@ApiModelProperty(value = "监护人身份证")
		private String guardianIdCard;
	/**
	* 监护人姓名
	*/
		@ApiModelProperty(value = "监护人姓名")
		private String guardianName;
	/**
	* 监护人联系方式
	*/
		@ApiModelProperty(value = "监护人联系方式")
		private String guardianPhone;
	/**
	* 初次发病日期
	*/
		@ApiModelProperty(value = "初次发病日期")
		private LocalDate pathogenesisDate;
	/**
	* 诊断类型：精神分裂症；分裂情感性障碍；持久的妄想性障碍；双相情感障碍；癫痫所致精神障碍；精神发育迟滞伴发精神障碍；重点抑郁发作；精神活性物质所致精神障碍；其他
	*/
		@ApiModelProperty(value = "诊断类型：精神分裂症；分裂情感性障碍；持久的妄想性障碍；双相情感障碍；癫痫所致精神障碍；精神发育迟滞伴发精神障碍；重点抑郁发作；精神活性物质所致精神障碍；其他")
		private String type;
	/**
	* 有无肇事肇祸史：0 - 否；1 - 是
	*/
		@ApiModelProperty(value = "有无肇事肇祸史：0 - 否；1 - 是")
		private String accidentHistory;
	/**
	* 肇事肇祸次数：（选择有肇事肇祸史时必填）
	*/
		@ApiModelProperty(value = "肇事肇祸次数：（选择有肇事肇祸史时必填）")
		private String accidentCount;
	/**
	* 上次肇事肇祸日期：（选择有肇事肇祸史时必填）
	*/
		@ApiModelProperty(value = "上次肇事肇祸日期：（选择有肇事肇祸史时必填）")
		private LocalDate accidentDate;
	/**
	* 危险性评估等级：0 - 0级；1 - 1级；2 - 2级；3 - 3级；4 - 4级；5 - 5级
	*/
		@ApiModelProperty(value = "危险性评估等级：0 - 0级；1 - 1级；2 - 2级；3 - 3级；4 - 4级；5 - 5级")
		private Integer level;
	/**
	* 治疗情况：住院治疗；居家服用抗精神病药物治疗；其他治疗；未接受过治疗
	*/
		@ApiModelProperty(value = "治疗情况：住院治疗；居家服用抗精神病药物治疗；其他治疗；未接受过治疗")
		private String treatSituation;
	/**
	* 治疗医院名称
	*/
		@ApiModelProperty(value = "治疗医院名称")
		private String hospitalName;
	/**
	* 接受康复训练机构名称
	*/
		@ApiModelProperty(value = "接受康复训练机构名称")
		private String organizationName;
	/**
	* 患病名称
	*/
		@ApiModelProperty(value = "患病名称")
		private String disease;
	/**
	* 精神病人类型：医院治疗类；普通类
	*/
		@ApiModelProperty(value = "精神病人类型：医院治疗类；普通类")
		private String personType;
	/**
	 * 机构路径
	 */
		@ApiModelProperty(value = "机构路径")
		private String orgPosition;

}
