Files
predavanja/Events-MVC/Events.MVC/Models/Countries/CountryTranslationViewModel.cs
2026-04-26 01:01:37 +02:00

15 lines
362 B
C#

using System.ComponentModel.DataAnnotations;
namespace Events.MVC.Models.Countries;
public class CountryTranslationViewModel
{
[Display(Name = "Language")]
[StringLength(10)]
public string LanguageCode { get; set; } = string.Empty;
[Display(Name = "Translation")]
[StringLength(200)]
public string Name { get; set; } = string.Empty;
}