Skip to content

Commit a4e7275

Browse files
committed
feat: create manucfactuer api
Signed-off-by: Otavio Santana <[email protected]>
1 parent 09dc582 commit a4e7275

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.soujava.samples.mongodb.products;
2+
3+
import jakarta.nosql.Column;
4+
import jakarta.nosql.Embeddable;
5+
6+
@Embeddable(Embeddable.EmbeddableType.GROUPING)
7+
public class Manufacturer {
8+
9+
@Column
10+
private String name;
11+
12+
@Column
13+
private String address;
14+
15+
@Column
16+
private String contactNumber;
17+
}

0 commit comments

Comments
 (0)