package io.digdag.core.repository;

import java.time.Instant;
import com.google.common.base.*;
import com.google.common.collect.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;

@Value.Immutable
@JsonSerialize(as = ImmutableStoredProject.class)
@JsonDeserialize(as = ImmutableStoredProject.class)
public abstract class StoredRevision
        extends Revision
{
    public abstract int getId();

    public abstract int getProjectId();

    public abstract Instant getCreatedAt();
}

@@ -334,39 +334,40 @@
  ImmutableStored
-Project
+Revision
 .class)%0A@JsonDes
@@ -395,23 +395,24 @@
 leStored
-Project
+Revision
 .class)%0A

fix revision json serialization