namespace Diligent.WebAPI.Data.Entities { public enum WorkHours { PartTime, FullTime }; public enum EmploymentTypes { Intership, Work }; public class Ad { public int Id { get; set; } public string Title { get; set; } public int MinimumExperience { get; set; } public DateTime CreatedAt { get; set; } public DateTime ExpiredAt { get; set; } public string KeyResponsibilities { get; set; } public string Requirements { get; set; } public string Offer { get; set; } public List Technologies { get; set; } = new(); public List Applicants { get; set; } = new(); public WorkHours WorkHour { get; set; } public EmploymentTypes EmploymentType { get; set; } } }