Add Master Data

This commit is contained in:
Thanakarn Klangkasame
2025-10-10 16:22:06 +07:00
parent ad0d9e41ba
commit d4ab1cb592
55 changed files with 16058 additions and 197 deletions

View File

@@ -0,0 +1,18 @@
using AMREZ.EOP.Domain.Entities.Common;
using AMREZ.EOP.Domain.Shared.Customer;
namespace AMREZ.EOP.Domain.Entities.Customers;
public sealed class CustomerProfile : BaseEntity
{
public PartyType Type { get; set; }
public string DisplayName { get; set; } = default!;
public CustomerStatus Status { get; set; } = CustomerStatus.Active;
public PersonProfile? Person { get; set; }
public OrganizationProfile? Organization { get; set; }
public ICollection<CustomerContact> Contacts { get; set; } = new List<CustomerContact>();
public ICollection<CustomerAddress> Addresses { get; set; } = new List<CustomerAddress>();
public ICollection<CustomerTag> Tags { get; set; } = new List<CustomerTag>();
}