BlockItem.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 BlockItem.
  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|BlockItem newModelQuery()
  25. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem newQuery()
  26. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem query()
  27. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereBlockNum($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCoinId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCoinName($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCreatedAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereFeeLimit($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereFromA($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereHash($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereId($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereMId($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereMoney($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem wherePayAt($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereToA($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereToType($value)
  40. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereUpdatedAt($value)
  41. * @mixin \Eloquent
  42. * @property string|null $contract_address 合约地址
  43. * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereContractAddress($value)
  44. */
  45. class BlockItem extends Model implements Transformable
  46. {
  47. use TransformableTrait;
  48. /**
  49. * The attributes that are mass assignable.
  50. *
  51. * @var array
  52. */
  53. protected $guarded = ['id', 'updated_at', 'created_at'];
  54. }