using System.ComponentModel.DataAnnotations; namespace Schaad.Accounting.Models { public class BookingText { public string Id { get; set; } [Display(Name = "Buchungstext")] [Required] [MinLength(3)] public string Text { get; set; } } }