member.java

来自「JSP的网上商城的代码。只是小部分。希望大家能够多看看。一起学习。」· Java 代码 · 共 81 行

JAVA
81
字号
package com.eshop.dto;

public class Member {
	private String userName = "";  //用户名
	private String trueName = "";  //真实姓名
	private String passwd = "";    //密码   
	private String address = "";   //地址  
	private String postcode = "";  //邮编  
	private String tel = "";       //联系电话  
	private String email = "";     //Email
	private double money = 0;      //帐户余额    (无需插入)
	private String freeze = "";    //是否冰冻帐户(无需插入)
	
	
	public String getUserName (){		
		return this.userName  ;
	}
	public void setUserName (String userName ){
		
		this.userName  = userName ;
	}
	public String getTrueName(){		
		return this.trueName ;
	}
	public void setTrueName(String trueName){
		
		this.trueName = trueName;
	}
	public String getPasswd(){		
		return this.passwd ;
	}
	public void setPasswd(String passwd){
		
		this.passwd = passwd;
	}
	public String getAddress (){		
		return this.address ;
	}
	public void setAddress (String address ){
		
		this.address  = address ;
	}
	public String getPostcode(){		
		return this.postcode;
	}
	public void setPostcode(String postcode){
		
		this.postcode = postcode;
	}
	public String getTel(){		
		return this.tel ;
	}
	public void setTel(String tel){
		
		this.tel = tel;
	}
	public String getEmail(){		
		return this.email ;
	}
	public void setEmail(String email){
		
		this.email = email;
	}
	public double getMoney(){		
		return this.money ;
	}
	public void setMoney(double money){
		
		this.money = money;
	}
	public String getFreeze(){		
		return this.freeze ;
	}
	public void setFreeze(String freeze){
		
		this.freeze = freeze;
	}
	

}

⌨️ 快捷键说明

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