123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class WalletLog.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $model_name 请求模型
- * @property string $send_dta 请求信息
- * @property string $reply_dta 应答信息
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog query()
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereModelName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereReplyDta($value)
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereSendDta($value)
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property int|null $status
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereStatus($value)
- * @property string|null $url
- * @method static \Illuminate\Database\Eloquent\Builder|WalletLog whereUrl($value)
- */
- class WalletLog extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- protected $casts = [
- 'send_dta' => 'array',
- 'reply_dta' => 'array',
- ];
- }
|