1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package examples.generated.always.mybatis;
17
18 import java.sql.JDBCType;
19
20 import org.mybatis.dynamic.sql.SqlColumn;
21 import org.mybatis.dynamic.sql.SqlTable;
22
23 public final class PersonDynamicSqlSupport {
24 public static final Person person = new Person();
25 public static final SqlColumn<Integer> id = person.id;
26 public static final SqlColumn<String> firstName = person.firstName;
27 public static final SqlColumn<String> lastName = person.lastName;
28
29 public static final class Person extends SqlTable {
30 public final SqlColumn<Integer> id = column("id", JDBCType.INTEGER);
31 public final SqlColumn<String> firstName = column("first_name", JDBCType.VARCHAR);
32 public final SqlColumn<String> lastName = column("last_name", JDBCType.VARCHAR);
33
34 public Person() {
35 super("Person");
36 }
37 }
38 }