com.payu.menu.client.model.Repas Maven / Gradle / Ivy
package com.payu.menu.client.model;
import com.payu.menu.client.enums.Difficulty;
import com.payu.menu.client.enums.Region;
import com.payu.menu.client.enums.RepasCategory;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
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 = "Repas Model")
public class Repas {
@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 = "video url")
private String videoUrl;
@Schema(description = "cooking time")
private Long cookingTime;
@Schema(description = "Person count of the repas")
private int personCount;
@Schema(description = "If repas is most wanted")
private boolean mostWanted;
@Schema(description = "Creator Uid")
private String creatorUid;
@Schema(description = "Is enabled")
private boolean enabled;
@Schema(description = "Images illustration of repas")
private Set illustrations = Set.of();
@Schema(description = "estimated cost")
private double estimatedCost;
@Schema(description = "difficulty")
private Difficulty difficulty;
@Schema(description = "region")
private Region region;
@Schema(description = "categories of repas")
private Set categories = Set.of();
@Schema(description = "ingredient with count list")
private Set ingredients = Set.of();
@Schema(description = "nutritional value list")
private List nutritionalValues = new ArrayList<>();
@Schema(description = "cooking step list")
private List cookingSteps = new ArrayList<>();
}