order.java
来自「一个小型的购物商店」· Java 代码 · 共 68 行
JAVA
68 行
/* * Order.java * * Created on 2006年9月14日, 下午1:14 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package com.shopping.model;import java.util.*;/** * * @author 曹昊 */public class Order { private int id; private Set items; private User user; private int status; private double cost; public Order() { } public int getId() { return this.id; } public void setId(int id) { this.id = id; } public Set getItems() { return items; } public void setItems(Set items) { this.items = items; } public User getUser() { return user; } public void setUser(User user) { this.user = user; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public double getCost() { return cost; } public void setCost(double cost) { this.cost = cost; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?