|
@@ -1,148 +1,157 @@
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
|
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
+import lombok.Data;
|
|
|
|
+
|
|
|
|
+import java.io.Serializable;
|
|
|
|
+import java.util.Date;
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 对应数据库表(teacher):
|
|
|
|
|
|
+ * 教师表
|
|
*/
|
|
*/
|
|
-public class Teacher {
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "对应user表用户编号",required = false)
|
|
|
|
- private Integer userId;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "昵称",required = false)
|
|
|
|
- private String nickName;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "学历",required = false)
|
|
|
|
- private String educationBackground;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "毕业学校",required = false)
|
|
|
|
- private String graduateSchool;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "技术职称",required = false)
|
|
|
|
- private String technicalTitles;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "工作单位",required = false)
|
|
|
|
- private String workUnit;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "专业技能(支持多个,用逗号分隔),对应科目表编号",required = false)
|
|
|
|
- private String subjectId;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "入职时间",required = false)
|
|
|
|
- private java.util.Date entryDate;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "个人介绍",required = false)
|
|
|
|
- private String introduction;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "备注",required = false)
|
|
|
|
- private String memo;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "",required = false)
|
|
|
|
- private java.util.Date updateTime;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "",required = false)
|
|
|
|
- private java.util.Date createTime;
|
|
|
|
-
|
|
|
|
- public void setUserId(Integer userId){
|
|
|
|
- this.userId = userId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getUserId(){
|
|
|
|
- return this.userId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setNickName(String nickName){
|
|
|
|
- this.nickName = nickName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getNickName(){
|
|
|
|
- return this.nickName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEducationBackground(String educationBackground){
|
|
|
|
- this.educationBackground = educationBackground;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getEducationBackground(){
|
|
|
|
- return this.educationBackground;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setGraduateSchool(String graduateSchool){
|
|
|
|
- this.graduateSchool = graduateSchool;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getGraduateSchool(){
|
|
|
|
- return this.graduateSchool;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setTechnicalTitles(String technicalTitles){
|
|
|
|
- this.technicalTitles = technicalTitles;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getTechnicalTitles(){
|
|
|
|
- return this.technicalTitles;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setWorkUnit(String workUnit){
|
|
|
|
- this.workUnit = workUnit;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getWorkUnit(){
|
|
|
|
- return this.workUnit;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setSubjectId(String subjectId){
|
|
|
|
- this.subjectId = subjectId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getSubjectId(){
|
|
|
|
- return this.subjectId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setEntryDate(java.util.Date entryDate){
|
|
|
|
- this.entryDate = entryDate;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public java.util.Date getEntryDate(){
|
|
|
|
- return this.entryDate;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setIntroduction(String introduction){
|
|
|
|
- this.introduction = introduction;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getIntroduction(){
|
|
|
|
- return this.introduction;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setMemo(String memo){
|
|
|
|
- this.memo = memo;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getMemo(){
|
|
|
|
- return this.memo;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUpdateTime(java.util.Date updateTime){
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public java.util.Date getUpdateTime(){
|
|
|
|
- return this.updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCreateTime(java.util.Date createTime){
|
|
|
|
- this.createTime = createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public java.util.Date getCreateTime(){
|
|
|
|
- return this.createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @Override
|
|
|
|
- public String toString() {
|
|
|
|
- return ToStringBuilder.reflectionToString(this);
|
|
|
|
- }
|
|
|
|
|
|
+@Data
|
|
|
|
+@TableName("teacher")
|
|
|
|
+@ApiModel(value = "Teacher对象", description = "教师表")
|
|
|
|
+public class Teacher implements Serializable {
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
+ /**
|
|
|
|
+ * 对应user表用户编号
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("对应user表用户编号 ")
|
|
|
|
+ @TableId(value = "user_id_", type = IdType.UUID)
|
|
|
|
+ private Integer userId;
|
|
|
|
+ /**
|
|
|
|
+ * 学历
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("学历 ")
|
|
|
|
+ @TableField(value = "education_background_")
|
|
|
|
+ private String educationBackground;
|
|
|
|
+ /**
|
|
|
|
+ * 毕业学校
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("毕业学校 ")
|
|
|
|
+ @TableField(value = "graduate_school_")
|
|
|
|
+ private String graduateSchool;
|
|
|
|
+ /**
|
|
|
|
+ * 技术职称
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("技术职称 ")
|
|
|
|
+ @TableField(value = "technical_titles_")
|
|
|
|
+ private String technicalTitles;
|
|
|
|
+ /**
|
|
|
|
+ * 工作单位
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("工作单位 ")
|
|
|
|
+ @TableField(value = "work_unit_")
|
|
|
|
+ private String workUnit;
|
|
|
|
+ /**
|
|
|
|
+ * 专业技能(支持多个,用逗号分隔),对应科目表编号
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("专业技能(支持多个,用逗号分隔),对应科目表编号 ")
|
|
|
|
+ @TableField(value = "subject_id_")
|
|
|
|
+ private String subjectId;
|
|
|
|
+ /**
|
|
|
|
+ * 老师入驻状态 1、审核中 2、通过 3、不通过
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("老师入驻状态 1、审核中 2、通过 3、不通过 ")
|
|
|
|
+ @TableField(value = "entry_status_")
|
|
|
|
+ private Integer entryStatus;
|
|
|
|
+ /**
|
|
|
|
+ * 入驻时间
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("入驻时间 ")
|
|
|
|
+ @TableField(value = "entry_auth_date_")
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
|
|
+ private Date entryAuthDate;
|
|
|
|
+ /**
|
|
|
|
+ * 个人介绍
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("个人介绍 ")
|
|
|
|
+ @TableField(value = "introduction_")
|
|
|
|
+ private String introduction;
|
|
|
|
+ /**
|
|
|
|
+ * 音乐人审核状态 1、审核中 2、通过 3、不通过
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("音乐人审核状态 1、审核中 2、通过 3、不通过 ")
|
|
|
|
+ @TableField(value = "musician_auth_status_")
|
|
|
|
+ private String musicianAuthStatus;
|
|
|
|
+ /**
|
|
|
|
+ * 音乐人认证时间
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("音乐人认证时间 ")
|
|
|
|
+ @TableField(value = "musician_date_")
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
|
|
+ private Date musicianDate;
|
|
|
|
+ /**
|
|
|
|
+ * 学校专业
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("学校专业 ")
|
|
|
|
+ @TableField(value = "subject_")
|
|
|
|
+ private String subject;
|
|
|
|
+ /**
|
|
|
|
+ * 毕业证书
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("毕业证书 ")
|
|
|
|
+ @TableField(value = "grad_certificate_")
|
|
|
|
+ private String gradCertificate;
|
|
|
|
+ /**
|
|
|
|
+ * 学位证书
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("学位证书 ")
|
|
|
|
+ @TableField(value = "degree__certificate_")
|
|
|
|
+ private String degreeCertificate;
|
|
|
|
+ /**
|
|
|
|
+ * 教师资格证
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("教师资格证 ")
|
|
|
|
+ @TableField(value = "teacher__certificate_")
|
|
|
|
+ private String teacherCertificate;
|
|
|
|
+ /**
|
|
|
|
+ * 备注
|
|
|
|
+ */
|
|
|
|
+ @ApiModelProperty("备注 ")
|
|
|
|
+ @TableField(value = "memo_")
|
|
|
|
+ private String memo;
|
|
|
|
+ @TableField(value = "create_time_")
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
|
|
|
|
+ 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;
|
|
|
|
|
|
-}
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public String toString() {
|
|
|
|
+ return "Teacher{" +
|
|
|
|
+ "userId=" + userId +
|
|
|
|
+ ",educationBackground='" + educationBackground + "'" +
|
|
|
|
+ ",graduateSchool='" + graduateSchool + "'" +
|
|
|
|
+ ",technicalTitles='" + technicalTitles + "'" +
|
|
|
|
+ ",workUnit='" + workUnit + "'" +
|
|
|
|
+ ",subjectId='" + subjectId + "'" +
|
|
|
|
+ ",entryStatus='" + entryStatus + "'" +
|
|
|
|
+ ",entryAuthDate='" + entryAuthDate + "'" +
|
|
|
|
+ ",introduction='" + introduction + "'" +
|
|
|
|
+ ",musicianAuthStatus='" + musicianAuthStatus + "'" +
|
|
|
|
+ ",musicianDate='" + musicianDate + "'" +
|
|
|
|
+ ",subject='" + subject + "'" +
|
|
|
|
+ ",gradCertificate='" + gradCertificate + "'" +
|
|
|
|
+ ",degreeCertificate='" + degreeCertificate + "'" +
|
|
|
|
+ ",teacherCertificate='" + teacherCertificate + "'" +
|
|
|
|
+ ",memo='" + memo + "'" +
|
|
|
|
+ ",createTime='" + createTime + "'" +
|
|
|
|
+ ",updateTime='" + updateTime + "'" +
|
|
|
|
+ '}';
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|