qq_33242378
qq_33242378
2016-07-10 13:41

请问这里的set是从哪里给它set,request中吗,谢谢了!

public class Order {
private String oid;
private Date ordertime;
private double total;
private int state;
private User owner;
private String address;

private List orderItemList;
public List getOrderItemList() {
return orderItemList;
}
public void setOrderItemList(List orderItemList) {
this.orderItemList = orderItemList;
}
public String getOid() {
return oid;
}
public void setOid(String oid) {
this.oid = oid;
}
public Date getOrdertime() {
return ordertime;
}
public void setOrdertime(Date ordertime) {
this.ordertime = ordertime;
}
public double getTotal() {
return total;
}
public void setTotal(double total) {
this.total = total;
}
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
public User getOwner() {
return owner;
}
public void setOwner(User owner) {
this.owner = owner;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
} 请问大神,这是Domain中的set,get方法,请问这里的set是从哪里给它set,request中吗

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐

换一换