com.payu.menu.client.model.Ingredient 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 Model")
public class Ingredient {
@Schema(description = "reference")
private String id;
@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;
}