using System.ComponentModel.DataAnnotations; namespace PyroFetes.Models; public class City { //Champs [Key] public int Id { get; set; } [Required, MaxLength(100)] public string? Name { get; set; } [Required] public int ZipCode { get; set; } //Relations public List? Shows { get; set; } }