| | |
| | | public PlatformCategoryAdminView toPlatformCategoryResponse(PlatformCategory category) { |
| | | PlatformCategoryAdminView categoryView = new PlatformCategoryAdminView(); |
| | | BeanUtil.copyProperties(category, categoryView); |
| | | categoryView.setIconUrl(""); |
| | | return categoryView; |
| | | } |
| | | |
| | | public PlatformCategoryCustomerView toCustomerPlatformCategoryResponse(PlatformCategory category) { |
| | | PlatformCategoryCustomerView categoryView = new PlatformCategoryCustomerView(); |
| | | BeanUtil.copyProperties(category, categoryView); |
| | | categoryView.setIconUrl(""); |
| | | return categoryView; |
| | | } |
| | | } |