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.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							221 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							221 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace App\Models;
							 | 
						|
								
							 | 
						|
								use Illuminate\Database\Eloquent\Factories\HasFactory;
							 | 
						|
								
							 | 
						|
								class Notice extends BaseModel
							 | 
						|
								{
							 | 
						|
								    use HasFactory;
							 | 
						|
								
							 | 
						|
									public function scopeStatus($query)
							 | 
						|
									{
							 | 
						|
										return $query->where('status',1);
							 | 
						|
									}
							 | 
						|
								}
							 |