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.

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