package com.YuyeTech.HeartRate.dataobject;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * @author:slambb
 * @date:2020/1/14
 */
@Data
@Entity
//@DynamicUpdate
public class RecentlyPlaying {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer recentlyId;
    private Integer recentlyType;

    @Column(name="f_object_id")
    private String FObjectId;
    private String userId;

//    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

}
