summaryrefslogtreecommitdiff
path: root/container-compiler-plugin/src/test/resources/io
diff options
context:
space:
mode:
Diffstat (limited to 'container-compiler-plugin/src/test/resources/io')
-rw-r--r--container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
index a341fd2..ff91680 100644
--- a/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
+++ b/container-compiler-plugin/src/test/resources/io/trygvis/persistence/test/ChildEntity.java
@@ -6,9 +6,12 @@ import javax.persistence.Entity;
public class ChildEntity extends ParentEntity {
public final String name;
- public ChildEntity(Long id, String name) {
+ public final int favoriteNumber;
+
+ public ChildEntity(Long id, String name, int favoriteNumber) {
super(id);
this.name = name;
+ this.favoriteNumber = favoriteNumber;
}
// -----------------------------------------------------------------------