Adding source code for article tracked under BAEL-4109.

This commit is contained in:
CHANDRAKANT Kumar
2020-08-13 11:56:49 +05:30
parent 1e40fd51a7
commit 01b61a6bf0
10 changed files with 315 additions and 0 deletions
@@ -0,0 +1,27 @@
package com.baeldung.webflux;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Person {
@Id
String id;
public Person(String id) {
this.id = id;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Override
public String toString() {
return "Person{" + "id='" + id + '\'' + '}';
}
}