Skip to main content

EmployeeRestDay

The EmployeeRestDay entity, mapped to the employee_rest_day table.

Tableemployee_rest_day
Tenant-scopedYes — extends TenantOwned
Columns2
Relationships1
Sourcebackend/src/main/java/com/motorph/payroll/model/EmployeeRestDay.java

Columns​

FieldTypeColumnNullNotes
idLongid—primary key, generated
dayOfWeekIntegerday_of_week——

Plus tenant_id, inherited from TenantOwned. Hibernate stamps it on insert and adds where tenant_id = ? to every query, so it is never written or read by application code.

Relationships​

FieldKindTargetJoin columnRequired
employee@ManyToOneEmployeeemployee_numberYes

Referenced by​

EntityFieldKind
EmployeerestDays@OneToMany

Neighbourhood​

Repository​

No Spring Data repository is declared over this entity. It is reached through another entity's association, through the EntityManager directly, or it is written only by a migration.


Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.