using JobPortalAPI.Models;
using System.ComponentModel.DataAnnotations;

namespace JobPortalAPI.DTOs
{
    public class PersonJobSeekerDto
    {
        [Required]

        public string Name { get; set; } = null!;
        [Required]
        [DataType(DataType.Password)]

        public string Password { get; set; } = null!;
        [Required]

        public string Phone { get; set; } = null!;
        [Required]
        [DataType(DataType.EmailAddress)]

        public string Email { get; set; } = null!;
        [Required]

        public IFormFile? Image { get; set; } = null!;
        [Required]

        public string Address { get; set; } = null!;
        [Required]


        public string Gender { get; set; } = null!;
        [Required]

        public DateTime Birthdate { get; set; }
        [Required]

        public String SpecificationName { get; set; } = null!;
        [Required]

        public string Certificate { get; set; } = null!;
        [Required]

        public string Stages { get; set; } = null!;
        [Required]

        public string PreviousWorks { get; set; } = null!;
        [Required]

        public string Languages { get; set; } = null!;
    }
}