slarny4/Demo1/Domain/Models/Presence.cs
2024-10-22 01:57:01 +03:00

13 lines
370 B
C#

using Demo.Domain.Models;
using System;
namespace Demo.Domain.Models
{
public class Presence
{
public required User Student { get; set; } // Добавлено required
public bool IsPresent { get; set; } = true; // По умолчанию
public DateOnly AttendanceDate { get; set; }
public int LessonId { get; set; }
}
}