| | 1 | | using System; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using System.Linq; |
| | 4 | | using System.Threading.Tasks; |
| | 5 | |
|
| | 6 | | namespace MUNity.Database.Models.Session; |
| | 7 | |
|
| | 8 | | public class AttendanceState |
| | 9 | | { |
| | 10 | | public enum AttendanceTypes |
| | 11 | | { |
| | 12 | | Ok, |
| | 13 | | Late, |
| | 14 | | Replacement, |
| | 15 | | NotChecked |
| | 16 | | } |
| | 17 | |
|
| 0 | 18 | | public long AttendanceStateId { get; set; } |
| | 19 | |
|
| 0 | 20 | | public AttendanceCheck AttendanceCheck { get; set; } |
| | 21 | |
|
| 0 | 22 | | public DateTime AttendTime { get; set; } |
| | 23 | |
|
| 0 | 24 | | public AttendanceTypes Type { get; set; } = AttendanceTypes.NotChecked; |
| | 25 | |
|
| 0 | 26 | | public Conference.Participation Participant { get; set; } |
| | 27 | |
|
| 0 | 28 | | public string Comment { get; set; } |
| | 29 | | } |