package org.springblade.modules.martial.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.modules.martial.pojo.entity.MartialAthlete;

import java.math.BigDecimal;
import java.util.List;

/**
 * 参赛选手视图实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "参赛选手视图对象")
public class MartialAthleteVO extends MartialAthlete {

	private static final long serialVersionUID = 1L;

	/**
	 * 赛事名称
	 */
	@Schema(description = "赛事名称")
	private String competitionName;

	/**
	 * 项目名称
	 */
	@Schema(description = "项目名称")
	private String projectName;

	/**
	 * 订单号
	 */
	@Schema(description = "订单号")
	private String orderNo;

	/**
	 * 裁判评分列表
	 */
	@Schema(description = "裁判评分列表")
	private List<MartialScoreVO> scores;

	/**
	 * 平均分
	 */
	@Schema(description = "平均分")
	private BigDecimal averageScore;

	/**
	 * 报名状态文本
	 */
	@Schema(description = "报名状态文本")
	private String registrationStatusText;

	/**
	 * 比赛状态文本
	 */
	@Schema(description = "比赛状态文本")
	private String competitionStatusText;

}
