FinanceDetail.php 380 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class FinanceDetail extends Model
  5. {
  6. protected $table = "finance_detail"; //指定表
  7. const CREATED_AT = 'crt_time';
  8. const UPDATED_AT = 'upd_time';
  9. protected $dateFormat = 'U';
  10. public static $status = [
  11. 0 => '未确认',
  12. 1 => '确认中',
  13. 2 => '已确认',
  14. ];
  15. }