/*
 *      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.guosen.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-06-20
 */
@Data
@TableName("cyzh_activity")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Activity对象", description = "Activity对象")
public class Activity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 活动主题
	 */
	@ApiModelProperty(value = "活动主题")
	private String name;
	/**
	 * 活动开始时间
	 */
	@ApiModelProperty(value = "活动开始时间")
	private LocalDateTime beginTime;
	/**
	 * 活动结束时间
	 */
	@ApiModelProperty(value = "活动结束时间")
	private LocalDateTime endTime;
	/**
	 * 报名结束时间
	 */
	@ApiModelProperty(value = "报名结束时间")
	private LocalDateTime applyEndTime;
	/**
	 * 活动简介
	 */
	@ApiModelProperty(value = "活动简介")
	private String description;
	/**
	 * 活动海报
	 */
	@ApiModelProperty(value = "活动海报")
	private String poster;
	/**
	 * 活动轮播图
	 */
	@ApiModelProperty(value = "活动轮播图")
	private String ads;
	/**
	 * 活动封面图
	 */
	@ApiModelProperty(value = "活动封面图")
	private String cover;
	/**
	 * 报名人数
	 */
	@ApiModelProperty(value = "报名人数")
	private Integer applyNum;
	/**
	 * 每个用户一天可以投多少票
	 */
	@ApiModelProperty(value = "每个用户一天可以投多少票")
	private Integer ticketDays;
	/**
	 * 一票等于多少热力值
	 */
	@ApiModelProperty(value = "一票等于多少热力值")
	private BigDecimal ticketHotValue;
	/**
	 * 榜单设置
	 */
	@ApiModelProperty(value = "榜单设置")
	private String classification;
	/**
	 * 人物标题，如：歌手名字，运动员名字
	 */
	@ApiModelProperty(value = "人物标题，如：歌手名字，运动员名字")
	private String personTitle;
	/**
	 * 作品标题, 如：歌曲名称，作品名称
	 */
	@ApiModelProperty(value = "作品标题, 如：歌曲名称，作品名称")
	private String productionTitle;
	/**
	 * 介绍标题，如：个人介绍，作品宣言
	 */
	@ApiModelProperty(value = "介绍标题，如：个人介绍，作品宣言")
	private String introductionTitle;
	/**
	 * 基础浏览量,作品，活动都基于这个基础浏览计算
	 */
	@ApiModelProperty(value = "基础浏览量")
	private Integer visitBase;
	@ApiModelProperty(value = "总浏览量")
	private Integer totalVisit;
	/**
	 * 一热力值等于多少现金
	 */
	@ApiModelProperty(value = "一热力值等于多少现金")
	private BigDecimal bonusProportion;
	/**
	 * 代理毛利率
	 */
	@ApiModelProperty(value = "代理毛利率")
	private BigDecimal grossProfitRate;

	/**
	 * 1：启用  0：禁用
	 */
	@ApiModelProperty(value = "1：启用  0：禁用")
	private Integer enable;
	private String shareDesc;
	private String shareTitle;
	private String shareImg;


}
