19 package org.turro.financials.entity;
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.ManyToOne;
28 import javax.persistence.Temporal;
29 import javax.persistence.TemporalType;
39 @GeneratedValue(strategy=GenerationType.IDENTITY)
40 @Column(name=
"IDENTIFIER")
43 @Column(nullable=
false)
44 @Temporal(value = TemporalType.DATE)
45 private Date regulationDate;
55 private double quantity;
66 return regulationDate;
70 this.regulationDate = regulationDate;
86 this.product = product;
102 this.quantity = quantity;
void setProduct(Product product)
void setRegulationDate(Date regulationDate)
void setType(RegulationType type)
void setStore(Contract store)
void setQuantity(double quantity)