presence/data/DAO/Group.cs

20 lines
406 B
C#
Raw Normal View History

2024-11-26 05:09:12 +00:00

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>();
}
}