| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package easytests.core.entities; |
||
| 9 | @Data |
||
| 10 | public class IssueStandardTopicPriorityEntity { |
||
| 11 | |||
| 12 | private Integer id; |
||
| 13 | |||
| 14 | private Integer topicId; |
||
| 15 | |||
| 16 | private Boolean isPreferable; |
||
| 17 | |||
| 18 | private Integer issueStandardId; |
||
| 19 | |||
| 20 | public void map(IssueStandardTopicPriorityModelInterface topicPriorityModel) { |
||
| 21 | this.setId(topicPriorityModel.getId()); |
||
| 22 | this.setTopicId(topicPriorityModel.getTopic().getId()); |
||
| 23 | this.setIsPreferable(topicPriorityModel.getIsPreferable()); |
||
| 24 | this.setIssueStandardId(topicPriorityModel.getIssueStandard().getId()); |
||
| 25 | } |
||
| 27 |