📄 object.java
字号:
package bean;
public class Object {
private String objectid;
private String name;
private String description;
private int quantity;
private float cost_per_unit;
private int reorderlever;
public Object( String name, String description, int quantity,
float cost_per_unit, int reorderlever){
this.objectid = objectid;
this.name = name;
this.description = description;
this.quantity =quantity;
this.cost_per_unit = cost_per_unit;
this.reorderlever = reorderlever;
}
public void setObjectId(String objectid){
this.objectid = objectid;
}
public String getObjectid(){
return this.objectid ;
}
public String getName(){
return this.name ;
}
public String getDescription(){
return this.description ;
}
public int getQuantity(){
return this.quantity ;
}
public float getCost_per_unit(){
return this.cost_per_unit ;
}
public int getReorderlever(){
return this.reorderlever ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -