phronCare/Domain/Entities/ECustomerDocument.cs

24 lines
684 B
C#
Raw Normal View History

2025-04-03 15:49:04 -03:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2025-04-03 15:49:04 -03:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Entities
{
public class ECustomerDocument
{
public int Id { get; set; }
public int CustomersId { get; set; }
[Required(ErrorMessage = "Debe seleccionar un tipo de documento.")]
2025-04-03 15:49:04 -03:00
public int DocumenttypesId { get; set; }
[Required(ErrorMessage = "Debe seleccionar un numero documento.")]
2025-04-03 15:49:04 -03:00
public string DocumentNumber { get; set; } = null!;
public DateOnly? IssueDate { get; set; }
public DateOnly? ExpiryDate { get; set; }
}
}