/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.martial.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 赛程编排参赛者关联实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_schedule_participant")
@Schema(description = "赛程编排参赛者关联")
public class MartialScheduleParticipant extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 编排明细ID
	 */
	@Schema(description = "编排明细ID")
	private Long scheduleDetailId;

	/**
	 * 分组ID
	 */
	@Schema(description = "分组ID")
	private Long scheduleGroupId;

	/**
	 * 参赛者ID(关联martial_athlete表)
	 */
	@Schema(description = "参赛者ID")
	private Long participantId;

	/**
	 * 单位名称
	 */
	@Schema(description = "单位名称")
	private String organization;

	/**
	 * 选手姓名
	 */
	@Schema(description = "选手姓名")
	private String playerName;

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

	/**
	 * 组别
	 */
	@Schema(description = "组别")
	private String category;

	/**
	 * 出场顺序
	 */
	@Schema(description = "出场顺序")
	private Integer performanceOrder;

	/**
	 * 签到状态：未签到/已签到/异常
	 */
	@Schema(description = "签到状态：未签到/已签到/异常")
	private String checkInStatus;

	/**
	 * 编排状态：draft/completed
	 */
	@Schema(description = "编排状态：draft/completed")
	private String scheduleStatus;

}
