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;
import java.math.BigDecimal;

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

	@ExcelProperty("排名")
	@ColumnWidth(8)
	private Integer ranking;

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

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

	@ExcelProperty("项目名称")
	@ColumnWidth(15)
	private String projectName;

	@ExcelProperty("原始总分")
	@ColumnWidth(12)
	private BigDecimal originalScore;

	@ExcelProperty("难度系数")
	@ColumnWidth(10)
	private BigDecimal difficultyCoefficient;

	@ExcelProperty("最终得分")
	@ColumnWidth(12)
	private BigDecimal finalScore;

	@ExcelProperty("奖牌")
	@ColumnWidth(10)
	private String medal;

	@ExcelProperty("备注")
	@ColumnWidth(20)
	private String adjustNote;

}
