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

/**
 * 编排时间槽实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_schedule_slot")
@Schema(description = "编排时间槽")
public class MartialScheduleSlot extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 编排方案ID
	 */
	@Schema(description = "编排方案ID")
	private Long planId;

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

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

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

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

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

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

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

	/**
	 * 排序号
	 */
	@Schema(description = "排序号")
	private Integer sortOrder;

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

}
