using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ValidationInConfiguration
{
    public class Kandydat
    {
        [MinLength(20)]
        public string Nazwisko { get; set; }
        public int Wiek { get; set; }
        public string EMail { get; set; }
    }
}
