using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sevomin.Models { public class Job { [Key] public long Id { get; set; } [Required] [Index] [StringLength(128)] public string AvalinId { get; set; } public virtual Avalin Avalin { get; set; } public DateTime ExpireDate { get; set; } public string Description { get; set; } public byte ResumeType { get; set; } public string ContactPersonName { get; set; } public string ContactPersonPhone { get; set; } [EmailAddress] public string ContactPersonEMail { get; set; } public bool ShowCompanyName { get; set; } public bool ShowCompanyLogo { get; set; } public bool IsFullTime { get; set; } } }