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
develop
sam-api/app/Models/Stats/Daily/StatSalesDaily.php

19 lines
396 B
PHP
Raw Permalink Normal View History

feat: sam_stat P0 도메인 집계 구현 (Phase 2) - 영업(Sales), 재무(Finance), 생산(Production) 3개 도메인 구현 - 일간/월간 통계 테이블 6개 마이그레이션 생성 - 도메인별 StatService (SalesStatService, FinanceStatService, ProductionStatService) - Daily/Monthly 6개 Eloquent 모델 생성 - StatAggregatorService에 도메인 서비스 매핑 활성화 - StatJobLog duration_ms abs() 처리 - 스케줄러 등록 (일간 02:00, 월간 1일 03:00) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 19:30:30 +09:00
<?php
namespace App\Models\Stats\Daily;
use App\Models\Stats\BaseStatModel;
class StatSalesDaily extends BaseStatModel
{
protected $table = 'stat_sales_daily';
protected $casts = [
'stat_date' => 'date',
'order_amount' => 'decimal:2',
'sales_amount' => 'decimal:2',
'sales_tax_amount' => 'decimal:2',
'shipment_amount' => 'decimal:2',
];
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 45ms Template: 2ms
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