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

namespace FluentValidationExample
{
    public class Zamowienie
    {
        public string Numer { get; set; }

        public string Odbiorca { get; set; }

        [MinLength(20)]
        public string Email { get; set; }

        public string AdresDostawy { get; set; }

        public DateTime DataZlozenia { get; set; }

        public DateTime DataWyslania { get; set; }

        public DateTime DataDostarczenia { get; set; }
    }

}
