using System.ComponentModel.DataAnnotations; namespace Server.Models; public class Country { [Key] public int Id { get; set; } public string Code { get; set; } = null!; public string Name { get; set; } = null!; public virtual IList States { get; set; } = null!; public string GetFullName() { return $"{Name}"; } }