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.

35 lines
988 B

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