Logo
Explore Help
Register Sign In
SamProject/sam-api
6
0
Fork 0
You've already forked sam-api
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
ca259ccb1800b879737cabbc73cda72f73bbb1ec
sam-api/app/Models/Stats/StatAlert.php

20 lines
405 B
PHP
Raw Normal View History

feat: sam_stat P1 도메인 확장 (Phase 3) - 차원 테이블: dim_client, dim_product 마이그레이션 + SCD Type 2 동기화 (DimensionSyncService) - 재고 통계: stat_inventory_daily + InventoryStatService (stocks, stock_transactions, inspections) - 견적/영업 통계: stat_quote_pipeline_daily + QuoteStatService (quotes, biddings, sales_prospects) - 인사/근태 통계: stat_hr_attendance_daily + HrStatService (attendances, leaves, user_tenants) - KPI/알림: stat_kpi_targets, stat_alerts + KpiAlertService + StatCheckKpiAlertsCommand - StatAggregatorService에 inventory, quote, hr 도메인 추가 (총 6개 도메인) - 스케줄러: stat:check-kpi-alerts 매일 09:00 등록 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 20:19:50 +09:00
<?php
namespace App\Models\Stats;
class StatAlert extends BaseStatModel
{
protected $table = 'stat_alerts';
public $timestamps = false;
protected $casts = [
'current_value' => 'decimal:2',
'threshold_value' => 'decimal:2',
'is_read' => 'boolean',
'is_resolved' => 'boolean',
'resolved_at' => 'datetime',
'created_at' => 'datetime',
];
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 64ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API