Events-MVC (example with htmx)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user