Template.php 543 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. class Template extends Model
  6. {
  7. use HasFactory;
  8. protected $fillable = [
  9. 'name',
  10. ];
  11. /**
  12. * The attributes that should be hidden for serialization.
  13. *
  14. * @var array<int, string>
  15. */
  16. protected $hidden = [
  17. 'password',
  18. ];
  19. /**
  20. * The attributes that should be cast.
  21. *
  22. * @var array<string, string>
  23. */
  24. protected $casts = [
  25. ];
  26. }