T1 Electrical SolutionsT1 Platform Docs
Platform

Entity Reference

Entity catalog generated from current Doctrine entity classes.

Purpose

This reference lists the current entity classes and their declared private fields. It is intentionally implementation-oriented so developers can map docs concepts back to Doctrine records quickly.

AllowanceDefinition

FieldDeclared type
id?Uuid
codestring
namestring
category?string
defaultAmount?string
amountUnitAllowanceAmountUnit
triggerTypeAllowanceTriggerType
triggerConfig?array
triggerDescriptionstring
applicationModeAllowanceApplicationMode
ebaLinkedbool
isActivebool
clientCanOverrideAmountbool
clientCanOverrideTriggerbool
clientCanOverrideApplicationbool
clientAllowancesCollection

Attachment

FieldDeclared type
id?Uuid
fileNamestring
mimeTypestring
fileSizeint
filePathstring
entityTypestring
timesheet?Timesheet
timeEntry?TimeEntry
expense?Expense
project?Project
user?User

AwardPublicHoliday

FieldDeclared type
id?Uuid
statestring
date\DateTimeImmutable
namestring
multiplierstring
enabledbool

Client

FieldDeclared type
id?Uuid
namestring
statusstring
primaryEmail?string
primaryPhone?string
billingAddress?string
notes?string
projectsCollection
membershipsCollection
ratesCollection
allowancesCollection
materialsCollection
costCodesCollection
workConditionsCollection
expenseCategoriesCollection
clientAdminsCollection
assignedUsersCollection

ClientAllowance

FieldDeclared type
id?Uuid
clientClient
allowanceDefinition?AllowanceDefinition
namestring
amount?string
amountUnitAllowanceAmountUnit
triggerTypeAllowanceTriggerType
triggerConfig?array
triggerDescriptionstring
applicationModeAllowanceApplicationMode
ebaLinkedbool
isEabbool
enabledbool
statusClientAllowanceStatus
notes?string

ClientBreakRule

FieldDeclared type
id?Uuid
clientClient
requiredAfterHoursstring
breakDurationMinutesint
paidbool
mandatorybool
overtimeBreakbool
lateBreakThresholdMinutes?int
penaltyMultiplier?string
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

ClientCalloutRule

FieldDeclared type
id?Uuid
clientClient
triggerTypestring
minimumPayableHoursstring
callbackMultiplier?string
travelAllowanceAmount?string
recallThresholdMinutes?int
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

ClientCostCode

FieldDeclared type
id?Uuid
clientClient
codestring
jobstring
categorystring
statusstring
description?string

ClientEventRate

FieldDeclared type
id?Uuid
clientClient
namestring
rateMultiplierstring
triggerTypestring
triggerOperator?string
triggerValue?string
appliesTostring
appliesToValue?string
applicationMethodstring
description?string
statusEventRateStatus

ClientExpenseCategory

FieldDeclared type
id?Uuid
client?Client
masterCategoryExpenseCategoryMaster
isActivebool

ClientMaterial

FieldDeclared type
id?Uuid
clientClient
namestring
skustring
categorystring
pricestring
unitstring
stockint
statusstring
supplier?string
description?string

ClientMembership

FieldDeclared type
id?Uuid
clientClient
userUser
roleClientMembershipRole

ClientOrdinaryHoursRule

FieldDeclared type
id?Uuid
clientClient
dailyOrdinaryCapHoursstring
weeklyOrdinaryCapHoursstring
minimumShiftHours?string
maximumShiftHours?string
rdoApplicablebool
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

ClientRate

FieldDeclared type
id?Uuid
clientClient
codestring
baseClassstring
subcategoryCodestring
titlestring
baseRatestring
positionstring
employmentTypestring
appliesToarray
description?string
archiveReason?string
statusClientRateStatus

ClientRateClass

FieldDeclared type
id?Uuid
clientClient
namestring
sortOrderint
activebool

ClientShiftRule

FieldDeclared type
id?Uuid
clientClient
shiftTypestring
startThresholdstring
endThreshold?string
multiplierstring
appliesWeekdaysbool
appliesWeekendsbool
appliesPublicHolidaysbool
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

ClientTravelRule

