package org.springblade.modules.martial.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 运动员名单导出Excel
 *
 * @author BladeX
 */
@Data
@ColumnWidth(15)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class AthleteExportExcel implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("编号")
	@ColumnWidth(10)
	private String athleteCode;

	@ExcelProperty("姓名")
	@ColumnWidth(12)
	private String playerName;

	@ExcelProperty("性别")
	@ColumnWidth(8)
	private String gender;

	@ExcelProperty("年龄")
	@ColumnWidth(8)
	private Integer age;

	@ExcelProperty("单位/队伍")
	@ColumnWidth(20)
	private String teamName;

	@ExcelProperty("联系电话")
	@ColumnWidth(15)
	private String phone;

	@ExcelProperty("报名项目")
	@ColumnWidth(25)
	private String projects;

	@ExcelProperty("比赛状态")
	@ColumnWidth(12)
	private String competitionStatus;

}
