/*
 *      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 com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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_drug")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Drug对象", description = "Drug对象")
public class Drug extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 基本表ID
	*/
		@ApiModelProperty(value = "基本表ID")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long parentId;
	/**
	* 姓名
	*/
		@ApiModelProperty(value = "姓名")
		private String name;
	/**
	* 吸毒原因：亲友影响；好奇；人生受挫；寻求刺激；被诱骗；被逼迫；治病引起；遗传；其他
	*/
		@ApiModelProperty(value = "吸毒原因：亲友影响；好奇；人生受挫；寻求刺激；被诱骗；被逼迫；治病引起；遗传；其他")
		private String reason;
	/**
	* 毒品来源：黑市购买；亲朋提供；偷窃；医生处方；其他
	*/
		@ApiModelProperty(value = "毒品来源：黑市购买；亲朋提供；偷窃；医生处方；其他")
		private String source;
	/**
	* 戒毒情况：强制戒毒；劳教戒毒；限期戒毒；自愿戒毒；园区戒毒；其他
	*/
		@ApiModelProperty(value = "戒毒情况：强制戒毒；劳教戒毒；限期戒毒；自愿戒毒；园区戒毒；其他")
		private String detoxification;
	/**
	* 关注程度：0 - 一般；1 - 中等；2 - 严重
	*/
		@ApiModelProperty(value = "关注程度：0 - 一般；1 - 中等；2 - 严重")
		private Integer attention;
	/**
	* 吸毒状态：0 - 在吸；1 - 停吸
	*/
		@ApiModelProperty(value = "吸毒状态：0 - 在吸；1 - 停吸")
		private Integer drugStatus;
	/**
	* 吸毒人员类型：在册类；园区矫正报道类；园区康复类；其他社会面吸毒人员
	*/
		@ApiModelProperty(value = "吸毒人员类型：在册类；园区矫正报道类；园区康复类；其他社会面吸毒人员")
		private String type;
	/**
	* 吸毒后果：危害身体；危害家庭；其他
	*/
		@ApiModelProperty(value = "吸毒后果：危害身体；危害家庭；其他")
		private String consequence;
	/**
	* 滥用毒品种类：鸦片；吗啡；海洛因；大麻；杜冷丁；古柯；可卡因；冰毒；摇头丸；K粉；咖啡因；三唑抡；其他
	*/
		@ApiModelProperty(value = "滥用毒品种类：鸦片；吗啡；海洛因；大麻；杜冷丁；古柯；可卡因；冰毒；摇头丸；K粉；咖啡因；三唑抡；其他")
		private String species;
	/**
	* 管控情况：在控；失控；死亡；出国（境）；社会面戒断三年未复吸；社会面戒断不满三年
	*/
		@ApiModelProperty(value = "管控情况：在控；失控；死亡；出国（境）；社会面戒断三年未复吸；社会面戒断不满三年")
		private String controlSituation;
	/**
	* 管控人姓名
	*/
		@ApiModelProperty(value = "管控人姓名")
		private String controllerName;
	/**
	* 管控人联系方式
	*/
		@ApiModelProperty(value = "管控人联系方式")
		private String controllerPhone;
	/**
	* 帮扶情况
	*/
		@ApiModelProperty(value = "帮扶情况")
		private String helpSituation;
	/**
	* 帮夫人姓名
	*/
		@ApiModelProperty(value = "帮夫人姓名")
		private String helperName;
	/**
	* 帮扶人联系方式
	*/
		@ApiModelProperty(value = "帮扶人联系方式")
		private String helperPhone;
	/**
	* 是否服用美沙酮戒毒：0 - 否；1 - 是；
	*/
		@ApiModelProperty(value = "是否服用美沙酮戒毒：0 - 否；1 - 是；")
		private Integer methadone;
	/**
	* 查获日期
	*/
		@ApiModelProperty(value = "查获日期")
		private LocalDate date;
	/**
	* 初次发现日期
	*/
		@ApiModelProperty(value = "初次发现日期")
		private LocalDate findDate;
	/**
	* 是否有犯罪史：0 - 否；1 - 是；
	*/
		@ApiModelProperty(value = "是否有犯罪史：0 - 否；1 - 是；")
		private Integer criminalHistory;
	/**
	* 犯罪情况；（当选择有犯罪实时必填）
	*/
		@ApiModelProperty(value = "犯罪情况；（当选择有犯罪实时必填）")
		private String crime;
	/**
	* 行动趋向
	*/
		@ApiModelProperty(value = "行动趋向")
		private String action;
	/**
	* 生活状况
	*/
		@ApiModelProperty(value = "生活状况")
		private String living;
	/**
	* 社会关系
	*/
		@ApiModelProperty(value = "社会关系")
		private String relationship;
	/**
	* 现实表现
	*/
		@ApiModelProperty(value = "现实表现")
		private String performance;
	/**
	 * 机构路径
	 */
		@ApiModelProperty(value = "机构路径")
		private String orgPosition;

}
