RRobotSiteModel.php 863 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model;
  4. /**
  5. * 机器人站点关联表
  6. */
  7. class RRobotSiteModel extends Model
  8. {
  9. /**
  10. * The connection name for the model.
  11. */
  12. protected ?string $connection = 'robot';
  13. /**
  14. * The table associated with the model.
  15. */
  16. protected ?string $table = 'r_robot_site';
  17. public bool $timestamps = true;
  18. /**
  19. * The name of the "created at" column.
  20. *
  21. * @var null|string
  22. */
  23. public const CREATED_AT = 'create_time';
  24. /**
  25. * The name of the "updated at" column.
  26. *
  27. * @var null|string
  28. */
  29. public const UPDATED_AT = 'update_time';
  30. /**
  31. * The attributes that are mass assignable.
  32. */
  33. protected array $fillable = [];
  34. /**
  35. * The attributes that should be cast to native types.
  36. */
  37. protected array $casts = [];
  38. }