| 
					
				 | 
			
			
				@@ -1,63 +1,66 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.yonge.cooleshow.biz.dal.entity; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.fasterxml.jackson.annotation.JsonFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.baomidou.mybatisplus.annotation.IdType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.baomidou.mybatisplus.annotation.TableField; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.baomidou.mybatisplus.annotation.TableId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.baomidou.mybatisplus.annotation.TableName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import io.swagger.annotations.ApiModel; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import io.swagger.annotations.ApiModelProperty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.io.Serializable; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.Date; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.cooleshow.auth.api.entity.SysUser; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.cooleshow.biz.dal.enums.JobNatureEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.cooleshow.biz.dal.enums.YesOrNoEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.fasterxml.jackson.annotation.JsonFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.format.annotation.DateTimeFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- * 对应数据库表(employee): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * 员工表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-public class Employee extends SysUser { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@TableName("employee") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+@ApiModel(value = "Employee对象", description = "员工表") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+public class Employee implements Serializable { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private static final long serialVersionUID = 1L; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableId(value = "user_id_", type = IdType.AUTO) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private Long userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "工作性质(兼职、全职)",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private JobNatureEnum jobNature; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "是否试用期(1-是 0-否)",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private YesOrNoEnum isProbationPeriod; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "学历",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("工作性质(兼职、全职) ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "job_nature_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private String jobNature; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("是否试用期(1-是 0-否) ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "is_probation_period_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private String isProbationPeriod; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("学历 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "education_background_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private String educationBackground; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "毕业学校",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("毕业学校 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "graduate_school_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private String graduateSchool; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "技术职称",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("技术职称 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "technical_titles_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private String technicalTitles; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "入职时间",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private java.util.Date entryDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "更新时间",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("入职时间 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "entry_date_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private java.util.Date updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "创建时间",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private Date entryDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "create_time_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private java.util.Date createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "介绍",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private Date createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "update_time_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private Date updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("介绍 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "introduction_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private String introduction; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "离职日期",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private java.util.Date demissionDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "联系地址",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("离职日期 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "demission_date_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private Date demissionDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@ApiModelProperty("联系地址 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	@TableField(value = "contact_address_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	private String contactAddress; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@ApiModelProperty(value = "角色id列表",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	private List<Integer> roleIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public Long getUserId() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -66,19 +69,19 @@ public class Employee extends SysUser { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.userId = userId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public JobNatureEnum getJobNature() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public String getJobNature() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return jobNature; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public void setJobNature(JobNatureEnum jobNature) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public void setJobNature(String jobNature) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.jobNature = jobNature; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public YesOrNoEnum getIsProbationPeriod() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public String getIsProbationPeriod() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return isProbationPeriod; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public void setIsProbationPeriod(YesOrNoEnum isProbationPeriod) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public void setIsProbationPeriod(String isProbationPeriod) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.isProbationPeriod = isProbationPeriod; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -114,26 +117,22 @@ public class Employee extends SysUser { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.entryDate = entryDate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public Date getUpdateTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		return updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public void setUpdateTime(Date updateTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.updateTime = updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public Date getCreateTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	@Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public void setCreateTime(Date createTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.createTime = createTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public Date getUpdateTime() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		return updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	public void setUpdateTime(Date updateTime) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		this.updateTime = updateTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public String getIntroduction() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return introduction; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -157,12 +156,4 @@ public class Employee extends SysUser { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public void setContactAddress(String contactAddress) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.contactAddress = contactAddress; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public List<Integer> getRoleIds() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		return roleIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	public void setRoleIds(List<Integer> roleIds) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.roleIds = roleIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 |