Spaces:
Sleeping
Sleeping
File size: 2,186 Bytes
03549e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
package com.cs102.attendance.dto;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.UUID;
public class SessionDto {
private UUID id;
private String name;
private LocalDate date;
private LocalTime startTime;
private LocalTime endTime;
private long presentCount;
private long absentCount;
private long lateCount;
private long totalStudents;
// Constructors
public SessionDto() {}
public SessionDto(UUID id, String name, LocalDate date, LocalTime startTime, LocalTime endTime) {
this.id = id;
this.name = name;
this.date = date;
this.startTime = startTime;
this.endTime = endTime;
}
// Getters and Setters
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public LocalTime getStartTime() {
return startTime;
}
public void setStartTime(LocalTime startTime) {
this.startTime = startTime;
}
public LocalTime getEndTime() {
return endTime;
}
public void setEndTime(LocalTime endTime) {
this.endTime = endTime;
}
public long getPresentCount() {
return presentCount;
}
public void setPresentCount(long presentCount) {
this.presentCount = presentCount;
}
public long getAbsentCount() {
return absentCount;
}
public void setAbsentCount(long absentCount) {
this.absentCount = absentCount;
}
public long getLateCount() {
return lateCount;
}
public void setLateCount(long lateCount) {
this.lateCount = lateCount;
}
public long getTotalStudents() {
return totalStudents;
}
public void setTotalStudents(long totalStudents) {
this.totalStudents = totalStudents;
}
} |