Package com.axelor.db.annotations
Annotation Interface VirtualColumn
This annotation should be used to mark computed fields.
For example:
@Entity
public class Contact extends Model {
...
private String firstName;
private String lastName;
...
...
@VirtualColumn
public String getFullName() {
return firstName + " " + lastName;
}
...
}