From d211cbb33647c574f7817383ba914166c7ae61b2 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Mon, 10 Apr 2017 18:31:39 +0200 Subject: [PATCH] remove unused shares column from customer --- .../java/de/hsadmin/bo/customer/Customer.java | 23 ------------------- .../hsadmin/service/customer/CustomerVO.java | 22 ------------------ 2 files changed, 45 deletions(-) diff --git a/cust-services/src/main/java/de/hsadmin/bo/customer/Customer.java b/cust-services/src/main/java/de/hsadmin/bo/customer/Customer.java index 1185ab9..007ba92 100644 --- a/cust-services/src/main/java/de/hsadmin/bo/customer/Customer.java +++ b/cust-services/src/main/java/de/hsadmin/bo/customer/Customer.java @@ -65,13 +65,6 @@ public class Customer implements Serializable { @Temporal(javax.persistence.TemporalType.DATE) private Date nonDiscContract; - @Column(name = "shares_updated", columnDefinition = "date", nullable = true) - @Temporal(javax.persistence.TemporalType.DATE) - private Date sharesUpdated; - - @Column(name = "shares_signed", columnDefinition = "integer") - private int sharesSigned; - @Column(name = "free", nullable = false) private boolean free = false; @@ -176,22 +169,6 @@ public class Customer implements Serializable { this.nonDiscContract = nonDiscContract; } - public Date getSharesUpdated() { - return sharesUpdated; - } - - public void setSharesUpdated(final Date sharesUpdated) { - this.sharesUpdated = sharesUpdated; - } - - public int getSharesSigned() { - return sharesSigned; - } - - public void setSharesSigned(final int sharesSigned) { - this.sharesSigned = sharesSigned; - } - public String getUidVAT() { return uidVAT; } diff --git a/cust-services/src/main/java/de/hsadmin/service/customer/CustomerVO.java b/cust-services/src/main/java/de/hsadmin/service/customer/CustomerVO.java index 7f343a6..e420312 100644 --- a/cust-services/src/main/java/de/hsadmin/service/customer/CustomerVO.java +++ b/cust-services/src/main/java/de/hsadmin/service/customer/CustomerVO.java @@ -49,12 +49,6 @@ public class CustomerVO extends AbstractVO { @ReadWrite(ReadWritePolicy.READWRITE) private Date nonDiscContract; - @ReadWrite(ReadWritePolicy.READWRITE) - private Date sharesUpdated; - - @ReadWrite(ReadWritePolicy.READWRITE) - private Integer sharesSigned; - @ReadWrite(ReadWritePolicy.READWRITE) private Boolean free; @@ -141,22 +135,6 @@ public class CustomerVO extends AbstractVO { this.nonDiscContract = nonDiscContract; } - public Date getSharesUpdated() { - return sharesUpdated; - } - - public void setSharesUpdated(Date sharesUpdated) { - this.sharesUpdated = sharesUpdated; - } - - public Integer getSharesSigned() { - return sharesSigned; - } - - public void setSharesSigned(Integer sharesSigned) { - this.sharesSigned = sharesSigned; - } - public Boolean getFree() { return free; }