giftcon_dev/app/Models/Member/MemStRing.php
2026-01-19 14:45:08 +09:00

25 lines
467 B
PHP

<?php
namespace App\Models\Member;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class MemStRing extends Model
{
protected $table = 'mem_st_ring';
protected $primaryKey = 'mem_no';
public $incrementing = false;
protected $keyType = 'int';
protected $guarded = [];
public function member(): BelongsTo
{
return $this->belongsTo(MemInfo::class, 'mem_no', 'mem_no');
}
}