Skip to content

Commit 54f2f12

Browse files
committed
test: added Book model
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 460ae31 commit 54f2f12

File tree

1 file changed

+23
-0
lines changed
  • jnosql-couchbase/src/test/java/org/eclipse/jnosql/databases/couchbase/integration

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2023 Contributors to the Eclipse Foundation
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* and Apache License v2.0 which accompanies this distribution.
6+
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
7+
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
8+
*
9+
* You may elect to redistribute this code under either of these licenses.
10+
*
11+
* Contributors:
12+
*
13+
* Maximillian Arruda
14+
*/
15+
package org.eclipse.jnosql.databases.couchbase.integration;
16+
17+
import jakarta.nosql.Column;
18+
import jakarta.nosql.Entity;
19+
import jakarta.nosql.Id;
20+
21+
@Entity
22+
public record Book(@Id String id, @Column("title") String title, @Column("edition") int edition) {
23+
}

0 commit comments

Comments
 (0)