/*
 *      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 java.time.LocalDateTime;
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_fertile_woman")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "FertileWoman对象", description = "FertileWoman对象")
public class FertileWoman extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 基本表Id
	*/
		@ApiModelProperty(value = "基本表Id")
		private Long parentId;
	/**
	 * 姓名
	 */
		@ApiModelProperty(value = "姓名")
		private String name;
	/**
	* 婚次
	*/
		@ApiModelProperty(value = "婚次")
		private Integer marriageTimes;
	/**
	* 胎次
	*/
		@ApiModelProperty(value = "胎次")
		private Integer parity;
	/**
	* 政策属性
	*/
		@ApiModelProperty(value = "政策属性")
		private String policyAttribute;
	/**
	* 服务证/再生育证编号
	*/
		@ApiModelProperty(value = "服务证/再生育证编号")
		private String reproductionCertificateCode;
	/**
	* 妊娠起始日期
	*/
		@ApiModelProperty(value = "妊娠起始日期")
		private LocalDate pregnancyStartdate;
	/**
	* 妊娠结束日期
	*/
		@ApiModelProperty(value = "妊娠结束日期")
		private LocalDate pregnancyEnddate;
	/**
	* 妊娠结果
	*/
		@ApiModelProperty(value = "妊娠结果")
		private String pregnancyOutcome;
	/**
	* 妊娠结束地点
	*/
		@ApiModelProperty(value = "妊娠结束地点")
		private String pregnancyEndplace;
	/**
	* 避孕状况
	*/
		@ApiModelProperty(value = "避孕状况")
		private Integer contraceptiveStatus;
	/**
	* 避孕开始时间
	*/
		@ApiModelProperty(value = "避孕开始时间")
		private LocalDateTime contraceptiveStarttime;
	/**
	* 避孕实施机构
	*/
		@ApiModelProperty(value = "避孕实施机构")
		private String contraceptiveAgency;
	/**
	* 避孕效果
	*/
		@ApiModelProperty(value = "避孕效果")
		private String contraceptiveEffect;
	/**
	* 结束日期
	*/
		@ApiModelProperty(value = "结束日期")
		private LocalDateTime endDate;
	/**
	* 终止避孕机构
	*/
		@ApiModelProperty(value = "终止避孕机构")
		private String endContraceptiveInstitutions;
	/**
	* 终止原因
	*/
		@ApiModelProperty(value = "终止原因")
		private String reasonsForTermination;
	/**
	 * 机构路径
	 */
		@ApiModelProperty(value = "机构路径")
		private String orgPosition;

}
