class RefreshToken extends Model {

    public static Model fromMap(Map<String, Object> map) {
        return new RefreshToken(
            (String) map.get("id"),
            (byte[]) map.get("value"),
            (Long) map.get("creationTime")
        );
    }

    public  RefreshToken(@JsonProperty("id") String id,
                        @JsonProperty("value") byte[] value,
                        @JsonProperty("creationTime") Long creationTime);

}