using System.ComponentModel.DataAnnotations; // [Range], [Required], [EmailAddress]

namespace Northwind.Mvc.Models;

public class Rzecz
{
  [Range(1, 10)]
  public int? Id { get; set; }

  [Required]
  public string? Kolor { get; set; }

  [EmailAddress]
  public string? Email { get; set; }
}
