海南旅游SAAS
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.

25 lines
490 B

  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. use Illuminate\Database\Eloquent\SoftDeletes;
  6. class IndustryProductSpec extends Model
  7. {
  8. use HasFactory, SoftDeletes;
  9. protected $guarded = ['id'];
  10. public function __construct(array $attributes = [])
  11. {
  12. parent::__construct($attributes);
  13. $this->timestamps = false;
  14. }
  15. public function product()
  16. {
  17. return $this->belongsTo(IndustryProduct::class);
  18. }
  19. }