FieldDeclared type
id?Uuid
clientClient
ruleTypestring
thresholdKm?string
ratestring
unitstring
taxablebool
billablebool
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

ClientUserInvitation

FieldDeclared type
id?Uuid
clientClient
project?Project
emailstring
firstNamestring
lastNamestring
phoneNumberstring
companyNamestring
companyEmailstring
userTypeUserType
permissionsarray
tokenstring
expiresAt\DateTimeImmutable
isUsedbool
usedAt?\DateTimeImmutable
invitedBy?User
acceptedUser?User

ClientWorkCondition

FieldDeclared type
id?Uuid
clientClient
namestring
slugstring
description?string
statusstring
sortOrderint

ConfigTemplateSet

FieldDeclared type
id?Uuid
namestring
description?string
statusstring
costCodesarray
materialsarray
workConditionsarray
ratesarray
eventRatesarray
allowancesarray

EmployeeAwardClassification

FieldDeclared type
id?Uuid
employeeUser
clientClient
awardCodestring
classificationstring
employmentTypestring
apprenticeYear?int
casualLoadingPercent?string
defaultOrdinaryHours?string
effectiveFrom?\DateTimeImmutable
effectiveTo?\DateTimeImmutable
enabledbool

Expense

FieldDeclared type
id?Uuid
date\DateTimeImmutable
category?string
categoryMaster?ExpenseCategoryMaster
projectCategory?ProjectExpenseCategory
amountstring
currencystring
description?string
receiptUrl?string
statusExpenseStatus
location?array
rejectionReason?string
returnToRole?WorkflowReturnRole
xeroSubmittedAt?\DateTimeImmutable
xeroSubmissionReference?string
xeroSubmissionError?string
userUser
project?Project
attachmentsCollection
timeEntriesCollection

ExpenseCategoryMaster

FieldDeclared type
id?Uuid
namestring
description?string
isActivebool
sortOrderint
projectCategoriesCollection
clientCategoriesCollection
expensesCollection

InboxNotification

FieldDeclared type
id?Uuid
titlestring
bodystring
typeInboxNotificationType
data?array
isReadbool
timestamp\DateTimeImmutable
icon?string
actionLabel?string
userUser

MasterConfigurationItem

FieldDeclared type
id?Uuid
typestring
namestring
code?string
category?string
statusstring
description?string
dataarray

PayrollInvoice

FieldDeclared type
id?Uuid
clientClient
project?Project
periodStart\DateTimeImmutable
periodEnd\DateTimeImmutable
statusPayrollInvoiceStatus
invoiceNumber?string
subtotalstring
taxTotalstring
totalstring
notes?string
xeroSubmittedAt?\DateTimeImmutable
xeroReference?string
createdBy?User
itemsCollection

PayrollInvoiceItem

FieldDeclared type
id?Uuid
invoice?PayrollInvoice
sourceTypestring
sourceIdstring
project?Project
descriptionstring
quantity?string
unitRate?string
amountstring
sortOrderint

Project

FieldDeclared type
id?Uuid
clientNamestring
client?Client
jobLocationstring
projectName?string
companyName?string
contactName?string
contactNumber?string
contactEmail?string
accountEmail?string
description?string
locationsData?array
teamData?array
allowancesData?array
costCodesData?array
startDate\DateTimeImmutable
endDate?\DateTimeImmutable
statusProjectStatus
timesheetsCollection
expensesCollection
clientSupervisorsCollection
electriciansCollection
payrollManagersCollection
attachmentsCollection
expenseCategoriesCollection
allowedExpenseCategoriesCollection

ProjectExpenseCategory

FieldDeclared type
id?Uuid
projectProject
masterCategoryExpenseCategoryMaster
isActivebool
expensesCollection

ProjectInvitation

FieldDeclared type
id?Uuid
projectProject
emailstring
tokenstring
expiresAt\DateTimeImmutable
isUsedbool
usedAt?\DateTimeImmutable
invitedBy?User
acceptedUser?User

TimeEntry

FieldDeclared type
id?Uuid
date?\DateTimeImmutable
startTime?\DateTime
endTime?\DateTime
projectName?string
jobCode?string
costCode?string
vehicleType?string
shiftWorkbool
description?string
materialInStock?bool
allowancesDataarray
materialsDataarray
workConditionsDataarray
statusTimeEntryStatus
timesheet?Timesheet
expense?Expense
attachmentsCollection

