class ThumbnailPhotoMapper extends BaseAttributeMapper<Map.Entry<String, byte[]>> {

    @Override
    public Map.Entry<String, byte[]> mapFromAttributes(Attributes attributes) throws NamingException {
        var id = getSingleAttributeValue(attributes, idAttribute, String.class);
        var thumbnailPhoto = getSingleAttributeValue(attributes, "thumbnailPhoto", byte[].class);

        return Map.entry(id, thumbnailPhoto);
    }

    public  ThumbnailPhotoMapper(String idAttribute);

}