18 package org.turro.financials.entity;
20 import java.util.List;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import org.turro.string.Strings;
25 import org.turro.financials.db.FinancialsPU;
26 import org.turro.jpa.entity.IDaoEntity;
36 @Column(name=
"IDENTIFIER")
39 private String description;
46 this.description = description;
66 return Strings.isBlank(
id) || Strings.isBlank(description);
72 return "#" +
id +
" - " + description;
76 if(
id !=
null &&
id.length() > 1) {
78 "select m from MajorAccount as m " +
79 "where '" +
id +
"' " +
"like concat(m.account, '%') " +
80 "order by m.account desc");
void proposeDescription()
void setDescription(String description)
String getFullDescription()