|
id
|
bigint(20) unsigned
|
|
|
|
|
run_uuid
|
char(36)
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
payroll_month
|
char(7)
|
|
|
|
|
period_start
|
date
|
|
|
|
|
period_end
|
date
|
|
|
|
|
run_version
|
int(10) unsigned
|
|
|
1
|
|
run_status
|
varchar(32)
|
|
|
DRAFT
|
|
attendance_period_id
|
bigint(20) unsigned
|
|
|
|
|
attendance_snapshot_id
|
bigint(20) unsigned
|
|
|
|
|
attendance_snapshot_uuid
|
char(36)
|
|
|
|
|
attendance_snapshot_version
|
int(10) unsigned
|
|
|
|
|
attendance_snapshot_hash
|
char(64)
|
|
|
|
|
source_period_lock_version
|
int(10) unsigned
|
|
|
|
|
payroll_policy_id
|
bigint(20) unsigned
|
|
|
|
|
payroll_policy_version
|
int(10) unsigned
|
|
|
|
|
payroll_policy_hash
|
char(64)
|
|
|
|
|
payroll_policy_proration_method
|
varchar(32)
|
|
|
|
|
payroll_policy_fixed_days_divisor
|
decimal(8,2)
|
|
|
|
|
payroll_policy_rounding_mode
|
varchar(20)
|
|
|
|
|
payroll_policy_rounding_scale
|
tinyint(3) unsigned
|
|
|
|
|
eligible_employee_count
|
int(10) unsigned
|
|
|
0
|
|
assigned_employee_count
|
int(10) unsigned
|
|
|
0
|
|
snapshot_employee_count
|
int(10) unsigned
|
|
|
0
|
|
captured_employee_count
|
int(10) unsigned
|
|
|
0
|
|
input_hash
|
char(64)
|
|
|
|
|
lock_version
|
int(10) unsigned
|
|
|
1
|
|
notes
|
varchar(500)
|
|
|
|
|
created_by
|
bigint(20) unsigned
|
|
|
|
|
updated_by
|
bigint(20) unsigned
|
|
|
|
|
created_at_utc
|
datetime
|
|
|
2026-09-29 19:17:00.000000
|
|
updated_at_utc
|
datetime
|
|
|
2026-09-29 19:17:00.000000
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|