17 lines
434 B
C#
17 lines
434 B
C#
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using SchoolDataModels.Models;
|
|||
|
|
|||
|
namespace SchoolDatabaseImplement.Models
|
|||
|
{
|
|||
|
public class StudentByDiscipline : StudentByDisciplineModel
|
|||
|
{
|
|||
|
[Required]
|
|||
|
public Student? Student { get; private set; }
|
|||
|
[Required]
|
|||
|
public Discipline? Discipline { get; private set; }
|
|||
|
|
|||
|
[Required]
|
|||
|
public List<Account>? Accounts { get; private set; }
|
|||
|
}
|
|||
|
}
|