18 lines
728 B
C#
18 lines
728 B
C#
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>();
|
|
} |