18 package org.turro.financials.entity;
20 import javax.persistence.Column;
21 import javax.persistence.Entity;
22 import javax.persistence.GeneratedValue;
23 import javax.persistence.GenerationType;
24 import javax.persistence.Id;
25 import javax.persistence.ManyToOne;
26 import org.turro.jpa.entity.IDaoEntity;
36 @GeneratedValue(strategy=GenerationType.IDENTITY)
37 @Column(name=
"IDENTIFIER")
40 private boolean allowed;
56 this.allowed = allowed;
64 this.contract = contract;
68 return documentDefinition;
72 this.documentDefinition = documentDefinition;
100 return documentDefinition ==
null || store ==
null;