presence/domain/Models/Presence.cs
2024-11-11 15:00:01 +03:00

24 lines
613 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 PresenceGetRequest
{
public int groupID { get; set; }
public DateOnly startDate { get; set; }
public DateOnly endDate { get; set; }
}
public class PresenceResponse
{
public string GroupName { get; set; }
public List<UserPresenceInfo> Users { get; set; }
}
}