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

import java.util.Date;
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
public class MenuRecipeDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 菜谱详情id */
    @Excel(name = "菜谱详情id")
    @ApiModelProperty(value = "菜谱详情id")
    private Long detailId;

    /** 菜品计划销售类别id(数据同步) */
    @Excel(name = "菜品计划销售类别id(数据同步)")
    @ApiModelProperty(value = "菜品计划销售类别id(数据同步)")
    private String saleTypeId;

    /** 菜谱id */
    @Excel(name = "菜谱id")
    @ApiModelProperty(value = "菜谱id")
    private Long recipeId;

    /** 启用时间(天) */
    @ApiModelProperty(value = "启用时间(天)")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启用时间(天)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyDate;

    /** 启用时间(周) */
    @Excel(name = "启用时间(周)")
    @ApiModelProperty(value = "启用时间(周)")
    private Long applyWeek;

    /** 启用时间(月) */
    @Excel(name = "启用时间(月)")
    @ApiModelProperty(value = "启用时间(月)")
    private Long applyMonth;

    /** 餐次类型 */
    @Excel(name = "餐次类型")
    @ApiModelProperty(value = "餐次类型")
    private Long mealtimeType;

    /** 详情类型(1-模板,2-详情) */
    @Excel(name = "详情类型(1-模板,2-详情)")
    @ApiModelProperty(value = "详情类型(1-模板,2-详情)")
    private Long detailType;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    @ApiModelProperty(value = "乐观锁")
    private Long revision;


}
