1 9 10 package test; 11 12 import java.io.Serializable ; 13 import java.math.BigInteger ; 14 import java.util.Date ; 15 import javax.persistence.Column; 16 import javax.persistence.Entity; 17 import javax.persistence.Id; 18 import javax.persistence.Lob; 19 import javax.persistence.Table; 20 import javax.persistence.Temporal; 21 import javax.persistence.TemporalType; 22 23 28 @Entity 29 @Table(name = "TABLE175") 30 public class Table175 implements Serializable { 31 32 @Id 33 @Column(name = "ID", nullable = false) 34 private Integer id; 35 36 @Column(name = "A") 37 private BigInteger a; 38 39 @Lob 40 @Column(name = "B") 41 private Serializable b; 42 43 @Column(name = "C") 44 private Character c; 45 46 @Lob 47 @Column(name = "D") 48 private String d; 49 50 @Column(name = "E") 51 @Temporal(TemporalType.DATE) 52 private Date e; 53 54 @Column(name = "F") 55 private Integer f; 56 57 @Column(name = "G") 58 private Double g; 59 60 @Column(name = "H") 61 private Double h; 62 63 @Column(name = "I") 64 private Double i; 65 66 @Column(name = "J") 67 private Integer j; 68 69 @Lob 70 @Column(name = "K") 71 private String k; 72 73 @Column(name = "L") 74 private Integer l; 75 76 @Column(name = "M") 77 private Float m; 78 79 @Column(name = "N") 80 private Short n; 81 82 @Column(name = "O") 83 @Temporal(TemporalType.TIME) 84 private Date o; 85 86 @Column(name = "P") 87 @Temporal(TemporalType.TIMESTAMP) 88 private Date p; 89 90 @Column(name = "Q") 91 private String q; 92 93 94 public Table175() { 95 } 96 97 101 public Table175(Integer id) { 102 this.id = id; 103 } 104 105 109 public Integer getId() { 110 return this.id; 111 } 112 113 117 public void setId(Integer id) { 118 this.id = id; 119 } 120 121 125 public BigInteger getA() { 126 return this.a; 127 } 128 129 133 public void setA(BigInteger a) { 134 this.a = a; 135 } 136 137 141 public Serializable getB() { 142 return this.b; 143 } 144 145 149 public void setB(Serializable b) { 150 this.b = b; 151 } 152 153 157 public Character getC() { 158 return this.c; 159 } 160 161 165 public void setC(Character c) { 166 this.c = c; 167 } 168 169 173 public String getD() { 174 return this.d; 175 } 176 177 181 public void setD(String d) { 182 this.d = d; 183 } 184 185 189 public Date getE() { 190 return this.e; 191 } 192 193 197 public void setE(Date e) { 198 this.e = e; 199 } 200 201 205 public Integer getF() { 206 return this.f; 207 } 208 209 213 public void setF(Integer f) { 214 this.f = f; 215 } 216 217 221 public Double getG() { 222 return this.g; 223 } 224 225 229 public void setG(Double g) { 230 this.g = g; 231 } 232 233 237 public Double getH() { 238 return this.h; 239 } 240 241 245 public void setH(Double h) { 246 this.h = h; 247 } 248 249 253 public Double getI() { 254 return this.i; 255 } 256 257 261 public void setI(Double i) { 262 this.i = i; 263 } 264 265 269 public Integer getJ() { 270 return this.j; 271 } 272 273 277 public void setJ(Integer j) { 278 this.j = j; 279 } 280 281 285 public String getK() { 286 return this.k; 287 } 288 289 293 public void setK(String k) { 294 this.k = k; 295 } 296 297 301 public Integer getL() { 302 return this.l; 303 } 304 305 309 public void setL(Integer l) { 310 this.l = l; 311 } 312 313 317 public Float getM() { 318 return this.m; 319 } 320 321 325 public void setM(Float m) { 326 this.m = m; 327 } 328 329 333 public Short getN() { 334 return this.n; 335 } 336 337 341 public void setN(Short n) { 342 this.n = n; 343 } 344 345 349 public Date getO() { 350 return this.o; 351 } 352 353 357 public void setO(Date o) { 358 this.o = o; 359 } 360 361 365 public Date getP() { 366 return this.p; 367 } 368 369 373 public void setP(Date p) { 374 this.p = p; 375 } 376 377 381 public String getQ() { 382 return this.q; 383 } 384 385 389 public void setQ(String q) { 390 this.q = q; 391 } 392 393 398 @Override 399 public int hashCode() { 400 int hash = 0; 401 hash += (this.id != null ? this.id.hashCode() : 0); 402 return hash; 403 } 404 405 413 @Override 414 public boolean equals(Object object) { 415 if (!(object instanceof Table175)) { 417 return false; 418 } 419 Table175 other = (Table175)object; 420 if (this.id != other.id && (this.id == null || !this.id.equals(other.id))) return false; 421 return true; 422 } 423 424 429 @Override 430 public String toString() { 431 return "test.Table175[id=" + id + "]"; 432 } 433 434 } 435 | Popular Tags |