<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserSocialLink extends Model
{
    protected $fillable = ['user_id', 'platform', 'value', 'visibility', 'sort_order'];

    const VISIBILITIES = ['public', 'registered', 'subscribers', 'only_me'];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
