Kenmegne
7 days ago 23a46b4be35277e06ec89f48730eeb694e686be8
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
51
52
53
54
package com.megatim.fdxconsultation.model.referentiel.dtos;
 
import com.megatim.fdxcommons.model.referentiel.Participant;
import java.io.Serializable;
import java.time.LocalDateTime;
 
/**
 *
 * @author Gabuntu
 */
public class ParticipantSlimResponse implements Serializable {
 
    private final Participant participant;
 
    public ParticipantSlimResponse(Participant participant) {
        this.participant = participant;
    }
 
    public String getCode() {
        return participant.getCode();
    }
 
    public String getLibelle() {
        return participant.getLibelle();
    }
 
    public String getDescription() {
        return participant.getDescription();
    }
 
    public ReferentielSlimResponse getReferentiel() {
        return new ReferentielSlimResponse(participant.getReferentiel());
    }
    
    public PaysSlimResponse getPays() {
        return new PaysSlimResponse(participant.getPays());
    }
 
    public String getCreateBy() {
        return participant.getCreateBy();
    }
 
    public String getLastModifiedBy() {
        return participant.getLastModifiedBy();
    }
 
    public LocalDateTime getDateCreation() {
        return participant.getDateCreation();
    }
 
    public LocalDateTime getDateMiseAjour() {
        return participant.getDateMiseAjour();
    }
}