BlockInfo.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class BlockInfo.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $analyze 扫描高度
  12. * @property int $num 最高高度
  13. * @property string $coin_name coin_name
  14. * @property string $coin_id coin_id
  15. * @property \Illuminate\Support\Carbon|null $created_at
  16. * @property \Illuminate\Support\Carbon|null $updated_at
  17. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo newModelQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo newQuery()
  19. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo query()
  20. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereAnalyze($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereCoinId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereCoinName($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereCreatedAt($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereNum($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|BlockInfo whereUpdatedAt($value)
  27. * @mixin \Eloquent
  28. */
  29. class BlockInfo extends Model implements Transformable
  30. {
  31. use TransformableTrait;
  32. /**
  33. * The attributes that are mass assignable.
  34. *
  35. * @var array
  36. */
  37. protected $guarded = ['id', 'updated_at', 'created_at'];
  38. }