using System;
using System.Collections.Generic;

namespace Infrastructure.Models
{
    public class TestCase
    {
        public int ID { get; set; }
        
        public string Title { get; set; }
        public string Description { get; set; }
        public string Prerequsity { get; set; }
        public string ExternalID { get; set; }
        public string CreatorID { get; set; }
        public string EditorID { get; set; }

        public int Estimate { get; set; }
        public int TestSuiteID { get; set; }
        public int ProjectID { get; set; }
        
        public DateTime DateCreated { get; set; }
        public DateTime? DateUpdated { get; set; }

        public virtual AppUser Creator { get; set; }
        public virtual AppUser Editor { get; set; }
        public virtual TestSuite TestSuite { get; set; }
        public virtual TestProject Project { get; set; }
        public virtual ICollection<StepResultDefinition> StepResultDefinitions { get; set; }
        public virtual ICollection<TestPlan> TestPlans { get; set; }
    }
}