requistition.java

来自「一个小型的医疗管理系统」· Java 代码 · 共 92 行

JAVA
92
字号
package bean;

public class Requistition {
	private int requistnum;
	private int staffid;
	private int wardid;
	private String objectid;
	private int quantity;
	private String date;
	private String name;
	private String description;
	private String dosage;
	private String method;
	private String cost;
	 
	public String getName(){
		return this.name;
	}
	
	public String getDescription(){
		return this.description;
	}
	
	public String getDosage(){
		return this.dosage ;
	}
	public String getMethod(){
		return this.method ;
	}
	public String getCost(){
		return this.cost ;
	}

	
	public Requistition(int requistnum, int staffid, int wardid, 
					String objectid, int quantity, String date){
		this.requistnum = requistnum;
		this.staffid = staffid;
		this.wardid = wardid;
		this.objectid = objectid;
		this.quantity = quantity;
		this.date = date;
	}
	
	public Requistition(String objectid, String name,  String description,
					String dosage, String method,String cost, int quantity){ 
		this.objectid = objectid;
		this.name = name;
		this.description = description;
		this.dosage = dosage;
		this.method = method;
		this.cost = cost;
		this.quantity = quantity;
}
	
	public Requistition(String objectid, String name,  String description,
			 String cost, int quantity){ 
		this.objectid = objectid;
		this.name = name;
		this.description = description;
		this.method = method;
		this.cost = cost;
		this.quantity = quantity;
}
	

	public int getRequistnum(){
		return this.requistnum ;
	}
	
	public int getStaffid(){
		return this.staffid ;
	}
	
	public int getWardid(){
		return this.wardid ;
	}
	
	public String getObjectid(){
		return this.objectid ;
	}
	
	public int getQuantity(){
		return this.quantity ;
	}
	
	public String getDate(){
		return this.date ;
	}
	
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?