This commit is contained in:
=
2026-04-28 17:36:21 +08:00
parent a9fc3d9690
commit e4a1030d5a
@@ -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;
}
}