20 lines
559 B
C#
20 lines
559 B
C#
using GradeBookServer.Domain.Interface;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GradeBookServer.Domain.Entities
|
|
{
|
|
public class Discipline : IHasId
|
|
{
|
|
public int ID { get; set; }
|
|
public required string Name { get; set; }
|
|
public int TotalHours { get; set; }
|
|
|
|
public ICollection<Direction> Directions { get; set; } = new List<Direction>();
|
|
public ICollection<Vedomost> Vedomosti { get; set; } = new List<Vedomost>();
|
|
}
|
|
}
|