Skip to main content

Sighting

Value Objects Definition

This file defines the sighting structure within the Roll Claw domain model.

Implementation

Sighting Definition

File: domain/value_objects/sighting.pseudo

// Sighting Value Object

class Sighting {
// Properties
Cat cat
Date date
Time time
Location location
string notes
Person reporter

// Methods
function formatTimestamp()
function distanceFromLastSighting(Sighting previousSighting)
}
  • See the Domain Model Overview for more information on how this component fits into the overall domain model.