Proyectos de Subversion Android Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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_user_extended")
11
public class UserExtended {
12
 
13
    @PrimaryKey(autoGenerate = false)
14
    @ColumnInfo(name = "uuid")
15
    @NotNull
16
    private String uuid;
17
 
18
    @ColumnInfo(name = "company_uuid")
19
    private String companyUuid;
20
 
21
    @ColumnInfo(name = "label")
22
    private String label;
23
 
24
    @ColumnInfo(name = "value")
25
    private String value;
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 getCompanyUuid() {
36
        return companyUuid;
37
    }
38
 
39
    public void setCompanyUuid(String companyUuid) {
40
        this.companyUuid = companyUuid;
41
    }
42
 
43
    public String getLabel() {
44
        return label;
45
    }
46
 
47
    public void setLabel(String label) {
48
        this.label = label;
49
    }
50
 
51
    public String getValue() {
52
        return value;
53
    }
54
 
55
    public void setValue(String value) {
56
        this.value = value;
57
    }
58
 
59
    public UserExtended(String uuid, String companyUuid, String label, String value) {
60
 
61
        this.uuid = uuid;
62
        this.companyUuid = companyUuid;
63
        this.label = label;
64
        this.value = value;
65
 
66
    }
67
 
68
    @Ignore
69
    public UserExtended( ) {
70
        this.uuid = "";
71
        this.companyUuid = "";
72
        this.label = "";
73
        this.value = "";
74
    }
75
 
76
 
77
}