blob: 539353cfd76ecb61f50092daeb5b52f4b08f3a89 (
plain)
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
|
package de.fhswf.in.inf.fit.aufgabe5.model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the account database table.
*
*/
@Entity
@Table(name="account")
@NamedQuery(name="Account.findAll", query="SELECT a FROM Account a")
public class Account implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Column(name="Username")
private String username;
@Column(name="Password")
private String password;
@Column(name="Salt")
private String salt;
public Account() {
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getSalt() {
return this.salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
}
|