Broadcast.php 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 Broadcast.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $from from
  12. * @property string $to to
  13. * @property string $nonce nonce
  14. * @property string $value value
  15. * @property string $data data
  16. * @property string $chain_id chain_id
  17. * @property string $gas_price gas_price
  18. * @property string $gas_limit gas_limit
  19. * @property string $sign sign
  20. * @property string $hash hash
  21. * @property string $from_key from_key
  22. * @property string $error error
  23. * @property string $contract_address contract_address
  24. * @property string $to_address to_address
  25. * @property string $success success
  26. * @property float $money 余额
  27. * @property int $type type
  28. * @property int $status status
  29. * @property int $order_id order_id
  30. * @property int $coin_id coin_id
  31. * @property int $depend depend
  32. * @property int $m_id m_id
  33. * @property \Illuminate\Support\Carbon|null $created_at
  34. * @property \Illuminate\Support\Carbon|null $updated_at
  35. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast newModelQuery()
  36. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast newQuery()
  37. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast query()
  38. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereChainId($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereCoinId($value)
  40. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereContractAddress($value)
  41. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereCreatedAt($value)
  42. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereData($value)
  43. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereDepend($value)
  44. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereError($value)
  45. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereFrom($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereFromKey($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereGasLimit($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereGasPrice($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereHash($value)
  50. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereId($value)
  51. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereMId($value)
  52. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereMoney($value)
  53. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereNonce($value)
  54. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereOrderId($value)
  55. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereSign($value)
  56. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereStatus($value)
  57. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereSuccess($value)
  58. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereTo($value)
  59. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereToAddress($value)
  60. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereType($value)
  61. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereUpdatedAt($value)
  62. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereValue($value)
  63. * @mixin \Eloquent
  64. */
  65. class Broadcast extends Model implements Transformable
  66. {
  67. use TransformableTrait;
  68. /**
  69. * The attributes that are mass assignable.
  70. *
  71. * @var array
  72. */
  73. protected $guarded = ['id', 'updated_at', 'created_at'];
  74. }