/*
 *      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.LocalDate;
import java.time.LocalDateTime;

/**
 * 赛程编排实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_schedule")
@Schema(description = "赛程编排")
public class MartialSchedule extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 赛事ID
	 */
	@Schema(description = "赛事ID")
	private Long competitionId;

	/**
	 * 订单ID
	 */
	@Schema(description = "订单ID")
	private Long orderId;

	/**
	 * 分组标题
	 */
	@Schema(description = "分组标题")
	private String groupTitle;

	/**
	 * 分组编码
	 */
	@Schema(description = "分组编码")
	private String groupCode;

	/**
	 * 分组类型(1-个人,2-双人,3-集体)
	 */
	@Schema(description = "分组类型")
	private Integer groupType;

	/**
	 * 场地ID
	 */
	@Schema(description = "场地ID")
	private Long venueId;

	/**
	 * 项目ID
	 */
	@Schema(description = "项目ID")
	private Long projectId;

	/**
	 * 比赛日期
	 */
	@Schema(description = "比赛日期")
	private LocalDate scheduleDate;

	/**
	 * 时间段
	 */
	@Schema(description = "时间段")
	private String timeSlot;

	/**
	 * 开始时间
	 */
	@Schema(description = "开始时间")
	private LocalDateTime startTime;

	/**
	 * 结束时间
	 */
	@Schema(description = "结束时间")
	private LocalDateTime endTime;

	/**
	 * 参赛队伍数/人数
	 */
	@Schema(description = "参赛数量")
	private Integer participantCount;

	/**
	 * 预估时长(分钟)
	 */
	@Schema(description = "预估时长")
	private Integer estimatedDuration;

	/**
	 * 是否已确认(0-未确认,1-已确认)
	 */
	@Schema(description = "是否已确认")
	private Integer isConfirmed;

	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remark;

}
