[$nbsp][$nbsp]//================
[$nbsp][$nbsp]//== data members
[$nbsp][$nbsp]//================
[$nbsp][$nbsp]private Long id;
[$nbsp][$nbsp]private String fileName;
[$nbsp][$nbsp]private String title;
[$nbsp][$nbsp]private String description;
[$nbsp][$nbsp]private Set albums = new TreeSet(); // 有順序,所以用 TreeSet
[$nbsp][$nbsp]//================
[$nbsp][$nbsp]//== data members
[$nbsp][$nbsp]//================
[$nbsp][$nbsp]private Long id;
[$nbsp][$nbsp]private String title;
[$nbsp][$nbsp]private String description;
[$nbsp][$nbsp]private Set photos = new TreeSet(); // 有順序,所以用 TreeSet
[$nbsp][$nbsp]private Album parent;
[$nbsp][$nbsp]private Set children = new TreeSet(); // 有順序,所以用 TreeSet