java一个实体类包含多个实体类mybatis中怎么书写
1 java实体类 TestA
public class TestA {
private Integer testAId;
private String testAName;
}
2 TestB
public class TestB {
private Integer testBId;
private String testBName;
private TestD testD;
}
3 TestC
public class TestC {
private TestA testA;
private TestB testB;
}