| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package easytests.core.entities; |
||
| 9 | @Data |
||
| 10 | public class PointEntity { |
||
| 11 | |||
| 12 | private Integer id; |
||
| 13 | |||
| 14 | private Integer questionId; |
||
| 15 | |||
| 16 | private Integer quizId; |
||
| 17 | |||
| 18 | public void map(PointModelInterface pointModel) { |
||
| 19 | |||
| 20 | this.setId(pointModel.getId()); |
||
| 21 | this.setQuestionId(pointModel.getQuestion().getId()); |
||
| 22 | this.setQuizId(pointModel.getQuiz().getId()); |
||
| 23 | |||
| 27 |