package com.github.fmottard.spanish.dto;

import java.time.LocalDateTime;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class GenericAnswer<T> {

	private String answer;
	private LocalDateTime answerTime;
	private T question;
	private int score;
	
	public GenericAnswer(T question){
		this.question = question;
		answerTime = LocalDateTime.now();
	}	
}
