SystemData.php 822 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace app\model\system;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property mixed $name
  7. * @property mixed $content
  8. * @property integer $is_default 是否使用
  9. */
  10. class SystemData extends Model
  11. {
  12. /**
  13. * The connection name for the model.
  14. *
  15. * @var string|null
  16. */
  17. protected $connection = 'mysql';
  18. /**
  19. * The table associated with the model.
  20. *
  21. * @var string
  22. */
  23. protected string $table = "system_data";
  24. /**
  25. * The primary key associated with the table.
  26. *
  27. * @var string
  28. */
  29. protected string $primaryKey = "id";
  30. /**
  31. * Indicates if the model should be timestamped.
  32. *
  33. * @var bool
  34. */
  35. public bool $timestamps = false;
  36. }