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

import com.bonus.canteen.core.cook.dto.CookRecipeDetailDTO;
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 CookRecipeDateVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("日期")
    private LocalDate day;

    @ApiModelProperty("菜谱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;

    List<CookRecipeDetailVO> detailList;
}
