OrderPointModel.php 528 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model\Arts;
  4. use App\Model\Model;
  5. use Hyperf\DbConnection\Db;
  6. use function Hyperf\Config\config;
  7. class OrderPointModel extends Model
  8. {
  9. /**
  10. * The table associated with the model.
  11. *
  12. * @var ?string
  13. */
  14. protected ?string $table = 'order_point';
  15. protected ?string $dateFormat = 'U';
  16. public bool $timestamps = false;
  17. /**
  18. * 默认查询字段
  19. *
  20. * @var array|string[]
  21. */
  22. public array $select = [
  23. '*'
  24. ];
  25. }