mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
test: 测试别名注解使用。
This commit is contained in:
parent
92140ad178
commit
abba6697e3
@ -31,9 +31,9 @@ public class Outer extends IdEntity<Integer> {
|
|||||||
private Inner inner;
|
private Inner inner;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ColumnAlias("test_id")
|
@ColumnAlias("outer_id")
|
||||||
public void setId(Integer id) {
|
public Integer getId() {
|
||||||
super.setId(id);
|
return super.getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user