Git Repository Public Repository

ISBets21MAUBRY

URLs

Copy to Clipboard
 
3cf4057e97448d401b49261033b8ab566105944e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package domain;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public abstract class User {

	@Id
	private String userName;
	private String userPass;

	private String firstName;
	private String lastName;

	public User(String userName, String userPass, String firstName, String lastName) {
		this.userName = userName;
		this.userPass = userPass;

		this.firstName = firstName;
		this.lastName = lastName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {

		String st = "userName: " + this.userName + "\nuserPass: " + this.userPass + "\nfirstName: " + this.firstName
				+ "\nlastName: " + this.lastName;
		return st;

	}

}

Commits for ISBets21MAUBRYeclipse-workspace/ISBets21MAUBRY/src/main/java/domain/User.java

Diff revisions: vs.
Revision Author Commited Message
3cf405 ... porkipig Sun 16 May, 2021 19:27:29 +0000

IteraciĆ³n 3(VersiĆ³n sin idiomas)