/*
 *      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;

import java.time.LocalTime;

/**
 * 运动员时间槽关联实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_schedule_athlete_slot")
@Schema(description = "运动员时间槽关联")
public class MartialScheduleAthleteSlot extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 时间槽ID
	 */
	@Schema(description = "时间槽ID")
	private Long slotId;

	/**
	 * 运动员ID
	 */
	@Schema(description = "运动员ID")
	private Long athleteId;

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

	/**
	 * 预计出场时间
	 */
	@Schema(description = "预计出场时间")
	private LocalTime estimatedTime;

	/**
	 * 签到状态: 0-未签到, 1-已签到
	 */
	@Schema(description = "签到状态")
	private Integer checkInStatus;

	/**
	 * 比赛状态: 0-未开始, 1-进行中, 2-已完成
	 */
	@Schema(description = "比赛状态")
	private Integer performanceStatus;

	/**
	 * 是否调整过
	 */
	@Schema(description = "是否调整过")
	private Integer isAdjusted;

	/**
	 * 调整备注
	 */
	@Schema(description = "调整备注")
	private String adjustNote;

}
