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
606 B
24 lines
606 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Entities
|
|
{
|
|
public class VocabularyEntity
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public string word { get; set; }
|
|
public ICollection<TranslateEntity> translations { get; } = new List<TranslateEntity>();
|
|
|
|
public string LangueName { get; set; }
|
|
public LangueEntity? Langue { get; set; } = null!;
|
|
|
|
|
|
}
|
|
}
|