io.hyperfoil.tools.horreum.mapper.AllowedSiteMapper Maven / Gradle / Ivy
The newest version!
package io.hyperfoil.tools.horreum.mapper;
import io.hyperfoil.tools.horreum.api.data.AllowedSite;
import io.hyperfoil.tools.horreum.entity.data.AllowedSiteDAO;
public class AllowedSiteMapper {
public static AllowedSite from(AllowedSiteDAO site) {
AllowedSite dto = new AllowedSite();
dto.id = site.id;
dto.prefix = site.prefix;
return dto;
}
}