| 123456789101112131415161718192021 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class RdLock extends Model
- {
- protected $guarded = [];
- protected $table = "rd_lock"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const type_one = 1;
- const type_two = 2;
- public static $type_name = [
- self::type_one => '研发人工时单',
- self::type_two => '研发设备工时单',
- ];
- }
|