feat:学生实体类

backend
poppoppuppylove 2 months ago
commit 7628f7cea0

@ -0,0 +1,20 @@
package com.example.attendance.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
// TODO更新数据库表结构
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Student {
private Long id;
private String name;
private int initialPoints = 0;
private int currentPoints = 0;
private int correctAnswerStreak; // 连续答对次数
private boolean skipNextCall; // 是否跳过下次点名
private boolean borrowingPoints; // 是否借用积分
private boolean increasedCallChance; // 点名概率是否增加
}
Loading…
Cancel
Save