日期:2014-05-18 浏览次数:20656 次
public class TradeRecord implements java.io.Serializable {
private int id;
private Integer tradeType;
public void setId(int id) {
this.id = id;
}
public int getId() {
return id;
}
public Integer getTradeType() {
return this.tradeType;
}
public void setTradeType(Integer tradeType) {
this.tradeType = tradeType;
}
}
System.out.println(record==null);
int type=record.getTradeType();