package com.bonus.canteen.core.menu.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 菜品计划详情信息对象 menu_recipe_detail
 *
 * @author xsheng
 * @date 2025-04-03
 */


@Data
@ToString
@TableName("menu_recipe_detail")
public class MenuRecipeDetail{
    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("菜谱详情id")
    private Long detailId;
    @ApiModelProperty("菜品计划销售类别id(数据同步)")
    private Long saleTypeId;
    @ApiModelProperty("菜谱id")
    private Long recipeId;
    @ApiModelProperty("启用时间(天)")
    private LocalDate applyDate;
    @ApiModelProperty("启用时间(天)")
    @TableField(exist = false)
    private LocalDate endDate;
    @ApiModelProperty("餐次类型")
    private Integer mealtimeType;
    @ApiModelProperty("详情类型(1-模板,2-详情)")
    private Integer detailType;
    @ApiModelProperty("启用时间(周)")
    private Integer applyWeek;
    @ApiModelProperty("乐观锁")
    private Integer revision;
    @ApiModelProperty("创建人")
    private String createBy;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("更新人")
    private String updateBy;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;


}

