📄 projectdatabean.java
字号:
package pcdiysystem.Beans;
import java.io.*;
import java.util.Vector;
/**
* <p>Title: 自助装机系统</p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: </p>
*
* @author kamiiiyu
* @version 1.0
*/
public class ProjectDataBean
implements Serializable {
private String component;
private String type;
private String quantity;
private String price;
private Vector record;
public ProjectDataBean() {
}
public String component(){
return this.component;
}
public String type(){
return this.type;
}
public String quantity(){
return this.quantity;
}
public String price(){
return this.price;
}
public Vector getRecord(){
return this.record;
}
public void setComponent(String component){
this.component=component;
}
public void setType(String type){
this.type=type;
}
public void setQuantity(String quantity){
this.quantity=quantity;
}
public void setPrice(String price){
this.price=price;
}
public void setRecord(Object element){
record=new Vector();
record.addElement(element);
}
private void readObject(ObjectInputStream ois) throws IOException,
ClassNotFoundException {
ois.defaultReadObject();
}
private void writeObject(ObjectOutputStream oos) throws IOException {
oos.defaultWriteObject();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -