class AnchorConverter {

    public Anchor convert(AnchorFile anchorFile) {
        Anchor anchor = new Anchor();
        anchor.setHash(anchorFile.getHash());
        anchor.setCreatedAt(anchorFile.getCreatedAt());
        return anchor;
    }

}