package com.github.microservice.components.data.mongo.mongo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document
@AllArgsConstructor
@NoArgsConstructor
public class DBHelperEntity extends SuperEntity {

    @Indexed(unique = true)
    private String key;

    private Object value;

}
