blob: 0ca990c66c346e964896cc30aaa1a51bff39543a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package org.openecomp.sdcrests.vsp.rest.mapping;
import org.openecomp.sdc.vendorsoftwareproduct.dao.type.DeploymentFlavorEntity;
import org.openecomp.sdcrests.mapping.MappingBase;
import org.openecomp.sdcrests.vendorsoftwareproducts.types.DeploymentFlavorCreationDto;
public class MapDeploymentFlavorEntityToDeploymentFlavorCreationDto extends MappingBase<DeploymentFlavorEntity,
DeploymentFlavorCreationDto> {
@Override
public void doMapping(DeploymentFlavorEntity source,
DeploymentFlavorCreationDto target) {
target.setDeploymentFlavorId(source.getId());
}
}
|