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

import java.math.BigDecimal;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 菜品原料关联对象 cook_dishes_material
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class CookDishesMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

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

    /** 食材id */
    @Excel(name = "食材id")
    @ApiModelProperty(value = "食材id")
    private Long materialId;
    @Excel(name = "食材名称")
    @ApiModelProperty(value = "食材名称")
    private String materialName;
    /** 食材重量(g) */
    @Excel(name = "食材重量(g)")
    @ApiModelProperty(value = "食材重量(g)")
    private BigDecimal weight;

    /** 材料类型(1主料,2辅料,3配料) */
    @Excel(name = "材料类型(1主料,2辅料,3配料)")
    @ApiModelProperty(value = "材料类型(1主料,2辅料,3配料)")
    private Long materialType;


}
