我是 JAVA OO 的初学者......我最近遇到了一个代码,我有一个问题:
我有两个类代码:
public class QaaVO extends AbstractValueObject<Timestamp>{
private static final long serialVersionUID = -9216296526667849732L;
private Timestamp id;
private String textMessage;
private String userCode;
private Long areaId;
private Long statusID;
private Timestamp adId;
public Timestamp getAdId() {
//getters and setters
}
和这个:
public class AdVO extends AbstractValueObject<Timestamp>{
private static final long serialVersionUID = 7122369724482287295L;
private Timestamp id;
private String userCode;
private String userName;
private String email;
private String emailCc;
private String telephone;
private String dealerCode;
private int score;
private String dateOpen;
private Date dateClose;
private List<String> qaaVO;
getters and setter;
}
我的问题是......为什么我需要private List<String> qaaVO
在 AdVO 课程中?