mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
20 lines
274 B
Markdown
20 lines
274 B
Markdown
|
```
|
||
|
public class User {
|
||
|
private String name;
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public void setName(String name) {
|
||
|
this.name = name;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "User{" +
|
||
|
"name='" + name + '\'' +
|
||
|
'}';
|
||
|
}
|
||
|
}
|
||
|
```
|