20 lines
406 B
C#
20 lines
406 B
C#
|
|
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 Group
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public virtual ICollection<Student> Students { get; set; } = new List<Student>();
|
|
}
|
|
}
|