19 package org.turro.financials.entity;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.ManyToOne;
27 import org.turro.jpa.entity.IDaoEntity;
37 @GeneratedValue(strategy=GenerationType.IDENTITY)
38 @Column(name=
"IDENTIFIER")
46 private double tax, equivalenceSurcharge;
53 this.contract = contract;
69 this.taxType = taxType;
81 return equivalenceSurcharge;
85 this.equivalenceSurcharge = equivalenceSurcharge;
98 return taxType ==
null || tax == 0.0d;
double getEquivalenceSurcharge()
void setTaxType(TaxType taxType)
void setEquivalenceSurcharge(double equivalenceSurcharge)
void setContract(Contract contract)