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

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. 
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace Sevomin.Models
  7. {
  8. [Table("Dovomin")]
  9. public class Dovomin : User
  10. {
  11. public string FirstName { get; set; }
  12. public string LastName { get; set; }
  13. public DateTime? BirthDate { get; set; }
  14. public bool IsFulltime { get; set; }
  15. public bool IsPartTime { get; set; }
  16. public string Description { get; set; }
  17. public string EnglishResume { get; set; }
  18. public string PersianResume { get; set; }
  19. [DefaultValue(false)]
  20. public bool OptOutEmail { get; set; }
  21. public virtual ICollection<DovominParameter> DovominParameters { get; set; }
  22. public virtual ICollection<DovominJob> DovominJobs { get; set; }
  23. public Dovomin()
  24. {
  25. }
  26. public Dovomin(string userName, string firstName, string lastName)
  27. : base(userName)
  28. {
  29. this.FirstName = firstName;
  30. this.LastName = lastName;
  31. }
  32. }
  33. }