我不知道如何映射?!在这里,我的课程..如果没有手动填写地图,它甚至可能吗?
public class Configuration {
@Id
private long id;
??
private Map<Room, List<Label>> roomLabelMapping;
}
public class Label {
@Id
private long labelId;
??
}
public class Room {
@Id
private String roomMail;
@ManyToOne
private Configuration configuration;
}