com.payu.menu.client.model.IngredientWithCount Maven / Gradle / Ivy
package com.payu.menu.client.model;
import com.payu.menu.client.enums.MeasuringUnit;
import com.payu.menu.client.enums.ProductCategory;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(description = "Ingredient With count Model")
public class IngredientWithCount {
@Schema(description = "reference")
private String reference;
@Schema(description = "name")
private String name;
@Schema(description = "description")
private String description;
@Schema(description = "image url")
private String imageUrl;
@Schema(description = "uunit price")
private double unitPrice;
@Schema(description = "Creator Uid")
private String creatorUid;
@Schema(description = "measuring unit")
private MeasuringUnit measuringUnit;
@Schema(description = "category")
private ProductCategory category;
@Schema(description = "ingredient count")
private double ingredientCount;
}