|
|
@@ -52,7 +52,33 @@ public class HealthMealRecord {
|
|
|
/** 是否补打: 1=补打(无能量值), 0=当日打卡 */
|
|
|
private Integer isBackfill;
|
|
|
|
|
|
+ @Data
|
|
|
+@TableName("health_meal_record")
|
|
|
+public class HealthMealRecord {
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ private Long memberId;
|
|
|
+ private Long checkinId;
|
|
|
+ private String mealType;
|
|
|
+ private String foodItems;
|
|
|
+ private Integer totalCalories;
|
|
|
+ private Integer proteinG;
|
|
|
+ private Integer fatG;
|
|
|
+ private Integer carbsG;
|
|
|
+ private Integer fiberG;
|
|
|
+ private Date mealTime;
|
|
|
+ private String remark;
|
|
|
+ private String photoUrls;
|
|
|
+ private String voiceUrl;
|
|
|
+ private String voiceText;
|
|
|
+ private Date recordDate;
|
|
|
+ private Integer isBackfill;
|
|
|
private Date createdAt;
|
|
|
+
|
|
|
+ /** 关联任务ID(一次性任务打卡后自动完成;为空则走每日任务累计) */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private Long taskId;
|
|
|
|
|
|
/** 关联任务ID(一次性任务打卡后自动完成;null=走每日任务累计路径) */
|
|
|
@TableField(exist = false)
|