Files
opensem/app/Models/Shop/DeliveryPackage.php
Ludovic CANDELLIER 39c80ce6d1 add shipping rules
2023-07-16 14:45:42 +02:00

22 lines
505 B
PHP

<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use \Venturecraft\Revisionable\RevisionableTrait;
use Wildside\Userstamps\Userstamps;
class DeliveryPackage extends Model
{
use RevisionableTrait, SoftDeletes, Userstamps;
protected $guarded = ['id'];
protected $table = 'shop_delivery_packages';
protected $revisionEnabled = true;
protected $keepRevisionOf = ['weight', 'weight_flyer', 'weight_packaging'];
}