Add Patch y Cambios en ECustomer
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 4m51s

This commit is contained in:
Leandro Hernan Rojas 2025-04-04 20:06:04 -03:00
parent 5950aef23b
commit 17127d3921
5 changed files with 10 additions and 6 deletions

View File

@ -28,7 +28,7 @@ namespace Domain.Entities
public virtual EAccountType? Accounttypes { get; set; } public virtual EAccountType? Accounttypes { get; set; }
public virtual ICollection<ECustomerAddress> PhSCustomerAddress { get; set; } = new List<ECustomerAddress>(); public virtual ICollection<ECustomerAddress> PhSCustomerAddresses { get; set; } = new List<ECustomerAddress>();
public virtual ICollection<ECustomerDocument> PhSCustomerDocuments { get; set; } = new List<ECustomerDocument>(); public virtual ICollection<ECustomerDocument> PhSCustomerDocuments { get; set; } = new List<ECustomerDocument>();

View File

@ -10,7 +10,7 @@ namespace Domain.Entities
{ {
public int Id { get; set; } public int Id { get; set; }
public int? CustomersId { get; set; } public int CustomersId { get; set; }
public string? BusinessName { get; set; } public string? BusinessName { get; set; }

View File

@ -7,7 +7,7 @@ public partial class PhSCustomerAddress
{ {
public int Id { get; set; } public int Id { get; set; }
public int? CustomersId { get; set; } public int CustomersId { get; set; }
public string? BusinessName { get; set; } public string? BusinessName { get; set; }
@ -33,5 +33,5 @@ public partial class PhSCustomerAddress
public string? Notes { get; set; } public string? Notes { get; set; }
public virtual PhSCustomer? Customers { get; set; } public virtual PhSCustomer Customers { get; set; } = null!;
} }

View File

@ -1,4 +1,7 @@
namespace Models.Models; using System;
using System.Collections.Generic;
namespace Models.Models;
public partial class PhSDocumentType public partial class PhSDocumentType
{ {

View File

@ -207,6 +207,7 @@ public partial class PhronCareOperationsHubContext : DbContext
entity.HasOne(d => d.Customers).WithMany(p => p.PhSCustomerAddresses) entity.HasOne(d => d.Customers).WithMany(p => p.PhSCustomerAddresses)
.HasForeignKey(d => d.CustomersId) .HasForeignKey(d => d.CustomersId)
.OnDelete(DeleteBehavior.ClientSetNull)
.HasConstraintName("FK_PhS_CustomerAddress_PhS_Customers"); .HasConstraintName("FK_PhS_CustomerAddress_PhS_Customers");
}); });