easytests.core.models.SolutionModel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
c 1
b 0
f 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A map(SolutionEntity) 0 2 1
1
package easytests.core.models;
2
3
import easytests.core.entities.SolutionEntity;
4
import lombok.*;
5
6
/**
7
 * @author SingularityA
8
 */
9
@Data
10
public class SolutionModel implements SolutionModelInterface {
11
12
    private Integer id;
13
14
    private AnswerModelInterface answer;
15
16
    private PointModelInterface point;
17
18
    //private Integer sort;
19
20
    public void map(SolutionEntity solutionEntity) {
21
        this.setId(solutionEntity.getId());
22
    }
23
}
24