20 lines
330 B
PHP
20 lines
330 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Tearline extends Model
|
||
|
{
|
||
|
//use HasFactory;
|
||
|
|
||
|
public const UPDATED_AT = NULL;
|
||
|
|
||
|
protected $fillable = ['value'];
|
||
|
|
||
|
public function complete(): string
|
||
|
{
|
||
|
return sprintf('--- %s',$this->value);
|
||
|
}
|
||
|
}
|