You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							30 lines
						
					
					
						
							574 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							30 lines
						
					
					
						
							574 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace App\Models;
							 | 
						|
								
							 | 
						|
								use Illuminate\Database\Eloquent\Factories\HasFactory;
							 | 
						|
								use Illuminate\Database\Eloquent\Model;
							 | 
						|
								use Illuminate\Database\Eloquent\SoftDeletes;
							 | 
						|
								
							 | 
						|
								class AgentProductSpec extends Model
							 | 
						|
								{
							 | 
						|
								    use HasFactory, SoftDeletes;
							 | 
						|
								
							 | 
						|
									protected $guarded = ['id'];
							 | 
						|
								
							 | 
						|
									public function __construct(array $attributes = [])
							 | 
						|
									{
							 | 
						|
										parent::__construct($attributes);
							 | 
						|
										$this->timestamps = false;
							 | 
						|
									}
							 | 
						|
								
							 | 
						|
									public function agentProduct()
							 | 
						|
									{
							 | 
						|
										return $this->belongsTo(AgentProduct::class);
							 | 
						|
									}
							 | 
						|
								
							 | 
						|
									public function productSpec()
							 | 
						|
									{
							 | 
						|
										return $this->belongsTo(ProductSpec::class);
							 | 
						|
									}
							 | 
						|
								}
							 |