Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. package lv.autentica.lapis.entity;
  2.  
  3. import javax.persistence.*;
  4.  
  5. @Entity
  6. @Table(name = "LAP_VCALC_FROM_EST")
  7. public class LapVcalcFromEstEntity {
  8. private Integer apnId;
  9. private Integer sumEstTotal;
  10. private Integer publicEstTotal;
  11. private Integer sumTotal;
  12. private Integer publicSum;
  13. private Integer avPart;
  14. private Integer sumNonAv;
  15. private Integer publicSumNonAv;
  16. private String aeeIds;
  17. private Integer calcSumTotal;
  18. private Integer calcPublicCum;
  19.  
  20. @Id
  21. @Column(name = "APN_ID", nullable = true, precision = 0)
  22. public Integer getApnId() {
  23. return apnId;
  24. }
  25.  
  26. public void setApnId(Integer apnId) {
  27. this.apnId = apnId;
  28. }
  29.  
  30. @Basic
  31. @Column(name = "SUM_EST_TOTAL", nullable = true, precision = 0)
  32. public Integer getSumEstTotal() {
  33. return sumEstTotal;
  34. }
  35.  
  36. public void setSumEstTotal(Integer sumEstTotal) {
  37. this.sumEstTotal = sumEstTotal;
  38. }
  39.  
  40. @Basic
  41. @Column(name = "PUBLIC_EST_TOTAL", nullable = true, precision = 0)
  42. public Integer getPublicEstTotal() {
  43. return publicEstTotal;
  44. }
  45.  
  46. public void setPublicEstTotal(Integer publicEstTotal) {
  47. this.publicEstTotal = publicEstTotal;
  48. }
  49.  
  50. @Basic
  51. @Column(name = "SUM_TOTAL", nullable = true, precision = 0)
  52. public Integer getSumTotal() {
  53. return sumTotal;
  54. }
  55.  
  56. public void setSumTotal(Integer sumTotal) {
  57. this.sumTotal = sumTotal;
  58. }
  59.  
  60. @Basic
  61. @Column(name = "PUBLIC_SUM", nullable = true, precision = 0)
  62. public Integer getPublicSum() {
  63. return publicSum;
  64. }
  65.  
  66. public void setPublicSum(Integer publicSum) {
  67. this.publicSum = publicSum;
  68. }
  69.  
  70. @Basic
  71. @Column(name = "AV_PART", nullable = true, precision = 0)
  72. public Integer getAvPart() {
  73. return avPart;
  74. }
  75.  
  76. public void setAvPart(Integer avPart) {
  77. this.avPart = avPart;
  78. }
  79.  
  80. @Basic
  81. @Column(name = "SUM_NON_AV", nullable = true, precision = 0)
  82. public Integer getSumNonAv() {
  83. return sumNonAv;
  84. }
  85.  
  86. public void setSumNonAv(Integer sumNonAv) {
  87. this.sumNonAv = sumNonAv;
  88. }
  89.  
  90. @Basic
  91. @Column(name = "PUBLIC_SUM_NON_AV", nullable = true, precision = 0)
  92. public Integer getPublicSumNonAv() {
  93. return publicSumNonAv;
  94. }
  95.  
  96. public void setPublicSumNonAv(Integer publicSumNonAv) {
  97. this.publicSumNonAv = publicSumNonAv;
  98. }
  99.  
  100. @Basic
  101. @Column(name = "AEE_IDS", nullable = true, length = 4000)
  102. public String getAeeIds() {
  103. return aeeIds;
  104. }
  105.  
  106. public void setAeeIds(String aeeIds) {
  107. this.aeeIds = aeeIds;
  108. }
  109.  
  110. @Basic
  111. @Column(name = "CALC_SUM_TOTAL", nullable = true, precision = 0)
  112. public Integer getCalcSumTotal() {
  113. return calcSumTotal;
  114. }
  115.  
  116. public void setCalcSumTotal(Integer calcSumTotal) {
  117. this.calcSumTotal = calcSumTotal;
  118. }
  119.  
  120. @Basic
  121. @Column(name = "CALC_PUBLIC_CUM", nullable = true, precision = 0)
  122. public Integer getCalcPublicCum() {
  123. return calcPublicCum;
  124. }
  125.  
  126. public void setCalcPublicCum(Integer calcPublicCum) {
  127. this.calcPublicCum = calcPublicCum;
  128. }
  129.  
  130. @Override
  131. public boolean equals(Object o) {
  132. if (this == o) return true;
  133. if (o == null || getClass() != o.getClass()) return false;
  134.  
  135. LapVcalcFromEstEntity that = (LapVcalcFromEstEntity) o;
  136.  
  137. if (apnId != null ? !apnId.equals(that.apnId) : that.apnId != null) return false;
  138. if (sumEstTotal != null ? !sumEstTotal.equals(that.sumEstTotal) : that.sumEstTotal != null) return false;
  139. if (publicEstTotal != null ? !publicEstTotal.equals(that.publicEstTotal) : that.publicEstTotal != null)
  140. return false;
  141. if (sumTotal != null ? !sumTotal.equals(that.sumTotal) : that.sumTotal != null) return false;
  142. if (publicSum != null ? !publicSum.equals(that.publicSum) : that.publicSum != null) return false;
  143. if (avPart != null ? !avPart.equals(that.avPart) : that.avPart != null) return false;
  144. if (sumNonAv != null ? !sumNonAv.equals(that.sumNonAv) : that.sumNonAv != null) return false;
  145. if (publicSumNonAv != null ? !publicSumNonAv.equals(that.publicSumNonAv) : that.publicSumNonAv != null)
  146. return false;
  147. if (aeeIds != null ? !aeeIds.equals(that.aeeIds) : that.aeeIds != null) return false;
  148. if (calcSumTotal != null ? !calcSumTotal.equals(that.calcSumTotal) : that.calcSumTotal != null) return false;
  149. if (calcPublicCum != null ? !calcPublicCum.equals(that.calcPublicCum) : that.calcPublicCum != null)
  150. return false;
  151.  
  152. return true;
  153. }
  154.  
  155. @Override
  156. public int hashCode() {
  157. int result = apnId != null ? apnId.hashCode() : 0;
  158. result = 31 * result + (sumEstTotal != null ? sumEstTotal.hashCode() : 0);
  159. result = 31 * result + (publicEstTotal != null ? publicEstTotal.hashCode() : 0);
  160. result = 31 * result + (sumTotal != null ? sumTotal.hashCode() : 0);
  161. result = 31 * result + (publicSum != null ? publicSum.hashCode() : 0);
  162. result = 31 * result + (avPart != null ? avPart.hashCode() : 0);
  163. result = 31 * result + (sumNonAv != null ? sumNonAv.hashCode() : 0);
  164. result = 31 * result + (publicSumNonAv != null ? publicSumNonAv.hashCode() : 0);
  165. result = 31 * result + (aeeIds != null ? aeeIds.hashCode() : 0);
  166. result = 31 * result + (calcSumTotal != null ? calcSumTotal.hashCode() : 0);
  167. result = 31 * result + (calcPublicCum != null ? calcPublicCum.hashCode() : 0);
  168. return result;
  169. }
  170. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement