/
home
/
pay
/
server_old
/
app
/
Models
/
File Upload :
llllll
Current File: /home/pay/server_old/app/Models/PriceTrigger.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class PriceTrigger extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'customer_id', 'target_price', 'price_condition', 'action', 'is_active', 'triggered_at', ]; protected $casts = [ "is_active" => "boolean", ]; public function customer() { return $this->belongsTo(Customer::class); } }
Copyright ©2k19 -
Hexid
|
Tex7ure