MaturityModel.java
package com.capitalone.dashboard.model;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "maturity_model")
public class MaturityModel {
@Indexed
private String profile;
private String rules;
public String getProfile() {
return profile;
}
public void setProfile(String profile) {
this.profile = profile;
}
public String getRules() {
return rules;
}
public void setRules(String rules) {
this.rules = rules;
}
}