phronCare/Domain/Entities/ECustomerDocument.cs
Leandro Hernan Rojas 0177366fc9
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 5m4s
Update Customers Update Create and List
2025-04-12 18:51:25 -03:00

24 lines
684 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
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.")]
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; }
}
}