#1870 - Whether DtoMeta.findproperty needs to add is prefix

This commit is contained in:
rob bygrave
2019-11-29 20:54:28 +13:00
parent 1fc4082abe
commit 27a4e8951d
4 changed files with 57 additions and 5 deletions
@@ -39,6 +39,8 @@ public class Contact {
String mobile;
String email;
boolean isMember;
@DocEmbedded(doc = "id,name")
@ManyToOne(optional = false)
Customer customer;
@@ -129,6 +131,14 @@ public class Contact {
this.email = email;
}
public boolean isMember() {
return isMember;
}
public void setMember(boolean member) {
isMember = member;
}
public Customer getCustomer() {
return customer;
}