presence/domain/Models/Presence.cs
2024-11-08 20:42:34 +03:00

19 lines
530 B
C#

namespace Demo.Domain.Models
{
public class Presence
{
public required User User{get; set; }
public bool IsAttedance { get; set; } = true;
public required DateOnly Date { get; set; }
public required int LessonNumber { get; set; }
}
public class PresencePost
{
public required int firstLesson {get; set; }
public required int lastLesson {get; set; }
public required int groupID {get; set; }
public required DateOnly date {get; set; }
}
}