Timesheet

FieldDeclared type
id?Uuid
weekEnding\DateTimeImmutable
totalHoursfloat
statusTimesheetStatus
location?array
signature?string
rejectionReason?string
returnToRole?WorkflowReturnRole
xeroSubmittedAt?\DateTimeImmutable
xeroSubmissionReference?string
xeroSubmissionError?string
approvalViewedAt?\DateTimeImmutable
approvalViewedBy?User
approvalAcknowledgedAt?\DateTimeImmutable
approvalAcknowledgedBy?User
entriesCollection
userUser
project?Project
attachmentsCollection
changeLogsCollection
approvalSheetItemsCollection
allowanceLinesCollection
calculationsCollection
riskAssessment?TimesheetRiskAssessment
latestApprovedAtfunction getLatestApprovalSheetSignature(): ?string {

TimesheetAllowanceLine

FieldDeclared type
id?Uuid
timesheetTimesheet
timeEntry?TimeEntry
clientAllowance?ClientAllowance
namestring
code?string
amountUnitAllowanceAmountUnit
quantitystring
unitRatestring
amountstring
triggerReason?string
taxablebool
billablebool
sourceSnapshotarray

TimesheetApprovalSheet

FieldDeclared type
id?Uuid
project?Project
workDate?\DateTimeImmutable
weekEnding?\DateTimeImmutable
statusTimesheetStatus
supervisor?User
approvalSignature?string
rejectionReason?string
approvedAt?\DateTimeImmutable
rejectedAt?\DateTimeImmutable
approvalViewedAt?\DateTimeImmutable
approvalViewedBy?User
approvalAcknowledgedAt?\DateTimeImmutable
approvalAcknowledgedBy?User
itemsCollection

TimesheetApprovalSheetItem

FieldDeclared type
id?Uuid
sheet?TimesheetApprovalSheet
timesheet?Timesheet
workDate?\DateTimeImmutable
includedAt\DateTimeImmutable

TimesheetCalculation

FieldDeclared type
id?Uuid
timesheetTimesheet
statusAwardCalculationStatus
engineVersionstring
grossHoursstring
payableHoursstring
payTotalstring
billTotalstring
sourceSnapshotarray
linesCollection

TimesheetCalculationLine

FieldDeclared type
id?Uuid
calculationTimesheetCalculation
timeEntry?TimeEntry
lineTypeAwardCalculationLineType
labelstring
quantitystring
unitstring
payRatestring
payAmountstring
billRatestring
billAmountstring
ruleReference?string
sourceSnapshotarray
sortOrderint

TimesheetChangeLog

FieldDeclared type
id?Uuid
timesheetTimesheet
changeSetIdstring
fieldNamestring
fieldPathstring
fieldLabelstring
oldValue?string
newValue?string
changedByUser
changedByRolestring
createdAt\DateTimeImmutable

TimesheetRiskAssessment

FieldDeclared type
id?Uuid
timesheetTimesheet
statusTimesheetRiskStatus
scoreint
maxScoreint
signalsarray
summary?string
assessedAt\DateTimeImmutable

User

FieldDeclared type
id?Uuid
emailstring
namestring
auth0Id?string
password?string
emailVerifiedbool
mfaEnabledbool
picture?string
pushNotificationToken?string
userTypeUserType
statusUserStatus
permissionsUserPermissions
department?string
employeeIdPrefix?string
employeeIdNumber?string
employeeId?string
hireDate?\DateTimeImmutable
manager?User
notificationsCollection
timesheetsCollection
expensesCollection
supervisedProjectsCollection
managedClientsCollection
assignedClientsCollection
clientMembershipsCollection
attachmentsCollection

UserPermissions

FieldDeclared type
canViewTimesheetsbool
canApproveTimesheetsbool
canViewExpensesbool
canApproveExpensesbool
canManageUsersbool
canViewReportsbool
canAccessAdminbool

XeroToken

FieldDeclared type
id?int
tenantIdstring
accessTokenstring
refreshTokenstring
expiresAt\DateTimeImmutable

On this page