#2069 - Add ebean-querybean, querybean-generator and kotlin-querybean-generator as modules

This commit is contained in:
rob bygrave committed 2020-10-09 00:02:09 +13:00
1 parent bc055fea25
commit 038db79737
140 files changed
+11583

No files matched your search

@@ -0,0 +1,26 @@
package org.example.domain;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
@Inheritance
@DiscriminatorValue("DOG")
@Entity
public class ADog extends Animal {
private String registration;
public ADog(String name, String registration) {
super(name);
this.registration = registration;
}
public String getRegistration() {
return registration;
}
public void setRegistration(String registration) {
this.registration = registration;
}
}