mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +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;
|
||||
|
||||
@Override
|
||||
@ColumnAlias("test_id")
|
||||
public void setId(Integer id) {
|
||||
super.setId(id);
|
||||
@ColumnAlias("outer_id")
|
||||
public Integer getId() {
|
||||
return super.getId();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user