Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package lv.autentica.lapis.entity;
- import javax.persistence.*;
- @Entity
- @Table(name = "LAP_VCALC_FROM_EST")
- public class LapVcalcFromEstEntity {
- private Integer apnId;
- private Integer sumEstTotal;
- private Integer publicEstTotal;
- private Integer sumTotal;
- private Integer publicSum;
- private Integer avPart;
- private Integer sumNonAv;
- private Integer publicSumNonAv;
- private String aeeIds;
- private Integer calcSumTotal;
- private Integer calcPublicCum;
- @Id
- @Column(name = "APN_ID", nullable = true, precision = 0)
- public Integer getApnId() {
- return apnId;
- }
- public void setApnId(Integer apnId) {
- this.apnId = apnId;
- }
- @Basic
- @Column(name = "SUM_EST_TOTAL", nullable = true, precision = 0)
- public Integer getSumEstTotal() {
- return sumEstTotal;
- }
- public void setSumEstTotal(Integer sumEstTotal) {
- this.sumEstTotal = sumEstTotal;
- }
- @Basic
- @Column(name = "PUBLIC_EST_TOTAL", nullable = true, precision = 0)
- public Integer getPublicEstTotal() {
- return publicEstTotal;
- }
- public void setPublicEstTotal(Integer publicEstTotal) {
- this.publicEstTotal = publicEstTotal;
- }
- @Basic
- @Column(name = "SUM_TOTAL", nullable = true, precision = 0)
- public Integer getSumTotal() {
- return sumTotal;
- }
- public void setSumTotal(Integer sumTotal) {
- this.sumTotal = sumTotal;
- }
- @Basic
- @Column(name = "PUBLIC_SUM", nullable = true, precision = 0)
- public Integer getPublicSum() {
- return publicSum;
- }
- public void setPublicSum(Integer publicSum) {
- this.publicSum = publicSum;
- }
- @Basic
- @Column(name = "AV_PART", nullable = true, precision = 0)
- public Integer getAvPart() {
- return avPart;
- }
- public void setAvPart(Integer avPart) {
- this.avPart = avPart;
- }
- @Basic
- @Column(name = "SUM_NON_AV", nullable = true, precision = 0)
- public Integer getSumNonAv() {
- return sumNonAv;
- }
- public void setSumNonAv(Integer sumNonAv) {
- this.sumNonAv = sumNonAv;
- }
- @Basic
- @Column(name = "PUBLIC_SUM_NON_AV", nullable = true, precision = 0)
- public Integer getPublicSumNonAv() {
- return publicSumNonAv;
- }
- public void setPublicSumNonAv(Integer publicSumNonAv) {
- this.publicSumNonAv = publicSumNonAv;
- }
- @Basic
- @Column(name = "AEE_IDS", nullable = true, length = 4000)
- public String getAeeIds() {
- return aeeIds;
- }
- public void setAeeIds(String aeeIds) {
- this.aeeIds = aeeIds;
- }
- @Basic
- @Column(name = "CALC_SUM_TOTAL", nullable = true, precision = 0)
- public Integer getCalcSumTotal() {
- return calcSumTotal;
- }
- public void setCalcSumTotal(Integer calcSumTotal) {
- this.calcSumTotal = calcSumTotal;
- }
- @Basic
- @Column(name = "CALC_PUBLIC_CUM", nullable = true, precision = 0)
- public Integer getCalcPublicCum() {
- return calcPublicCum;
- }
- public void setCalcPublicCum(Integer calcPublicCum) {
- this.calcPublicCum = calcPublicCum;
- }
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
- LapVcalcFromEstEntity that = (LapVcalcFromEstEntity) o;
- if (apnId != null ? !apnId.equals(that.apnId) : that.apnId != null) return false;
- if (sumEstTotal != null ? !sumEstTotal.equals(that.sumEstTotal) : that.sumEstTotal != null) return false;
- if (publicEstTotal != null ? !publicEstTotal.equals(that.publicEstTotal) : that.publicEstTotal != null)
- return false;
- if (sumTotal != null ? !sumTotal.equals(that.sumTotal) : that.sumTotal != null) return false;
- if (publicSum != null ? !publicSum.equals(that.publicSum) : that.publicSum != null) return false;
- if (avPart != null ? !avPart.equals(that.avPart) : that.avPart != null) return false;
- if (sumNonAv != null ? !sumNonAv.equals(that.sumNonAv) : that.sumNonAv != null) return false;
- if (publicSumNonAv != null ? !publicSumNonAv.equals(that.publicSumNonAv) : that.publicSumNonAv != null)
- return false;
- if (aeeIds != null ? !aeeIds.equals(that.aeeIds) : that.aeeIds != null) return false;
- if (calcSumTotal != null ? !calcSumTotal.equals(that.calcSumTotal) : that.calcSumTotal != null) return false;
- if (calcPublicCum != null ? !calcPublicCum.equals(that.calcPublicCum) : that.calcPublicCum != null)
- return false;
- return true;
- }
- @Override
- public int hashCode() {
- int result = apnId != null ? apnId.hashCode() : 0;
- result = 31 * result + (sumEstTotal != null ? sumEstTotal.hashCode() : 0);
- result = 31 * result + (publicEstTotal != null ? publicEstTotal.hashCode() : 0);
- result = 31 * result + (sumTotal != null ? sumTotal.hashCode() : 0);
- result = 31 * result + (publicSum != null ? publicSum.hashCode() : 0);
- result = 31 * result + (avPart != null ? avPart.hashCode() : 0);
- result = 31 * result + (sumNonAv != null ? sumNonAv.hashCode() : 0);
- result = 31 * result + (publicSumNonAv != null ? publicSumNonAv.hashCode() : 0);
- result = 31 * result + (aeeIds != null ? aeeIds.hashCode() : 0);
- result = 31 * result + (calcSumTotal != null ? calcSumTotal.hashCode() : 0);
- result = 31 * result + (calcPublicCum != null ? calcPublicCum.hashCode() : 0);
- return result;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement