package test05.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Score {
    @NonNull
    private Integer studentId = -1;
    @NonNull
    private Integer courseId = -1;
    @NonNull
    private Float score = -1.0F;
    public Score(int stu_id, int course_id){
        this.studentId = stu_id;
        this.courseId = course_id;
    }
}
