presence/domain/Models/Presence.cs

24 lines
613 B
C#
Raw Permalink Normal View History

2024-11-01 19:07:13 +00:00
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; }
}
2024-11-11 07:01:04 +00:00
public class PresenceGetRequest
{
public int groupID { get; set; }
public DateOnly startDate { get; set; }
public DateOnly endDate { get; set; }
}
2024-11-11 12:00:01 +00:00
public class PresenceResponse
2024-11-11 07:01:04 +00:00
{
public string GroupName { get; set; }
public List<UserPresenceInfo> Users { get; set; }
}
2024-11-01 19:07:13 +00:00
}