BlockItems.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 BlockItems.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $m_id m_id
  12. * @property int $coin_id coin_id
  13. * @property int $block_num block_num
  14. * @property float $money 余额
  15. * @property string $from_a from_a
  16. * @property string $hash hash
  17. * @property string $to_a to_a
  18. * @property string $to_type to_type
  19. * @property string $fee_limit fee_limit
  20. * @property string $coin_name coin_name
  21. * @property string|null $pay_at
  22. * @property \Illuminate\Support\Carbon|null $created_at
  23. * @property \Illuminate\Support\Carbon|null $updated_at
  24. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems newModelQuery()
  25. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems newQuery()
  26. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems query()
  27. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereBlockNum($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereCoinId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereCoinName($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereCreatedAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereFeeLimit($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereFromA($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereHash($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereId($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereMId($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereMoney($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems wherePayAt($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereToA($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereToType($value)
  40. * @method static \Illuminate\Database\Eloquent\Builder|BlockItems whereUpdatedAt($value)
  41. * @mixin \Eloquent
  42. */
  43. class BlockItems extends Model implements Transformable
  44. {
  45. use TransformableTrait;
  46. /**
  47. * The attributes that are mass assignable.
  48. *
  49. * @var array
  50. */
  51. protected $guarded = ['id', 'updated_at', 'created_at'];
  52. }