文章列表
joined-subclass中的一个疑问?
假设有父类Card ,子类 Card_1,Card_2,Card_3
Code:为
[/list]
public class Card {
private Long id;
private String card_name;
//get/set方法省略
}
public class Card_1 extends Card {
private String card_1_filed;//get/set方法省略
}
public class Card_2 extends Card {
private String card_2_filed ...