mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1870 - Whether DtoMeta.findproperty needs to add is prefix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user