package com.sckw.example.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import java.util.Date;

@Data
public class Student {

    @Id
    private Long studentId;

    private String studentName;

    private Integer studentAge;

    private Double studentScore;

    private Date studentBirthday;

    public Student(Long studentId, String studentName, Integer studentAge, Double studentScore, Date studentBirthday) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.studentAge = studentAge;
        this.studentScore = studentScore;
        this.studentBirthday = studentBirthday;
    }

    public Student() {
    }


}
