| Conditions | 1 |
| Total Lines | 12 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package com.osomapps.pt.admin.user; |
||
| 27 | private UserTypeResponseDTO userTypeToDto(InUserType inUserType) { |
||
| 28 | final String userTypeEnName = |
||
| 29 | dictionaryService.getEnValue( |
||
| 30 | DictionaryName.user_type, inUserType.getD_user_type(), ""); |
||
| 31 | final String userTypeNoName = |
||
| 32 | dictionaryService.getNoValue( |
||
| 33 | DictionaryName.user_type, inUserType.getD_user_type(), ""); |
||
| 34 | return UserTypeResponseDTO.builder() |
||
| 35 | .id(inUserType.getId()) |
||
| 36 | .nameEn(userTypeEnName) |
||
| 37 | .nameNo(userTypeNoName) |
||
| 38 | .build(); |
||
| 39 | } |
||
| 41 |