I18NCommander/I18N Commander/DataModel/Database/TextElement.cs

17 lines
393 B
C#
Raw Normal View History

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
}