package com.jeesharp.business.modules.food.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
public class FoodDishSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "门店ID不能为空")
    private String restaurantId;

    private String category;

    @NotBlank(message = "菜品名称不能为空")
    private String name;

    private String subtitle;

    @NotNull(message = "价格不能为空")
    private BigDecimal price;

    private String imageUrl;

    private String imagesJson;

    private String tagsJson;

    private String descriptionHtml;

    @NotNull(message = "状态不能为空")
    private Integer status;

    private Integer sortNo;
}
