All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.payu.menu.client.model.operation.CreateIngredient Maven / Gradle / Ivy

There is a newer version: 0.0.14
Show newest version
package com.payu.menu.client.model.operation;

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 CreateIngredient {

  @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 = "measuring unit")
  private MeasuringUnit measuringUnit;

  @Schema(description = "category")
  private ProductCategory category;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy