You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
634 B
24 lines
634 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Entities
|
|
{
|
|
public class GroupEntity
|
|
{
|
|
[Key]
|
|
public long Id { get; set; }
|
|
public int Num { get; set; }
|
|
public int year { get; set; }
|
|
public string sector { get; set; }
|
|
public ICollection<UserEntity> Users { get; set; } = new List<UserEntity>();
|
|
|
|
public ICollection<VocabularyListEntity> GroupVocabularyList { get; set; } = new List<VocabularyListEntity>();
|
|
|
|
public string toString()
|
|
{
|
|
return "Id: " + Id + " Num: " + Num + " year: " + year + " sector: " + sector;
|
|
}
|
|
|
|
}
|
|
|
|
}
|