You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Sevomin.Models.Helpers;
  9. namespace Sevomin.Models
  10. {
  11. public class Job
  12. {
  13. [Key]
  14. public long Id { get; set; }
  15. [Required]
  16. [Index]
  17. [StringLength(128)]
  18. public string AvalinId { get; set; }
  19. public virtual Avalin Avalin { get; set; }
  20. public DateTime ExpireDate { get; set; }
  21. public string Description { get; set; }
  22. public byte ResumeType { get; set; }
  23. public string ContactPersonName { get; set; }
  24. public string ContactPersonPhone { get; set; }
  25. [EmailValidation]
  26. public string ContactPersonEMail { get; set; }
  27. public bool ShowCompanyName { get; set; }
  28. public bool ShowCompanyLogo { get; set; }
  29. public bool IsFullTime { get; set; }
  30. public virtual ICollection<JobParameter> JobParameters { get; set; }
  31. }
  32. }