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;

/**
 * Schedule export Excel - Template 2 (Competition Schedule Format)
 * Format: Sequence, Project, Participants, Groups, Time, Table Number
 */
@Data
@ColumnWidth(12)
@HeadRowHeight(25)
@ContentRowHeight(20)
public class ScheduleExportExcel2 implements Serializable {
	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("序号")
	@ColumnWidth(8)
	private Integer sequenceNo;

	@ExcelProperty("项目")
	@ColumnWidth(25)
	private String projectName;

	@ExcelProperty("人数")
	@ColumnWidth(8)
	private Integer participantCount;

	@ExcelProperty("组数")
	@ColumnWidth(8)
	private Integer groupCount;

	@ExcelProperty("时间")
	@ColumnWidth(10)
	private Integer durationMinutes;

	@ExcelProperty("表号")
	@ColumnWidth(10)
	private String tableNo;
}
