www.pudn.com > workspace.rar > StoreUserTO.java


package dao; 
 
 
 
public class StoreUserTO { 
	 
	private String userName; 
	private String password;	 
	private String role="store" ; 
	private String storeName; 
	private String storeType;			 
	private String address;			 
	private String realName; 
	private String position; 
	private String sex="m" ;	 
	private String email;		 
	private String phone;	 
	private String describe; 
	private String fax;		 
	private String tempId;	 
	private String storeId;	 
	 
	public String getStoreId() { 
		return storeId; 
	} 
 
	public void setStoreId(String storeId) { 
		this.storeId = storeId; 
	} 
 
	public String getAddress() { 
		return address; 
	} 
 
	public void setAddress(String address) { 
		this.address = address; 
	} 
 
	 
	public String getDescribe() { 
		return describe; 
	} 
 
	public void setDescribe(String describe) { 
		this.describe = describe; 
	} 
 
	public String getEmail() { 
		return email; 
	} 
 
	public void setEmail(String email) { 
		this.email = email; 
	} 
 
	public String getFax() { 
		return fax; 
	} 
 
	public void setFax(String fax) { 
		this.fax = fax; 
	}		 
 
	public String getPassword() { 
		return password; 
	} 
 
	public void setPassword(String password) { 
		this.password = password; 
	} 
 
	public String getPhone() { 
		return phone; 
	} 
 
	public void setPhone(String phone) { 
		this.phone = phone; 
	} 
 
	public String getPosition() { 
		return position; 
	} 
 
	public void setPosition(String position) { 
		this.position = position; 
	} 
 
	public String getRealName() { 
		return realName; 
	} 
 
	public void setRealName(String realname) { 
		this.realName = realname; 
	} 
 
	public String getRole() { 
		return role; 
	} 
 
	public void setRole(String role) { 
		this.role = role; 
	} 
 
	public String getSex() { 
		return sex; 
	} 
 
	public void setSex(String sex) { 
		this.sex = sex; 
	} 
 
	public String getTempId() { 
		return tempId; 
	} 
 
	public void setTempId(String tempid) { 
		this.tempId = tempid; 
	} 
 
	public String getStoreName() { 
		return storeName; 
	} 
 
	public void setStoreName(String storename) { 
		this.storeName = storename; 
	} 
 
	public String getStoreType() { 
		return storeType; 
	} 
 
	public void setStoreType(String storetype) { 
		this.storeType = storetype; 
	} 
 
	public String getUserName() { 
		return userName; 
	} 
 
	public void setUserName(String username) { 
		this.userName = username; 
	} 
 
	public StoreUserTO(){} 
	 
	public StoreUserTO(String username, String password, String role, String storename, String storetype, String address, String realname, String position, String sex, String email, String phone, String describe, String fax, String shopid) { 
		super(); 
		// TODO Auto-generated constructor stub 
		this.userName = username; 
		this.password = password; 
		this.role = role; 
		this.storeName = storename; 
		this.storeType = storetype; 
		this.address = address; 
		this.realName = realname; 
		this.position = position; 
		this.sex = sex; 
		this.email = email; 
		this.phone = phone; 
		this.describe = describe; 
		this.fax = fax; 
		this.tempId = shopid; 
	}	 
	 
	public String toString() { 
		// TODO Auto-generated method stub 
		String temp = "username:"+userName+"\n"						 
					+ "password:"+password+"\n" 
					+ "role:"+role+"\n" 
					+ "storename:"+storeName+"\n" 
					+ "storetype:"+storeType+"\n"	 
					+ "address:"+address+"\n" 
					+ "realname:"+realName+"\n" 
					+ "position:"+position+"\n" 
					+ "sex:"+sex+"\n" 
					+ "email:"+email+"\n"					 
					+ "phone:"+phone+"\n" 
					+ "describe:"+describe+"\n" 
					+ "fax:"+fax+"\n"	 
					+ "tempid:"+tempId+"\n" 
					+ "storeid:"+storeId+"\n" 
					;	 
		return temp; 
	} 
}