object.java
来自「一个小型的医疗管理系统」· Java 代码 · 共 49 行
JAVA
49 行
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 + =
减小字号Ctrl + -
显示快捷键?