package com.YuyeTech.HeartRate.game.foodRecommend.pojo;

import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "food_recommend")
@Data
public class FoodRecommend implements Serializable {
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;//

    private Integer type;//属于的类型

    private Integer foodId;//推荐食物表的id

    private Integer isShow;//是否显示

    private Date showTime;//

    private Date createTime;//创建时间

    private Date updateTime;//修改时间

}
