2022-06-12 19:42:47 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DataModel.Database;
|
|
|
|
|
|
|
|
|
|
public sealed class TextElement
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2022-07-10 17:30:22 +00:00
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
2022-06-12 19:42:47 +00:00
|
|
|
|
public string Code { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public Section Section { get; set; }
|
|
|
|
|
|
2022-07-10 17:30:22 +00:00
|
|
|
|
public List<Translation> Translations { get; set; } = new();
|
2022-06-12 19:42:47 +00:00
|
|
|
|
}
|