using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SmartValley.Domain.Entities
{
    public class Country
    {
        public long Id { get; set; }

        [Required, MaxLength(2)]
        public string Code { get; set; }

        public ICollection<User> Users { get; set; }
        public ICollection<Project> Projects { get; set; }
        public ICollection<ScoringApplication> ScoringApplications { get; set; }
        public ICollection<ExpertApplication> ExpertApplications { get; set; }
    }
}