package reciter.engine.analysis.evidence;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument;

import lombok.Data;
import lombok.ToString;
import reciter.model.identity.AuthorName;

@Data
@ToString
@DynamoDBDocument
public class AuthorNameEvidence {
    private AuthorName institutionalAuthorName;
    private AuthorName articleAuthorName;
    private String nameMatchFirstType;
    private double nameMatchFirstScore;
    private String nameMatchMiddleType;
    private double nameMatchMiddleScore;
    private String nameMatchLastType;
    private double nameMatchLastScore;
    private String nameMatchModifier;
    private double nameMatchModifierScore;
}

package reciter.engine.analysis.evidence;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument;

import lombok.Data;
import lombok.ToString;
import reciter.model.identity.AuthorName;

@Data
@ToString
@DynamoDBDocument
public class AuthorNameEvidence {
    private AuthorName institutionalAuthorName;
    private AuthorName articleAuthorName;
    private double totalScore;
    private String nameMatchFirstType;
    private double nameMatchFirstScore;
    private String nameMatchMiddleType;
    private double nameMatchMiddleScore;
    private String nameMatchLastType;
    private double nameMatchLastScore;
    private String nameMatchModifier;
    private double nameMatchModifierScore;
}

Add totalScore property