是否有任何库或更好的Springframework实用程序,允许智能双向映射A< - > B没有手动编写映射器?
class A {
private String xProp1;
private String xProp2;
private String yProp3;
private String yProp4;
}
class B {
private X x;
private Y y;
static class X {
private String prop1;
private String prop2;
}
static class Y {
private String prop3;
private String prop4;
}
}