nutz bean的映射关系,能否通过get方法获取到映射对象
4 回复
@wendal
@Many(target = Building.class, field = "community")
private List buildings;
就是直接通过
public List<Building> getBuildings() {
return buildings;
}
来获取buildings
@wendal 有了
添加回复
请先登陆