-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUser.java
More file actions
38 lines (34 loc) · 762 Bytes
/
Copy pathUser.java
File metadata and controls
38 lines (34 loc) · 762 Bytes
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
package com.linkcircle.project;
import lombok.Getter;
import lombok.Setter;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* @author:老薛
* @version:1.1
* @date:2023/8/15
* @description:
* @vx:laoxue004
*/
@Getter
@Setter
public class User {
@SeriesOtherNames(names="u_name")
private String name;
private Integer age;
@SeriesOtherNames(names="favs_ls")
private List<String> favs;
private Car car;
public User() {
}
@Override
public String toString() {
return "User{" +
"name='" + name + '\'' +
", age=" + age +
", favs=" + Arrays.toString(favs.toArray()) +
", car=" + car +
'}';
}
}