summaryrefslogtreecommitdiff
path: root/src/main/java/files/entity/User.java
blob: 31eca82c5faf33a840022fa0ece067464d465855 (plain)
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 files.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class User {
    @Id
    private Long id;
    private Boolean isBot;
    private String fullName;
    private String date;

    public User() {}

    public User(long id, boolean isBot, String fullName, String date) {
        this.id = id;
        this.isBot = isBot;
        this.fullName = fullName;
        this.date = date;
    }

    public Long getId() {
        return id;
    }

    public Boolean getIsBot() {
        return isBot;
    }

    public String getFullName() {
        return fullName;
    }

    public String getDate() {
        return date;
    }
}