专业添加导入模板下载和数据上传
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
package com.roomroot.jwgl.dto.discipline;
|
||||
|
||||
import com.roomroot.jwgl.entity.ZYB;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 专业(专业表)导入行解析结果。
|
||||
* <p>
|
||||
* 保留 Excel 中的原始行号,便于把校验失败原因定位到具体行。
|
||||
* </p>
|
||||
*/
|
||||
@Data
|
||||
public class MajorImportRowDTO {
|
||||
|
||||
/**
|
||||
* Excel 行号(1 起始,含表头行)。
|
||||
*/
|
||||
private int rowNum;
|
||||
|
||||
/**
|
||||
* 该行解析出的专业实体。
|
||||
*/
|
||||
private ZYB entity;
|
||||
|
||||
public MajorImportRowDTO() {
|
||||
}
|
||||
|
||||
public MajorImportRowDTO(int rowNum, ZYB entity) {
|
||||
this.rowNum = rowNum;
|
||||
this.entity = entity;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user