123456789101112131415161718192021 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class Equipment extends Model
- {
- protected $table = "equipment"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- public static $status_title = [
- 1 => "运行中",
- 2 => "待机",
- 3 => "故障停机",
- 4 => "关机",
- ];
- }
|