using Connected.Data;
namespace Contacts.Types;
[Flags]
public enum CustomerRoles
{
None = 0,
Supplier = 1,
Customer = 2
}
///
/// An entity which represents a business partner.
///
///
/// A business partner can be an
/// or an . An is tipically a person
/// which buys products and/or services. An is a business
/// entity which can be ,
/// or both.
///
public interface IBusinessPartner : IPrimaryKey
{
int? Organization { get; init; }
int? Contact { get; init; }
CustomerRoles Roles { get; init; }
}