presence/domain/Models/Presence.cs

19 lines
526 B
C#
Raw Normal View History

2024-11-01 14:11:27 +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; }
}
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; }
}
2024-11-01 14:11:27 +00:00
}