package com.YuyeTech.HeartRate.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

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

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

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