20 lines
501 B
C#
20 lines
501 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 StudentStream
|
|||
|
{
|
|||
|
[Required]
|
|||
|
public int StudentId { get; set; }
|
|||
|
[Required]
|
|||
|
public int StreamId { get; set; }
|
|||
|
public virtual Student Student { get; set; } = new();
|
|||
|
public virtual Stream Stream { get; set; } = new();
|
|||
|
}
|
|||
|
}
|