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

20 lines
468 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 Subject
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection<StudentGroupSubject> StudentGroupsSubjects { get; set; } = new List<StudentGroupSubject>();
}
}