/*
 *      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.sing.active.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 javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 活动作品实体类
 *
 * @author BladeX
 * @since 2021-11-10
 */
@Data
@TableName("sing_active_product_record")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ActiveProductRecord对象", description = "活动作品")
public class ActiveProductRecord extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	private Long userId;
	/**
	 * 作品编号
	 */
	@ApiModelProperty(value = "作品编号")
	private Long productNo;
	/**
	 * 活动Id
	 */
	@ApiModelProperty(value = "活动Id")
	@NotNull
	private Long activeId;
	/**
	 * 标题
	 */
	@ApiModelProperty(value = "标题")
	private String title;
	/**
	 * 活动图片地址
	 */
	@ApiModelProperty(value = "活动图片地址")
	private String imgUrl;
	/**
	 * 活动视频地址
	 */
	@ApiModelProperty(value = "活动视频地址")
	private String videoUrl;
	/**
	 * 票数
	 */
	@ApiModelProperty(value = "票数")
	private Long voteCount;
	/**
	 * 热力值
	 */
	@ApiModelProperty(value = "热力值")
	private BigDecimal heatValue;
	/**
	 * 活动内容
	 */
	@ApiModelProperty(value = "活动内容")
	private String content;
	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
	private String phone;

	private String player;

}
