|
|
@@ -0,0 +1,27 @@
|
|
|
+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.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+@TableName("fat_diet_record")
|
|
|
+public class FatDietRecord {
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+ private Long memberId;
|
|
|
+ private String mealType;
|
|
|
+ private String foodName;
|
|
|
+ private BigDecimal foodWeight;
|
|
|
+ private Integer calories;
|
|
|
+ private BigDecimal protein;
|
|
|
+ private BigDecimal fat;
|
|
|
+ private BigDecimal carbs;
|
|
|
+ private Date eatDate;
|
|
|
+ private String remark;
|
|
|
+ private Date createdAt;
|
|
|
+}
|