root/branches/Emisje/Wierszowki/Wierszowki.Model/Validation/UserValidation.cs @ 796

Wersja 752, 0.6 KB (wprowadzona przez marek, 17 years temu)

wiersz

Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel.DataAnnotations;
4using System.Linq;
5using System.Text;
6
7namespace Wierszowki.Core.Validation
8{
9    public class UserValidation
10    {
11        [Required(ErrorMessage = "Proszę podać imię")]
12        public string FirstName { get; set; }
13
14        [Required(ErrorMessage = "Proszę podać nazwisko")]
15        public string LastName { get; set; }
16
17        [Required(ErrorMessage = "Proszę podać login")]
18        public string Login { get; set; }
19
20        [Required(ErrorMessage = "Proszę podać hasło")]
21        public string Password { get; set; }
22    }
23}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.