de.adorsys.multibanking.mongo.entity.AnonymizedBookingMongoEntity Maven / Gradle / Ivy
package de.adorsys.multibanking.mongo.entity;
import lombok.Data;
import org.springframework.data.mongodb.core.index.CompoundIndex;
import org.springframework.data.mongodb.core.index.CompoundIndexes;
import org.springframework.data.mongodb.core.mapping.Document;
import java.math.BigDecimal;
@Data
@Document
@CompoundIndexes({
@CompoundIndex(name = "creditor_unique_index", def = "{'creditorId': 1}", unique = true)
})
public class AnonymizedBookingMongoEntity {
private String creditorId;
private BigDecimal amount;
private String purpose;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy