/*
 *      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.helpRecord.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;

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

	private static final long serialVersionUID = 1L;

	/**
	 * 活动id
	 */
	@ApiModelProperty(value = "活动id")
	private Long activityId;
	/**
	 * 作品id
	 */
	@ApiModelProperty(value = "作品id")
	private Long productId;
	/**
	 * 助力人id
	 */
	@ApiModelProperty(value = "助力人id")
	private Long senderId;
	/**
	 * 被助力人的id
	 */
	@ApiModelProperty(value = "被助力人的id")
	private Long receiverId;
	/**
	 * 0：作品打榜 1：作品打赏  2：作者打榜 3：作者打赏
	 */
	@ApiModelProperty(value = "0：作品打榜 1：作品打赏  2：作者打榜 3：作者打赏")
	private Integer type;
	@ApiModelProperty(value = "1：打榜  2：打赏")
	private Integer typeSub;
	/**
	 * 礼物id
	 */
	@ApiModelProperty(value = "礼物id")
	private Long presentId;
	/**
	 * 打赏的礼物数量
	 */
	@ApiModelProperty(value = "打赏的礼物数量")
	private Integer count;
	/**
	 * 打赏礼物的总价格
	 */
	@ApiModelProperty(value = "打赏礼物的总价格")
	private BigDecimal totalCash;
	/**
	 * 打赏礼物的总积分值
	 */
	@ApiModelProperty(value = "打赏礼物的总积分值")
	private BigDecimal totalPointsValue;
	/**
	 * 助力总热力值
	 */
	@ApiModelProperty(value = "助力总热力值")
	private BigDecimal totalHotValue;


}
