presence/data/DAO/Student.cs

28 lines
618 B
C#
Raw Permalink Normal View History

2024-11-26 05:09:12 +00:00
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; }
2024-12-04 12:21:15 +00:00
public virtual ICollection<Diary> Diaries { get; set; } = new List<Diary>();
2024-11-26 05:09:12 +00:00
public virtual Group Group { get; set; }
}
}