using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace EfCoreMigration.Models
{
    public class Deelname
    {
        [Key]
        [Column("ID")]
        public int Id { get; set; }

        public int AtleetId { get; set; }
        public Atleet Atleet { get; set; }

        public int EvenementId { get; set; }
        public Evenement Evenement { get; set; }
        public TimeSpan Tijd { get; set; }
    }
}
