/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dao;
import java.util.ArrayList;
import java.util.List;
import model.User;
/**
*
* @author GuillermoLuis
*/
public class DaoUser {
public List<User> FindAllUser(){
List<User> users = new ArrayList<User>();
User u = new User();
u.setUser("admin");
u.setPass("admin");
u.setVivienda("Departamento");
u.setNombre("Guillermo Barraza");
u.setTitulo("Sr.");
users.add(u);
User o = new User();
o.setUser("diego");
o.setPass("urrutia");
o.setVivienda("Casa");
o.setNombre("Diego Urrutia");
o.setTitulo("Sr.");
users.add(o);
return users;
}
}