/*
 *      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 = "OutEmployeeJobRecordVO对象", description = "外包员工工作履历表")
public class OutEmployeeJobRecordVO {
	private static final long serialVersionUID = 1L;

	@JsonSerialize(using = ToStringSerializer.class)
	private String id;
	/**
	 * 外包员工ID
	 */
	@ApiModelProperty(value = "外包员工ID")
	private String employeeId;

	/**
	 * 工作起始日期
	 */
	@ApiModelProperty(value = "工作起始日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
	private Date workStartDate;
	/**
	 * 工作终止日期
	 */
	@ApiModelProperty(value = "工作终止日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd")
	private Date workEndDate;
	/**
	 * 工作单位
	 */
	@ApiModelProperty(value = "工作单位")
	private String workUnit;
	/**
	 * 岗位或主要从事工作
	 */
	@ApiModelProperty(value = "岗位或主要从事工作")
	private String jobContent;
}
