* metadata-mapping * Update README.md * add class diagram * update README.md * fix identation * Update pom.xml * fix indentation * fix ci * remove e.printstack * fix ci * update class diagram * fix ci * fix ci * fix sc * fix smells * Update DatabaseUtil.java * fix coverage * Update DatabaseUtil.java * Update DatabaseUtil.java * Update DatabaseUtil.java * Update metadata-mapping/README.md Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com> * fix review * fix review * Update App.java * Update App.java * fix review Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
29 lines
487 B
Java
29 lines
487 B
Java
package com.iluwatar.metamapping.model;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
/**
|
|
* User Entity.
|
|
*/
|
|
@Setter
|
|
@Getter
|
|
@ToString
|
|
public class User {
|
|
private Integer id;
|
|
private String username;
|
|
private String password;
|
|
|
|
public User() {}
|
|
|
|
/**
|
|
* Get a user.
|
|
* @param username user name
|
|
* @param password user password
|
|
*/
|
|
public User(String username, String password) {
|
|
this.username = username;
|
|
this.password = password;
|
|
}
|
|
} |