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

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

	private static final long serialVersionUID = 1L;

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

	/**
	 * 编排状态(0=未编排 1=编排中 2=已保存锁定)
	 */
	@Schema(description = "编排状态(0=未编排 1=编排中 2=已保存锁定)")
	private Integer scheduleStatus;

	/**
	 * 最后自动编排时间
	 */
	@Schema(description = "最后自动编排时间")
	private LocalDateTime lastAutoScheduleTime;

	/**
	 * 锁定时间
	 */
	@Schema(description = "锁定时间")
	private LocalDateTime lockedTime;

	/**
	 * 锁定人
	 */
	@Schema(description = "锁定人")
	private String lockedBy;

	/**
	 * 总分组数
	 */
	@Schema(description = "总分组数")
	private Integer totalGroups;

	/**
	 * 总参赛人数
	 */
	@Schema(description = "总参赛人数")
	private Integer totalParticipants;

}
