Download src/app/Models/EmailCreditLog.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/EmailCreditLog.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Models/EmailCreditLog.php
-
curl -L -o EmailCreditLog.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/EmailCreditLog.php
562 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Notifications\Notifiable; | |
| use Illuminate\Database\Eloquent\Builder; | |
| use App\Traits\Filterable; | |
| class EmailCreditLog extends Model | |
| { | |
| use HasFactory, Notifiable, Filterable; | |
| /** | |
| * @var array | |
| */ | |
| protected $fillable = [ | |
| 'user_id', 'type', 'credit', 'trx_number', 'post_credit', 'details' | |
| ]; | |
| public function user() | |
| { | |
| return $this->belongsTo(User::class, 'user_id'); | |
| } | |
| } | |