| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <?phpnamespace App\Models;use Illuminate\Database\Eloquent\Model;/** * App\Models\MembersHandsel * * @property int $id * @property int $uid 会员id * @property int $utype 会员类型:1企业2个人 * @property string $htype 操作类型 * @property string $htype_cn 操作类型 * @property int $operate 增减操作(1:加 2:减) * @property int $points 积分 * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel newQuery() * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel query() * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereHtype($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereHtypeCn($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereOperate($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel wherePoints($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereUid($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MembersHandsel whereUtype($value) * @mixin \Eloquent */class MembersHandsel extends Model{    protected $table = 'members_handsels';    protected static $unguarded = true;    public function membersPoints()    {        return $this->belongsTo(MembersPoint::class, 'uid', 'uid');    }    public function members()    {        return $this->belongsTo(Member::class,'uid','id');    }}
 |