Skip to main content

Person

Entities Definition

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

Implementation

Person Definition

File: domain/entities/person.pseudo

// Person Entity

class Person {
// Identity
string id
string name

// Properties
string role // "caretaker", "neighbor", "adopter"
string contactInfo

// Methods
function getAssignedTasks()
function isCaretaker()
function getAdoptedCats()
}
  • See the Domain Model Overview for more information on how this component fits into the overall domain model.