package com.bonus.canteen.core.cook.vo;

import com.bonus.canteen.core.cook.dto.CookRecipeDishesDTO;
import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;
import java.util.List;

/**
 * 菜品计划详情信息对象 cook_recipe_detail
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@Data
@ToString
public class CookRecipeDetailVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 菜谱详情id */
    private Long recipeDetailId;

    /** 菜品计划销售类别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 LocalDate 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;

    private String dishesName;

    private List<CookRecipeDishesVO> dishesList;
}
