SalesOrder.java
资源名称:Shopping.rar [点击查看]
上传用户:lsj999sz
上传日期:2022-06-15
资源大小:4717k
文件大小:1k
源码类别:
ICQ/即时通讯
开发平台:
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);
- }
- }