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

/**
 * 赛事信息实体类
 *
 * @author BladeX
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_competition")
@Schema(description = "赛事信息")
public class MartialCompetition extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 赛事名称
	 */
	@Schema(description = "赛事名称")
	private String competitionName;

	/**
	 * 赛事编码(用于裁判登录)
	 */
	@Schema(description = "赛事编码")
	private String competitionCode;

	/**
	 * 主办单位
	 */
	@Schema(description = "主办单位")
	private String organizer;

	/**
	 * 地区
	 */
	@Schema(description = "地区")
	private String location;

	/**
	 * 详细地点
	 */
	@Schema(description = "详细地点")
	private String venue;

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

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

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

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

	/**
	 * 赛事简介
	 */
	@Schema(description = "赛事简介")
	private String introduction;

	/**
	 * 宣传图片(JSON数组)
	 */
	@Schema(description = "宣传图片")
	private String posterImages;

	/**
	 * 联系人
	 */
	@Schema(description = "联系人")
	private String contactPerson;

	/**
	 * 联系电话
	 */
	@Schema(description = "联系电话")
	private String contactPhone;

	/**
	 * 联系邮箱
	 */
	@Schema(description = "联系邮箱")
	private String contactEmail;

	/**
	 * 竞赛规则
	 */
	@Schema(description = "竞赛规则")
	private String rules;

	/**
	 * 参赛要求
	 */
	@Schema(description = "参赛要求")
	private String requirements;

	/**
	 * 奖项设置
	 */
	@Schema(description = "奖项设置")
	private String awards;

	/**
	 * 规程文件(JSON数组)
	 */
	@Schema(description = "规程文件")
	private String regulationFiles;

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

	/**
	 * 报名总金额
	 */
	@Schema(description = "报名总金额")
	private BigDecimal totalAmount;

	/**
	 * 是否精品：1 是，2 否
	 */
	@Schema(description = "是否精品：1 是，2 否")
	private Integer isCompeBoutique;
}
