package org.dromara.web.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 院内膳食食谱明细对象 hospital_meal_recipe
 *
 * @author Lion Li
 * @date 2025-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hospital_meal_recipe")
public class HospitalMealRecipe extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 院内膳食主表ID
     */
    private Long planId;

    /**
     * 食谱序号(1-7)
     */
    private Long recipeNo;

    /**
     * 餐次(如早餐/午餐/晚餐/早加/晚加等)
     */
    private String mealTime;

    /**
     * 用餐时间
     */
    private Date eatTime;

    /**
     * 食物名称
     */
    private String foodName;

    /**
     * 食物id
     */
    private Long foodId;

    /**
     * 食谱分类Id
     */
    private Long foodCategoryId;

    /**
     * 食谱分类
     */
    private String foodCategoryName;

    /**
     * 食物重量(g)
     */
    private BigDecimal foodWeight;

    /**
     * 热量(kcal)
     */
    private Long calorie;

    /**
     * 份数
     */
    private Long amount;

    /**
     * 金额
     */
    private BigDecimal price;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;

    /*制餐状态 0 未配餐 1已配餐*/
    private String makeStatus;

    private Date makeTime;

    private Long makeBy;

    /*执行状态 0 未执行 1已执行*/
    private String executeStatus;

    private LocalDate executeDate;

    private LocalTime executeTime;

    private Long executeBy;

    /*标签打印数量*/
    private Integer tagPrintNum;

}
