| 2 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace App\Models;
|
|
|
4 |
|
|
|
5 |
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
6 |
use Illuminate\Database\Eloquent\Model;
|
|
|
7 |
|
| 415 |
lars |
8 |
/**
|
|
|
9 |
* App\Models\SalesPortal
|
|
|
10 |
*
|
|
|
11 |
* @property int $id
|
|
|
12 |
* @property string $name
|
|
|
13 |
* @property string $template
|
|
|
14 |
* @property int|null $sales_portal_type_id
|
|
|
15 |
* @property string $sku_prefix
|
|
|
16 |
* @property int $price_number
|
|
|
17 |
* @property int $base_price
|
|
|
18 |
* @property float $min_price
|
|
|
19 |
* @property float $max_price
|
|
|
20 |
* @property int $digits
|
|
|
21 |
* @property int $standard_amount
|
|
|
22 |
* @property string $item_url
|
|
|
23 |
* @property string $currency
|
|
|
24 |
* @property string $shipping_state
|
|
|
25 |
* @property string $delivery
|
|
|
26 |
* @property float $shipping_cost
|
|
|
27 |
* @property int $afterbuy
|
|
|
28 |
* @property int $salutation
|
|
|
29 |
* @property string $commit_fields
|
|
|
30 |
* @property string $zip
|
|
|
31 |
* @property string $location
|
|
|
32 |
* @property string $created_by
|
|
|
33 |
* @property string $updated_by
|
|
|
34 |
* @property \Illuminate\Support\Carbon|null $created_at
|
|
|
35 |
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
|
36 |
* @property-read \App\Models\SalesPortalType|null $sales_portal_type
|
|
|
37 |
* @method static \Database\Factories\SalesPortalFactory factory($count = null, $state = [])
|
|
|
38 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal newModelQuery()
|
|
|
39 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal newQuery()
|
|
|
40 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal query()
|
|
|
41 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereAfterbuy($value)
|
|
|
42 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereBasePrice($value)
|
|
|
43 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereCommitFields($value)
|
|
|
44 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereCreatedAt($value)
|
|
|
45 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereCreatedBy($value)
|
|
|
46 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereCurrency($value)
|
|
|
47 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereDelivery($value)
|
|
|
48 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereDigits($value)
|
|
|
49 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereId($value)
|
|
|
50 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereItemUrl($value)
|
|
|
51 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereLocation($value)
|
|
|
52 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereMaxPrice($value)
|
|
|
53 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereMinPrice($value)
|
|
|
54 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereName($value)
|
|
|
55 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal wherePriceNumber($value)
|
|
|
56 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereSalesPortalTypeId($value)
|
|
|
57 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereSalutation($value)
|
|
|
58 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereShippingCost($value)
|
|
|
59 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereShippingState($value)
|
|
|
60 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereSkuPrefix($value)
|
|
|
61 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereStandardAmount($value)
|
|
|
62 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereTemplate($value)
|
|
|
63 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereUpdatedAt($value)
|
|
|
64 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereUpdatedBy($value)
|
|
|
65 |
* @method static \Illuminate\Database\Eloquent\Builder|SalesPortal whereZip($value)
|
|
|
66 |
* @mixin \Eloquent
|
|
|
67 |
*/
|
|
|
68 |
class SalesPortal extends Model
|
| 2 |
lars |
69 |
{
|
|
|
70 |
use HasFactory;
|
|
|
71 |
|
|
|
72 |
public function sales_portal_type()
|
|
|
73 |
{
|
|
|
74 |
return $this->belongsTo( SalesPortalType::class );
|
|
|
75 |
}
|
|
|
76 |
}
|