| 123456789101112131415161718192021 |
- <?php
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- use App\Traits\ModelLogChanging;
- use Illuminate\Database\Eloquent\Relations\BelongsTo;
- class OwnerLogisticPrintTemplate extends Model
- {
- use ModelLogChanging;
- protected $fillable = ['owner_id','logistic_id','print_template_id'];
- //
- public function printTemplate(): BelongsTo
- {
- return $this->belongsTo(PrintTemplate::class);
- }
- }
|