/*
 *      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_banner")
@Schema(description = "轮播图")
public class MartialBanner extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 轮播图标题
	 */
	@Schema(description = "轮播图标题")
	private String title;

	/**
	 * 显示位置(1-首页,2-赛事详情,3-其他)
	 */
	@Schema(description = "显示位置")
	private Integer position;

	/**
	 * 轮播图图片URL
	 */
	@Schema(description = "图片URL")
	private String imageUrl;

	/**
	 * 跳转链接
	 */
	@Schema(description = "跳转链接")
	private String linkUrl;

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

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

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

	/**
	 * 点击次数
	 */
	@Schema(description = "点击次数")
	private Integer clickCount;

}
