<?php namespace App\Model; class InOutRecord extends UseScopeBaseModel { protected $table = "in_out_record"; //指定表 const CREATED_AT = 'crt_time'; const UPDATED_AT = 'upd_time'; protected $dateFormat = 'U'; }