Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 296 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<?php

    namespace App\Models;

    use Illuminate\Database\Eloquent\Factories\HasFactory;
    use Illuminate\Database\Eloquent\Model;

    /**
 * App\Models\SupplierShipping
 *
 * @property int $id
 * @property int $rank
 * @property int|null $shipping_group_id
 * @property int|null $supplier_id
 * @property string $name
 * @property string $info_shop
 * @property string $info_mail
 * @property string $info_internal
 * @property int $island_shipping
 * @property string $additions
 * @property int $status
 * @property float $price
 * @property float $calc_weight_from
 * @property float $calc_weight_to
 * @property float $calc_price_from
 * @property float $calc_price_to
 * @property int $tax_rate
 * @property string $conditions
 * @property string $created_by
 * @property string $updated_by
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \App\Models\ShippingGroup|null $shipping_group
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping query()
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereAdditions($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCalcPriceFrom($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCalcPriceTo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCalcWeightFrom($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCalcWeightTo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereConditions($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereCreatedBy($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereInfoInternal($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereInfoMail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereInfoShop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereIslandShipping($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereRank($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereShippingGroupId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereSupplierId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereTaxRate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SupplierShipping whereUpdatedBy($value)
 * @mixin \Eloquent
 */
class SupplierShipping extends Model
    {
        use HasFactory;

        protected $table = "shippings";

        protected $fillable = array(
            "name",
            "rank",
            "shipping_group_id",
            "supplier_id",
            "island_shipping",
            "price",
            "status",
            "calc_price_from",
            "calc_price_to",
            "calc_weight_from",
            "calc_weight-to",
        );

        public function shipping_group()
        {
            return $this->belongsTo( ShippingGroup::class );
        }
    }