using System;
using System.Collections.Generic;

namespace JobPortalAPI.Models
{
    public partial class Job
    {
        public Job()
        {
            JobEntries = new HashSet<JobEntry>();
            JobSkills = new HashSet<JobSkill>();
        }

        public int Id { get; set; }
        public string TimeType { get; set; } = null!;
        public string Name { get; set; } = null!;
        public string Description { get; set; } = null!;
        public int Sallary { get; set; }
        public int CompanyId { get; set; }
        public int SpecificationId { get; set; }
        public string Status { get; set; } = null!;
        public virtual Company Company { get; set; } = null!;
        public virtual Specification Specification { get; set; } = null!;
        public virtual ICollection<JobEntry> JobEntries { get; set; }
        public virtual ICollection<JobSkill> JobSkills { get; set; }
        public virtual ICollection<Notification> Notifications { get; set; }
        public virtual ICollection<Interview> Interviews { get; set; }
    }
}
