40 lines
907 B
PHP
40 lines
907 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $attachment_id
|
|
* @property int $account_id
|
|
* @property string $name
|
|
* @property string $module
|
|
* @property string $params
|
|
* @property string $type
|
|
* @property string $path
|
|
* @property int $status
|
|
* @property string $fail_reason
|
|
* @property string $deleted_at
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
*/
|
|
class Attachment extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'attachment';
|
|
|
|
protected string $primaryKey = 'attachment_id';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['attachment_id' => 'integer', 'account_id' => 'integer', 'status' => 'integer'];
|
|
}
|