My SMM panel
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
339 B

  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. use App\Models\Order;
  6. class Service extends Model
  7. {
  8. use HasFactory;
  9. protected $fillable = [
  10. 'name', 'type', 'site', 'available'
  11. ];
  12. public function order() {
  13. return $this->hasMany(Order::class);
  14. }
  15. }