← 返回目錄

資料庫明細:bonus(工作獎金)|治療師成果・薪資推送・共用

護理師工作職責與品管查核、治療師每日成果、點數與薪資推送

資料庫明細:bonus(工作獎金)|治療師成果・薪資推送・共用 護理師工作職責與品管查核、治療師每日成果、點數與薪資推送 治療師成果 薪資推送 共用 其他 schema insurance_type · 健保申報業務類型・9 筆 · 實體 · 治療師成果 insurance_type PK id uuid|主鍵 UK type_key text|類型代碼(例 PSY_ACUTE_ASSESSMENT) department text|科別 name text|業務名稱 fields jsonb|填寫欄位 monthly_dept_target integer|科別每月最低達標數(人次) sort_order integer|排序 is_active boolean|啟用 UK legacy_id text?|舊 therapist-daily insurance_record_type_configs.id created_at timestamptz|建立時間 updated_at timestamptz|更新時間 insurance_entry · 健保申報業務紀錄・1,274 筆 · 實體 · 治療師成果 insurance_entry PK id uuid|主鍵 FK staff_id uuid|治療師 work_date date|日期 FK type_id uuid|業務類型 patient_info text?|病人資訊(病歷號及姓名,自由文字) field2_value text?|第二欄位(轉介來源、轉介醫師…,依類型而定) daily_count integer|人次 UK legacy_id text?|舊 therapist-daily insurance_entries.id created_at timestamptz|建立時間 updated_at timestamptz|更新時間 deleted_at timestamptz?|刪除時間 FK deleted_by uuid?|刪除人 therapy_group · 治療師團體治療紀錄・1,633 筆 · 實體 · 治療師成果 therapy_group PK id uuid|主鍵 FK staff_id uuid|治療師 work_date date|日期 slot text|時段 content text?|活動內容 UK legacy_id text?|舊 therapist-daily activity_logs.id created_at timestamptz|建立時間 updated_at timestamptz|更新時間 therapy_session · 治療師個案會談・4,087 筆 · 實體 · 治療師成果 therapy_session PK id uuid|主鍵 FK staff_id uuid|治療師 work_date date|日期 client_name text?|個案名稱 content text|會談內容 service_type text|服務類型(舊系統一律 individual_counseling) UK legacy_id text?|舊 therapist-daily individual_sessions.id created_at timestamptz|建立時間 updated_at timestamptz|更新時間 deleted_at timestamptz?|刪除時間 FK deleted_by uuid?|刪除人 salary_push · 薪資推送批次・0 筆 · 實體 · 薪資推送 salary_push PK id uuid|主鍵 program text|方案 period_start date|計算期間起 period_end date|計算期間迄 mode text|方式 reporter text|提報人(送薪資系統的 reporter) reason text|異動原因 change_item text|異動項目 point_to_twd integer|每點金額 ok_count integer|成功人數 fail_count integer|失敗人數 skip_count integer|略過人數(已送過) total_amount integer|成功送出總金額 FK triggered_by uuid?|執行人(排程為空) created_at timestamptz|開始時間 finished_at timestamptz?|完成時間 salary_push_item · 薪資推送明細・0 筆 · 實體 · 薪資推送 salary_push_item PK id uuid|主鍵 FK push_id uuid|推送批次 program text|方案 period_start date|計算期間起 period_end date|計算期間迄 FK staff_id uuid|人員 staff_name text|姓名(送出當時) employee_no text?|員工編號(送出當時) points integer|點數 amount integer|金額 status text|結果 error text?|錯誤訊息 created_at timestamptz|送出時間 setting · 工作獎金設定・11 筆 · 實體 · 共用 setting PK program text|方案 PK key text|設定鍵 value integer|設定值 label text|名稱 updated_at timestamptz|更新時間 member · 參與人員・53 筆 · 實體 · 共用 member PK program text|方案(nurse=護理師工作職責) PKFK staff_id uuid|人員 role text|身分 is_active boolean|啟用 note text?|備註 created_at timestamptz|建立時間 updated_at timestamptz|更新時間 department text?|科別(治療師) file · 佐證檔案・60,294 筆 · 實體 · 共用 file PK id uuid|主鍵 owner_table text|所屬 owner_id uuid|所屬列 id kind text|類型 file_name text|檔名 mime_type text?|MIME 類型 size_bytes bigint?|大小(位元組) storage_path text?|儲存路徑(STORAGE_DIR 下的相對路徑) legacy_key text?|舊 MinIO 物件鍵(bucket therapy-records) state text|狀態 FK created_by uuid?|上傳人 created_at timestamptz|上傳時間 deleted_at timestamptz?|刪除時間 directory.staff · 員工(完整欄位見 04a) · 實體 · 其他 schema directory.staff PK id uuid|主鍵 push_id type_id 圖例 PK 主鍵 FK 外來鍵 UK 唯一鍵 一 多