mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +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 + '\'' +
|
||
|
'}';
|
||
|
}
|
||
|
}
|
||
|
```
|