Download src/app/Models/AndroidApiSimInfo.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 818 Bytes
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/AndroidApiSimInfo.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Models/AndroidApiSimInfo.php
-
curl -L -o AndroidApiSimInfo.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/AndroidApiSimInfo.php
818 Bytes
| namespace App\Models; | |
| use App\Traits\Filterable; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Notifications\Notifiable; | |
| use Illuminate\Database\Eloquent\Builder; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Illuminate\Database\Eloquent\Relations\HasMany; | |
| class AndroidApiSimInfo extends Model | |
| { | |
| use HasFactory, Notifiable, Filterable; | |
| protected $fillable = [ | |
| 'android_gateway_id', | |
| 'sim_number', | |
| 'time_interval', | |
| 'send_sms', | |
| 'status' | |
| ]; | |
| public function androidGateway() | |
| { | |
| return $this->belongsTo(AndroidApi::class, 'android_gateway_id'); | |
| } | |
| /** | |
| * @return HasMany | |
| */ | |
| public function smsLog(): HasMany | |
| { | |
| return $this->hasMany(CommunicationLog::class, 'android_gateway_sim_id'); | |
| } | |
| } | |