using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
    public class ECustomerDocument
    {
        public int Id { get; set; }
        public int CustomersId { get; set; }
        [Required(ErrorMessage = "Debe seleccionar un tipo de documento.")]
        public int DocumenttypesId { get; set; }
        [Required(ErrorMessage = "Debe seleccionar un numero documento.")]
        public string DocumentNumber { get; set; } = null!;
        public DateOnly? IssueDate { get; set; }
        public DateOnly? ExpiryDate { get; set; }
    }
}
