1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class BlockItem.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $m_id m_id
- * @property int $coin_id coin_id
- * @property int $block_num block_num
- * @property float $money 余额
- * @property string $from_a from_a
- * @property string $hash hash
- * @property string $to_a to_a
- * @property string $to_type to_type
- * @property string $fee_limit fee_limit
- * @property string $coin_name coin_name
- * @property string|null $pay_at
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem query()
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereBlockNum($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCoinId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCoinName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereFeeLimit($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereFromA($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereHash($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem wherePayAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereToA($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereToType($value)
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property string|null $contract_address 合约地址
- * @method static \Illuminate\Database\Eloquent\Builder|BlockItem whereContractAddress($value)
- */
- class BlockItem extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|