ClubPointDetail.php 299 B

123456789101112131415161718
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class ClubPointDetail extends Model
  5. {
  6. public function product()
  7. {
  8. return $this->belongsTo(Product::class);
  9. }
  10. public function club_point()
  11. {
  12. return $this->belongsTo(ClubPoint::class);
  13. }
  14. }