com.payu.menu.client.model.Menu Maven / Gradle / Ivy
package com.payu.menu.client.model;
import com.payu.menu.client.enums.MenuCategory;
import io.swagger.v3.oas.annotations.media.Schema;
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 = "Menu Model")
public class Menu {
@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 = "Number of day of the menu")
private int dayNumber;
@Schema(description = "Person count of the menu")
private int personCount;
@Schema(description = "Creator Uid")
private String creatorUid;
@Schema(description = "Is enabled")
private boolean enabled;
@Schema(description = "estimated cost")
private double estimatedCost;
@Schema(description = "Repas list")
private Set repas = Set.of();
@Schema(description = "Repas categories list")
private Set categories = Set.of();
}