18 package org.turro.financials.entity;
20 import java.util.Date;
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 javax.persistence.Temporal;
28 import javax.persistence.TemporalType;
38 @GeneratedValue(strategy=GenerationType.IDENTITY)
39 @Column(name=
"IDENTIFIER")
42 @Temporal(value = TemporalType.DATE)
43 private Date depreciationDate;
45 private double perCent;
50 private String comment;
57 this.comment = comment;
61 return depreciationDate;
65 this.depreciationDate = depreciationDate;
73 this.fixedAsset = fixedAsset;
89 this.perCent = perCent;
95 return depreciationDate !=
null;
Date getDepreciationDate()
void setDepreciationDate(Date depreciationDate)
void setPerCent(double perCent)
FixedAsset getFixedAsset()
void setFixedAsset(FixedAsset fixedAsset)
void setComment(String comment)