presence/data/DAO/Subject.cs

20 lines
468 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 Subject
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
2024-12-04 12:21:15 +00:00
public virtual ICollection<StudentGroupSubject> StudentGroupsSubjects { get; set; } = new List<StudentGroupSubject>();
2024-11-26 05:09:12 +00:00
}
}