/*
|
* 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.modules.experience.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import java.time.LocalDateTime;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 实体类
|
*
|
* @author BladeX
|
* @since 2021-07-08
|
*/
|
@Data
|
@TableName("sys_experience")
|
@ApiModel(value = "Experience对象", description = "Experience对象")
|
public class Experience implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 姓名
|
*/
|
@ApiModelProperty(value = "姓名")
|
private String name;
|
/**
|
* 岗位
|
*/
|
@ApiModelProperty(value = "岗位")
|
private String post;
|
/**
|
* 部门
|
*/
|
@ApiModelProperty(value = "部门")
|
private String department;
|
/**
|
* 岗位职责
|
*/
|
@ApiModelProperty(value = "岗位职责")
|
private String responsibilities;
|
/**
|
* 入职时间
|
*/
|
@ApiModelProperty(value = "入职时间")
|
@TableField("entryTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date entrytime;
|
/**
|
* 离职时间
|
*/
|
@ApiModelProperty(value = "离职时间")
|
@TableField("departureTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date departuretime;
|
/**
|
* 离职原因
|
*/
|
@ApiModelProperty(value = "离职原因")
|
private String leaving;
|
/**
|
* 身份证号
|
*/
|
@ApiModelProperty(value = "身份证号")
|
@TableField("cardId")
|
private String cardid;
|
/**
|
* 公司名称
|
*/
|
@ApiModelProperty(value = "公司名称")
|
private String companyname;
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
}
|