Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package nl.saxion.helpdesk;
- import nl.saxion.helpdesk.data.Exportable;
- /**
- * Created by remy on 24-1-2016.
- */
- public class User implements Exportable{
- private String userName;
- private String password;
- public User(String userName, String password) {
- this.userName = userName;
- this.password = password;
- }
- //getter
- public String getUserName() {
- return userName;
- }
- public String getPassword() {
- return password;
- }
- @Override
- public String toCSV() {
- return "User;" + userName + ";" + password;
- }
- }
Add Comment
Please, Sign In to add comment