RaiseAmountModel.php 618 B

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