Publisher (v1.0.0)

Publisher domain entity, encapsulates publisher information and business rules

Overview

The publisher entity represents a publisher in the catalog. It encapsulates publisher information and business rules such as a unique identifier, a name, and a collection of books published by the publisher. The publisher entity also enforces rules such as requiring a non-empty name and ensuring that the publisher is not deleted.

Entity Properties

NameTypeRequiredDescription
idUUIDRequiredUnique identifier for the publisher
namestringRequiredA name of the publisher

Entity Relationships

  • A publisher has multiple books