Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 19 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
11 gabriel 1
package com.cesams.twogetskills.entity;
2
 
3
import androidx.room.ColumnInfo;
4
import androidx.room.Entity;
5
import androidx.room.Ignore;
6
import androidx.room.PrimaryKey;
7
 
8
import org.jetbrains.annotations.NotNull;
9
 
10
@Entity(tableName = "tb_notification")
11
public class NotificationCenter {
12
 
13
    @PrimaryKey
14
    @ColumnInfo(name = "uuid")
15
    @NotNull
16
    private String uuid;
17
 
18
    @ColumnInfo(name = "title")
19
    private String title;
20
 
21
    @ColumnInfo(name = "date")
22
    private String date;
23
 
24
    @ColumnInfo(name = "description")
25
    private String description;
26
 
27
    public String getUuid() {
28
        return uuid;
29
    }
30
 
31
    public void setUuid(String uuid) {
32
        this.uuid = uuid;
33
    }
34
 
35
    public String getTitle() {
36
        return title;
37
    }
38
 
39
    public void setTitle(String title) {
40
        this.title = title;
41
    }
42
 
43
    public String getDate() {
44
        return date;
45
    }
46
 
47
    public void setDate(String date) {
48
        this.date = date;
49
    }
50
 
51
    public String getDescription() {
52
        return description;
53
    }
54
 
55
    public void setDescription(String description) {
56
        this.description = description;
57
    }
58
 
59
 
60
    public NotificationCenter(String uuid, String title, String date, String description) {
61
        this.uuid = uuid;
62
        this.title = title;
63
        this.date = date;
64
        this.description = description;
65
 
66
    }
67
 
68
    @Ignore
69
    public NotificationCenter() {
70
        this.uuid = "";
71
        this.title = "";
72
        this.date = "";
73
        this.description = "";
74
 
75
    }
76
}