using System.ComponentModel.DataAnnotations;

namespace JobPortalAPI.DTOs
{
    public class PersonCompanyDto
    {
        [Required]
        public string Name { get; set; } = null!;
        [Required]

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

        public string Password { 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 Description { get; set; } = null!;

    }
}
