party

Set of classes to store persons, organizations, relationships and contact mechanisms

These structures are modeled like described in ‘The Data Model Resource Book’ by Len Silverston, Chapter 2

class camelot.model.party.Address(*args, **kwargs)[source]

The Address to be given to a Party (a Person or an Organization)

id

The primary key

class camelot.model.party.AddressAdmin(app_admin, entity)[source]

Admin with only the Address information and not the Party information

class camelot.model.party.City(*args, **kwargs)[source]

A subclass of GeographicBoundary used to store the name, the postal code and the Country of a city

id

The primary key

class camelot.model.party.Country(*args, **kwargs)[source]

A subclass of GeographicBoundary used to store the name and the ISO code of a country

id

The primary key

class camelot.model.party.GeographicBoundary(*args, **kwargs)[source]

The base class for Country and City

id

The primary key

class camelot.model.party.Organization(*args, **kwargs)[source]

An organization represents any internal or external organization. Organizations can include businesses and groups of individuals

id

The primary key

class camelot.model.party.Party(*args, **kwargs)[source]

Base class for persons and organizations. Use this base class to refer to either persons or organisations in building authentication systems, contact management or CRM

id

The primary key

class camelot.model.party.Person(*args, **kwargs)[source]

Person represents natural persons

id

The primary key