SalesOrder.java
资源名称:JAVAshop.rar [点击查看]
上传用户:sxychgz
上传日期:2019-04-21
资源大小:4772k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- package com.bjsxt.shopping.order;
- import java.util.Date;
- import java.util.List;
- import com.bjsxt.shopping.user.User;
- public class SalesOrder {
- private int id;
- private User user;
- private String addr;
- private Date oDate;
- private int status;
- private List<SalesItem> items;
- public String getAddr() {
- return addr;
- }
- public void setAddr(String addr) {
- this.addr = addr;
- }
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public List<SalesItem> getItems() {
- return items;
- }
- public void setItems(List<SalesItem> items) {
- this.items = items;
- }
- public Date getODate() {
- return oDate;
- }
- public void setODate(Date date) {
- oDate = date;
- }
- public int getStatus() {
- return status;
- }
- public void setStatus(int status) {
- this.status = status;
- }
- public User getUser() {
- return user;
- }
- public void setUser(User user) {
- this.user = user;
- }
- public void updateStatus() {
- OrderMgr.getInstance().updateStatus(this);
- }
- }