using System.ComponentModel.DataAnnotations;

namespace JobPortalAPI.DTOs
{
    public class UpdateCompanyDto
    {
        [Required]
        public string Name { get; set; } = null!;
        [Required]
        public string Phone { get; set; } = null!;
        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; } = null!;
        public IFormFile? Image { get; set; }
        [Required]
        public string Address { get; set; } = null!;
        [Required]
        public string Description { get; set; } = null!;
    }
}
