123456789101112131415161718192021222324252627282930313233 |
- <?php
- declare(strict_types=1);
- namespace App\Model;
- use Hyperf\DbConnection\Model\Model;
- /**
- * @property int $id
- * @property string $template_name
- * @property string $template_img
- * @property int $template_class_id
- * @property \Carbon\Carbon $created_at
- * @property \Carbon\Carbon $updated_at
- */
- class Template extends Model
- {
- /**
- * The table associated with the model.
- */
- protected ?string $table = 'template';
- /**
- * The attributes that are mass assignable.
- */
- protected array $fillable = [];
- /**
- * The attributes that should be cast to native types.
- */
- protected array $casts = ['id' => 'integer', 'template_class_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
- }
|