PIbd-21_Pyatakov_KM_Markov_.../UniversityDataBaseImplemet/Models/EducationGroupStream.cs
2023-04-08 13:59:34 +04:00

21 lines
565 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniversityDataBaseImplemet.Models
{
public class EducationGroupStream
{
public int Id { get; set; }
[Required]
public int EducationGroupId { get; set; }
[Required]
public int StreamId { get; set; }
public virtual Stream Stream { get; set; } = new();
public virtual EducationGroup EducationGroup { get; set; } = new();
}
}