package com.bonus.canteen.core.cook.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;

/**
 * 移动端菜谱绑定关系对象 cook_recipe_bind_app
 * 
 * @author xsheng
 * @date 2025-05-25
 */


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

    /** 自增id */
    private Long id;

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

    /** 绑定类型(1-当餐点餐,2-预订餐,3-一周菜谱,4-扫码点餐) */
    @Excel(name = "绑定类型(1-当餐点餐,2-预订餐,3-一周菜谱,4-扫码点餐)")
    @ApiModelProperty(value = "绑定类型(1-当餐点餐,2-预订餐,3-一周菜谱,4-扫码点餐)")
    private Long bindType;

    /** 绑定时间 */
    @ApiModelProperty(value = "绑定时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindTime;

    private Long mealLineId;

}
