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 UserWallets {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String userId;
    private Integer gold;
    private Integer diamond;
    /** 创建时间. */
    private Date createTime;
}
