Overview
TheFamily struct represents a family unit within the church congregation. A family groups related members together, providing a household-level view for ministry planning, pastoral care, and demographic analysis.
Type Definition
Properties
Unique identifier for this family unit.
The family name (e.g., “Smith Family”, “Johnson Household”).
Date when this family record was created.
Date when this family record was last modified.
The member ID of the head of this family.
The primary address for this family.
The home phone number for this family.
Optional notes about this family.
Initializer
Parameters
id: Unique identifier for the familyfamilyName: The family namecreatedDate: Date when the record was createdlastModifiedDate: Date when the record was last modifiedheadOfFamily: Member ID of the head of familyaddress: Primary address for the familyhomePhone: Home phone numbernotes: Optional notes about the family
Example Usage
Creating a Family
Fetching a Family
Updating Family Information
Related Types
- FamilyID - Type-safe family identifier
- FamilyHandler - Protocol for family operations
- FamilyInfo - Comprehensive family information
- MemberID - Type-safe member identifier
