|
|
@@ -0,0 +1,29 @@
|
|
|
+package com.etotem.cfc.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.Data;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+@TableName("food_recommend_idx")
|
|
|
+public class FoodRecommendIndex implements Serializable {
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+ /** 用户ID */
|
|
|
+ private Long userId;
|
|
|
+ /** 食材ID */
|
|
|
+ private Long foodId;
|
|
|
+ /** 食材名称 */
|
|
|
+ private String foodName;
|
|
|
+ /** 推荐指数(0-100, 来自菌群检测报告) */
|
|
|
+ private Integer indexScore;
|
|
|
+ /** 关联健康报告ID */
|
|
|
+ private Long healthReportId;
|
|
|
+ /** 计算时间 */
|
|
|
+ private Date calculatedAt;
|
|
|
+ /** 创建时间 */
|
|
|
+ private Date createdAt;
|
|
|
+}
|