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

namespace Promact.Trappist.DomainModel.Models.Test
{
    public class TestCategory
    {
        [Key]
        public int Id { get; set; }

        public int TestId { get; set; }

        public int CategoryId { get; set; }

        [ForeignKey("CategoryId")]
        public virtual Category.Category Category { get; set; }

        [ForeignKey("TestId")]
        public virtual Test Test { get; set; }
    }
}