Skip to main content

pres.attendance_status_realtime

Schema: pres
English table: pres.attendance_status_realtime
Italian original table: pres.asspre_auto
Description: Real-time automated dashboard for employee presence monitoring, synchronized with live clock-in events.

Overview

  • Columns: 17
  • Primary key: id
  • Outgoing foreign keys: 2
  • Incoming foreign keys: 0
  • Indexes: 2

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOIdentifier of the related record.
asrt_idass_idintegerNOInternal identifier for the real-time status record.
tenant_idtenant_idintegerNOIdentifier of the related tenant.
asrt_employment_idass_rap_idintegerNO0Identifier of the related asrt employment.
asrt_is_absentass_assentebooleanNOfalseReal-time flag for absence status.
asrt_entrance_timeass_ora_ingressocharacter(10)YES''::bpcharReal-time recorded entrance time.
asrt_reason_codeass_causalecharacter(4)YESNULL::bpcharCode of asrt reason code.
asrt_date_fromass_periodo_daldateNODate associated with asrt date from.
asrt_date_toass_periodo_aldateNODate associated with asrt date to.
asrt_theoretical_schedule_codeass_teoricocharacter(4)NO''::bpcharCode of asrt theoretical schedule code.
asrt_full_nameass_nominativocharacter(50)YES''::bpcharName of asrt full name.
asrt_company_nameass_ragione_soccharacter(60)YES''::bpcharName of asrt company name.
asrt_late_minutesass_ritardonumeric(4,0)YES0Value of asrt late minutes.
asrt_department_codeass_repartocharacter(4)NO''::bpcharCode of asrt department code.
asrt_department_descriptionass_desrepcharacter(100)YES''::bpcharDescription of asrt department description.
asrt_justification_descriptionass_desgiustcharacter(100)YES''::bpcharDescription of asrt justification description.
asrt_is_presentass_presentebooleanNOfalseReal-time flag for presence status.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_asrt_tenanttenant_idcloud.tenantsten_internal_idCASCADECASCADE
fk_asspre_auto_ass_rap_id_to_rapportitenant_id, asrt_employment_idhr.employment_relationshipstenant_id, er_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_attendance_status_realtimeid
  • Unique: c_uk_asrt_employment_tenanttenant_id, asrt_employment_id
  • Unique: c_uk_asrt_id_tenanttenant_id, asrt_id

Indexes

NameUniqueMethodColumns / expression
idx_asrt_absent_lookupNObtreetenant_id, asrt_is_absent
idx_asrt_present_lookupNObtreetenant_id, asrt_is_present