NewPresence/data/RemoteData/RemoteDatabase/DAO/PresenceDAO.cs
2025-04-29 15:33:18 +03:00

17 lines
525 B
C#

using System;
using System.Collections.Generic;
namespace data.RemoteData.RemoteDatabase.DAO;
public class PresenceDAO
{
public int PresenceId { get; set; }
public int UserId { get; set; }
public DateOnly Date { get; set; }
public int LessonNumber { get; set; }
public bool IsAttendance { get; set; }
public int GroupId { get; set; }
public string DateString => Date.ToString("dd.MM.yyyy");
public string Status => IsAttendance ? "Присутствовал" : "Отсутствовал";
}