01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package jodd.db.orm.test;
04:
05: import jodd.db.orm.meta.DbTable;
06: import jodd.db.orm.meta.DbColumn;
07:
08: @DbTable("BOY")
09: public class BadBoy {
10:
11: public BadBoy() {
12: }
13:
14: public BadBoy(Integer id, String name, Integer girlId) {
15: this .ajdi = id;
16: this .nejm = name;
17: this .girlId = girlId;
18: }
19:
20: @DbColumn("ID")
21: public Integer ajdi;
22:
23: public Integer ajdiGreaterEqual;
24:
25: @DbColumn("NAME")
26: public String nejm;
27:
28: public String nejmLike;
29:
30: @DbColumn
31: public Integer girlId;
32:
33: public Girl girl;
34:
35: @Override
36: public String toString() {
37: return "BadBoy{" + "ajdi=" + ajdi + ", ajdiGreaterEqual="
38: + ajdiGreaterEqual + ", nejm='" + nejm + '\''
39: + ", nejmLike='" + nejmLike + '\'' + ", girlId="
40: + girlId + '}';
41: }
42: }
|