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

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

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

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
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 = "Add Ingredient by reference With count on repas operation")
public class AddIngredientByReferenceWithCount {

  @Schema(description = "reference")
  private String reference;

  @Schema(description = "ingredient count")
  private double ingredientCount;

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    AddIngredientByReferenceWithCount that = (AddIngredientByReferenceWithCount) o;
    return Objects.equals(reference, that.reference);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy