inpatient.java

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

JAVA
72
字号
package bean;

public class InPatient extends Patient{
	private String waitDate;
	private String wardId;
	private int stayIn;
	private String in_date;
	private String out_date;
	private String true_out_patient;
	private String condition;
	public InPatient(String f_name,String l_name,String address,String tele,
			String birthday,String register_date,String clinicNum,String marital_status,String waitDate
			,String wardId,int stayIn,String in_date,String out_date,String true_out_patient,String condition){
		super(f_name,l_name,address,tele,
				birthday,register_date,clinicNum,marital_status);
	this.waitDate = waitDate;
	this.wardId = wardId;
	this.stayIn = stayIn;
	this.in_date = in_date;
	this.out_date = out_date;
	this.true_out_patient = true_out_patient;
	this.condition = condition;
		
	}
	public void setCondition(String condition){
		this.condition = condition;
	}
	public void setTure_out_patient(String true_out){
		this.true_out_patient = true_out;
	}
	public void setOut_date(String out_date){
		this.out_date = out_date;
	}
	public void setIn_date(String in_date){
		this.in_date = in_date;
	}
	public void setWaitDate(String waitDate){
		this.waitDate = waitDate;
	}
	public void setStayIn(int stayIn){
		this.stayIn = stayIn;
	}
	
	public String getWaitDate(){
		return this.waitDate;
	}
	
	public String getWardId(){
		return this.wardId;
	}
	
	public int getStayIn(){
		return this.stayIn;
	}
	
	public String getInDate(){
		return this.in_date;
	}
	
	public String getOutDate(){
		return this.out_date;
	}
	
	public String getTrue_out_patient(){
		return this.true_out_patient;
	}
	
	public String getCondition(){
		return this.condition;
	}
}

⌨️ 快捷键说明

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