my-csc-config-file.git 3 gadi atpakaļ
vecāks
revīzija
722b369d20
1 mainītis faili ar 43 papildinājumiem un 0 dzēšanām
  1. 43 0
      src/main/java/com/unissoft/dto/UserVO.java

+ 43 - 0
src/main/java/com/unissoft/dto/UserVO.java

@@ -0,0 +1,43 @@
1
+package com.unissoft.dto;
2
+
3
+import java.util.Date;
4
+
5
+/**
6
+ * 文件描述
7
+ *
8
+ * @author tongxi.xia
9
+ * @date 2021年03月09日 10:42
10
+ */
11
+public class UserVO {
12
+    private int id;
13
+    private Date time;
14
+
15
+    public UserVO(int id, Date time) {
16
+        this.id = id;
17
+        this.time = time;
18
+    }
19
+
20
+    public int getId() {
21
+        return id;
22
+    }
23
+
24
+    public void setId(int id) {
25
+        this.id = id;
26
+    }
27
+
28
+    public Date getTime() {
29
+        return time;
30
+    }
31
+
32
+    public void setTime(Date time) {
33
+        this.time = time;
34
+    }
35
+
36
+    @Override
37
+    public String toString() {
38
+        return "UserVO{" +
39
+                "id=" + id +
40
+                ", time=" + time +
41
+                '}';
42
+    }
43
+}