37 lines
871 B
PHP
37 lines
871 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $device_id
|
|
* @property int $factory_id
|
|
* @property int $org_id
|
|
* @property int $merchant_id
|
|
* @property int $device_type
|
|
* @property string $code
|
|
* @property string $device_sn
|
|
* @property string $status
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
* @property string $deleted_at
|
|
*/
|
|
class Device extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'device';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['device_id' => 'integer', 'factory_id' => 'integer', 'org_id' => 'integer', 'merchant_id' => 'integer', 'device_type' => 'integer'];
|
|
}
|