package com.neucrack.DAO;

import com.neucrack.entity.User;

public class DAOHelper {
	
	/**
	 * 
	 * @param user Ҫҵû
	 * @return 1:ɹ  0ûиû   <0:
	 */
	public int QueryUser(User user) {
		return -1;
	}
	
	/**
	 * ֤ûûǷȷ
	 * @param user Ҫҵû
	 * @return 1:ɹ  0ûиû   <0:
	 */
	public int VerifyUser(User user) {
		return -1;
	}
	
	public int AddUser(User user){
		return -1;
	}
	
	public int DropUser(User user){
		return -1;
	}
	
	public int EditUser(User oldOne,User newOne){
		return -1;
	}
	public String QueryOwnerOfDevice(String deviceName){
		String userName = "";
		return userName;
	}
	
}

add DAO (interface)