培训经历优化
This commit is contained in:
parent
ce4c513128
commit
58c466b447
|
@ -38,7 +38,7 @@ public class CounselorExperience extends BaseEntity {
|
|||
/**
|
||||
* 经历描述
|
||||
*/
|
||||
private String describe;
|
||||
private String experienceDetail;
|
||||
|
||||
/**
|
||||
* 经历开始时间
|
||||
|
|
|
@ -37,10 +37,10 @@ public class CounselorExperienceBo extends BaseEntity {
|
|||
private Long counselorId;
|
||||
|
||||
/**
|
||||
* 经历描述
|
||||
* 经历详情
|
||||
*/
|
||||
@NotBlank(message = "经历描述不能为空", groups = {AddGroup.class, EditGroup.class})
|
||||
private String describe;
|
||||
@NotBlank(message = "经历详情不能为空", groups = {AddGroup.class, EditGroup.class})
|
||||
private String experienceDetail;
|
||||
|
||||
/**
|
||||
* 经历开始时间
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
package org.dromara.scale.domain.vo;
|
||||
|
||||
import org.dromara.scale.domain.CounselorExperience;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
||||
import org.dromara.common.excel.convert.ExcelDictConvert;
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import io.github.linpeilie.annotations.AutoMapping;
|
||||
import lombok.Data;
|
||||
import org.dromara.common.translation.annotation.Translation;
|
||||
import org.dromara.common.translation.constant.TransConstant;
|
||||
import org.dromara.scale.domain.CounselorExperience;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
|
||||
|
@ -29,16 +29,24 @@ public class CounselorExperienceVo implements Serializable {
|
|||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
@ExcelProperty(value = "")
|
||||
private Long id;
|
||||
|
||||
private Long counselorId;
|
||||
|
||||
@Translation(type = TransConstant.USER_ID_TO_NICKNAME)
|
||||
@AutoMapping(target = "counselorId")
|
||||
private Long counselorName;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 经历描述
|
||||
*/
|
||||
@ExcelProperty(value = "经历描述")
|
||||
private String describe;
|
||||
private String experienceDetail;
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue