namespace Modules.Library.Core.Domain.MediaContent.CommonProperties;

public class NameItem : Entity
{
    [Required]
    public string Value { get; private set; } = string.Empty;
    public NameType Type { get; init; }
    [Required]
    public Guid LanguageId { get; init; } = default!;

    public void SetValue(string value)
    {
        Value = value;
    }
}

public enum NameType
{
    Original,
    OriginalInAnotherLanguage,
    Translation,
    Abbreviation,
}