@@ -0,0 +1,1239 @@
+package devopsdistilled.operp.server.data.entity.business;%0A%0Aimport java.util.Date;%0A%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.GenerationType;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.MappedSuperclass;%0Aimport javax.persistence.Temporal;%0Aimport javax.persistence.TemporalType;%0A%0Aimport devopsdistilled.operp.server.data.entity.Entiti;%0A%0A@MappedSuperclass%0Apublic abstract class Business extends Entiti%3CLong%3E %7B%0A%0A%09private static final long serialVersionUID = -7075903053081563240L;%0A%0A%09@Id%0A%09@GeneratedValue(strategy = GenerationType.AUTO)%0A%09private Long businessId;%0A%0A%09@Temporal(TemporalType.TIMESTAMP)%0A%09private Date date;%0A%0A%09private Double amount = 0.0;%0A%0A%09public Long getBusinessId() %7B%0A%09%09return businessId;%0A%09%7D%0A%0A%09public void setBusinessId(Long businessId) %7B%0A%09%09this.businessId = businessId;%0A%09%7D%0A%0A%09public Date getDate() %7B%0A%09%09return date;%0A%09%7D%0A%0A%09public void setDate(Date date) %7B%0A%09%09this.date = date;%0A%09%7D%0A%0A%09public Double getAmount() %7B%0A%09%09return amount;%0A%09%7D%0A%0A%09public void setAmount(Double amount) %7B%0A%09%09this.amount = amount;%0A%09%7D%0A%0A%09@Override%0A%09public Long id() %7B%0A%09%09return getBusinessId();%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%0A%09%09return new String(getBusinessId() + %22: %22 + getDate() + %22: %22%0A%09%09%09%09+ getAmount().toString());%0A%09%7D%0A%0A%7D%0A

Add MappedSuperClass Business