package com.YuyeTech.HeartRate.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author:slambb
 * @date:2021/8/5
 */

@Data
@Entity
public class UserReward {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String userId;
    private Integer gold;
    private String goldExplain;
    private Integer diamond;
    private String diamondExplain;
    private Integer honor;
    private String honorName;
    private String honorExplain;
    private String honorUrl;

    private Integer eventId;
    private String eventName;
    private Integer eventState;
    private Integer eventType;
    /**
     * 玩通过的次数
     */
    private Integer playCount;

    /** 创建时间. */
    private Date createTime;
}
