-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
50 lines (39 loc) · 823 Bytes
/
User.java
File metadata and controls
50 lines (39 loc) · 823 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
39
40
41
42
43
44
45
46
47
48
49
50
package com.dto;
import lombok.Builder;
import java.math.BigDecimal;
/**
* @Auther: Administrator
* @Date: 2019\9\30 0030 23:19
* @Description:
*/
@Builder
public class User {
private String name;
private int age;
private BigDecimal score;
public User(String name, int age, BigDecimal score) {
this.name = name;
this.age = age;
this.score = score;
}
public User() {
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public BigDecimal getScore() {
return score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
}