We will add some features on the application. For this specific application, we will create CRUD functionalities with Spring Reactive WebFlux.
The Plane class represents the plane model in our microservices and the class should be like this:
package springfive.airline.airlineplanes.domain;import com.fasterxml.jackson.annotation.JsonInclude;import com.fasterxml.jackson.annotation.JsonInclude.Include;import java.util.Set;import lombok.Builder;import lombok.Data;import lombok.NonNull;import org.springframework.data.annotation.Id;import org.springframework.data.mongodb.core.mapping.Document;import springfive.airline.airlineplanes.resource.data.PlaneRequest;@Data@Document(collection = "planes")@JsonInclude(Include. ...