DailyMealRecipe.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package org.dromara.web.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. import org.dromara.common.tenant.core.TenantEntity;
  9. import java.io.Serial;
  10. import java.util.Date;
  11. /**
  12. * 日常膳食食谱明细对象 daily_meal_recipe
  13. *
  14. * @author Lion Li
  15. * @date 2025-07-25
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = true)
  19. @TableName("daily_meal_recipe")
  20. public class DailyMealRecipe extends TenantEntity {
  21. @Serial
  22. private static final long serialVersionUID = 1L;
  23. /**
  24. * 主键
  25. */
  26. @TableId(value = "id", type = IdType.AUTO)
  27. private Long id;
  28. /**
  29. * 院内膳食主表ID
  30. */
  31. private Long planId;
  32. /**
  33. * 食谱序号(1-7)
  34. */
  35. private Long recipeNo;
  36. /**
  37. * 餐次(如早餐/午餐/晚餐/早加/晚加等)
  38. */
  39. private String mealTime;
  40. /**
  41. * 用餐时间
  42. */
  43. private Date eatTime;
  44. /**
  45. * 食物名称
  46. */
  47. private String foodName;
  48. /**
  49. * 食物id
  50. */
  51. private Long foodId;
  52. /**
  53. * 食谱分类Id
  54. */
  55. private Long foodCategoryId;
  56. /**
  57. * 食谱分类
  58. */
  59. private String foodCategoryName;
  60. /**
  61. * 食物重量(g)
  62. */
  63. private Long foodWeight;
  64. /**
  65. * 热量(kcal)
  66. */
  67. private Long calorie;
  68. /**
  69. * 份数
  70. */
  71. private Long amount;
  72. /**
  73. * 金额
  74. */
  75. private Long price;
  76. /**
  77. * 删除标志(0代表存在 1代表删除)
  78. */
  79. @TableLogic
  80. private String delFlag;
  81. }