LiveRoomLogModel.php 664 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model\Arts;
  4. use App\Model\Model;
  5. class LiveRoomLogModel extends Model
  6. {
  7. /**
  8. * The table associated with the model.
  9. *
  10. * @var ?string
  11. */
  12. protected ?string $table = 'live_room_log';
  13. protected ?string $dateFormat = 'U';
  14. public bool $timestamps = false;
  15. protected int $is_status_search = 1;// 是否使用 1=是 0=否 默认使用 status = 1 筛选
  16. protected int $is_delete_search = 0;// 是否使用 1=是 0=否 默认使用 is_delete = 0 筛选
  17. /**
  18. * 默认查询字段
  19. *
  20. * @var array|string[]
  21. */
  22. public array $select = [
  23. '*'
  24. ];
  25. }