/*
 *      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 lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-04-14
 */
@Data
@TableName("personnel_key_people")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "KeyPeople对象", description = "KeyPeople对象")
public class KeyPeople extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 基本表id
	*/
		@ApiModelProperty(value = "基本表id")
		@JsonSerialize(using= ToStringSerializer.class)
		private Long parentId;
	/**
	 * 姓名
	 */
		@ApiModelProperty(value = "姓名")
		private String name;
	/**
	* 重点人员类型（可多种）：1刑释解教人员；2园区矫正人员；3吸毒人员；4精神病患者；5涉恐人员；6上访人员
	*/
		@ApiModelProperty(value = "重点人员类型（可多种）：1刑释解教人员；2园区矫正人员；3吸毒人员；4精神病患者；5涉恐人员；6上访人员")
		private String type;
	/**
	* 1：需要援助；2：不需要援助
	*/
		@ApiModelProperty(value = "1：需要援助；2：不需要援助")
		private Integer assistance;
	/**
	* 1：需要走访；2：不需要走访
	*/
		@ApiModelProperty(value = "1：需要走访；2：不需要走访")
		private Integer visit;
	/**
	* 访问人员
	*/
		@ApiModelProperty(value = "访问人员")
		private String visitPerson;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remark;

}
