2022-03-10 18:15:10 +01:00
|
|
|
package org.gcube.application.geoportal.common.model.configuration;
|
|
|
|
|
|
|
|
import org.bson.Document;
|
|
|
|
|
2023-04-18 10:33:22 +02:00
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
|
2022-03-10 18:15:10 +01:00
|
|
|
public class Archive extends Document {
|
|
|
|
public static final String TYPE = "_type";
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
public String getType() {
|
|
|
|
return super.getString(TYPE);
|
|
|
|
}
|
|
|
|
|
|
|
|
public Archive() {
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
public Archive(String type) {
|
|
|
|
this.put(TYPE, type);
|
|
|
|
}
|
|
|
|
}
|