package studycave.studycaverestservice.model.test.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;

@Entity
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class TestResult {
    @Id
    @Column(name="id")
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Long idResult;

    @Column(name="id_owner")
    private Long idOwner;

    @Column(name="id_test")
    private Long idTest;

    private float userScore;

    private int maxScore;

}
