/*
 *      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_group")
@Schema(description = "赛程编排分组")
public class MartialScheduleGroup extends TenantEntity {

	private static final long serialVersionUID = 1L;

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

	/**
	 * 分组名称(如:太极拳男组)
	 */
	@Schema(description = "分组名称")
	private String groupName;

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

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

	/**
	 * 组别(成年组、少年组等)
	 */
	@Schema(description = "组别")
	private String category;

	/**
	 * 项目类型(1=个人 2=集体)
	 */
	@Schema(description = "项目类型(1=个人 2=集体)")
	private Integer projectType;

	/**
	 * 显示顺序(集体项目优先,数字越小越靠前)
	 */
	@Schema(description = "显示顺序")
	private Integer displayOrder;

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

	/**
	 * 总队伍数(仅集体项目)
	 */
	@Schema(description = "总队伍数")
	private Integer totalTeams;

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

}
