commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
|||||||
|
package io.v.nutz.web.controllers.platform.sys.club;
|
||||||
|
|
||||||
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 协会成员导入相关的 Excel 数据结构。
|
||||||
|
*/
|
||||||
|
public interface ClubUserImportFeature {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导入模板行。
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
class ImportRow {
|
||||||
|
@Excel(name = "序号", width = 12)
|
||||||
|
private String index;
|
||||||
|
|
||||||
|
@Excel(name = "协会编码", width = 20)
|
||||||
|
private String clubCode;
|
||||||
|
|
||||||
|
@Excel(name = "工号", width = 20)
|
||||||
|
private String loginname;
|
||||||
|
|
||||||
|
@Excel(name = "姓名", width = 20)
|
||||||
|
private String username;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导入失败记录行。
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
class ErrorRow {
|
||||||
|
@Excel(name = "序号", width = 12)
|
||||||
|
private String index;
|
||||||
|
|
||||||
|
@Excel(name = "协会编码", width = 20)
|
||||||
|
private String clubCode;
|
||||||
|
|
||||||
|
@Excel(name = "工号", width = 20)
|
||||||
|
private String loginname;
|
||||||
|
|
||||||
|
@Excel(name = "姓名", width = 20)
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
@Excel(name = "错误信息", width = 40)
|
||||||
|
private String errorMessage;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user