presence/data/DAO/Student.cs
2024-12-04 15:21:15 +03:00

28 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace data.DAO
{
public class Student
{
[Key]
public int Id { get; set; }
public string LastName { get; set; }
public string FirstName { get; set; }
public string Patronymic { get; set; }
public int GroupId { get; set; }
public virtual ICollection<Diary> Diaries { get; set; } = new List<Diary>();
public virtual Group Group { get; set; }
}
}