/*
 *      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.security.trans.outsourcing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 外包员工家庭成员表视图实体类
 *
 * @author BladeX
 * @since 2022-02-22
 */
@Data
@ApiModel(value = "OutEmployeeFamilyVO对象", description = "外包员工家庭成员表")
public class OutEmployeeFamilyVO {
	private static final long serialVersionUID = 1L;

	@JsonSerialize(using = ToStringSerializer.class)
	private String id;
	/**
	 * 外包员工ID
	 */
	@ApiModelProperty(value = "外包员工ID")
	private String employeeId;
	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
	private String name;
	/**
	 * 与户主关系
	 */
	@ApiModelProperty(value = "与户主关系")
	private String relationship;
	/**
	 * 出生日期
	 */
	@ApiModelProperty(value = "出生日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
	private Date brithDate;
	/**
	 * 性别
	 */
	@ApiModelProperty(value = "性别")
	private String sex;
	/**
	 * 身份证号
	 */
	@ApiModelProperty(value = "身份证号")
	private String idCard;
	/**
	 * 工作单位
	 */
	@ApiModelProperty(value = "工作单位")
	private String workUnit;
	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话")
	private String telephone;
}
