|
@@ -1,16 +1,24 @@
|
|
|
package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;
|
|
|
|
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
|
|
+import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.Builder;
|
|
|
import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
|
|
|
import java.time.LocalDate;
|
|
|
|
|
|
@Schema(description = "管理后台 - 项目未通过学生excel VO")
|
|
|
@Data
|
|
|
-@ExcelIgnoreUnannotated
|
|
|
+@Builder
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|
|
public class studentUnPassedExportRespVO {
|
|
|
|
|
|
@Schema(description = "项目名称")
|
|
@@ -19,12 +27,12 @@ public class studentUnPassedExportRespVO {
|
|
|
|
|
|
@Schema(description = "选择状态", example = "1")
|
|
|
@DictFormat("system_student_select_record_select_status")
|
|
|
- @ExcelProperty("选择状态")
|
|
|
+ @ExcelProperty(value = "选择状态", converter = DictConvert.class)
|
|
|
private Long selectStatus;
|
|
|
|
|
|
@Schema(description = "硕士类型")
|
|
|
@DictFormat("system_student_master_type")
|
|
|
- @ExcelProperty("硕士类型")
|
|
|
+ @ExcelProperty(value = "硕士类型",converter = DictConvert.class)
|
|
|
private Integer masterType;
|
|
|
|
|
|
@Schema(description = "学生年级")
|