Broadcast.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. * @property int $u_id m_id
  65. * @method static \Illuminate\Database\Eloquent\Builder|Broadcast whereUId($value)
  66. */
  67. class Broadcast extends Model implements Transformable
  68. {
  69. use TransformableTrait;
  70. /**
  71. * The attributes that are mass assignable.
  72. *
  73. * @var array
  74. */
  75. protected $guarded = ['id', 'updated_at', 'created_at'];
  76. }