Add Master Data
This commit is contained in:
18
AMREZ.EOP.Domain/Entities/Customers/CustomerProfile.cs
Normal file
18
AMREZ.EOP.Domain/Entities/Customers/CustomerProfile.cs
Normal 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>();
|
||||
}
|
||||
Reference in New Issue
Block a user