some progress
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Wishlist extends Model
|
||||
{
|
||||
public const VISIBILITY_PUBLIC = 'public';
|
||||
public const VISIBILITY_PRIVATE = 'private';
|
||||
public const VISIBILITY_FRIENDS_ONLY = 'friends_only';
|
||||
|
||||
public const VISIBILITIES = [
|
||||
self::VISIBILITY_PUBLIC,
|
||||
self::VISIBILITY_PRIVATE,
|
||||
self::VISIBILITY_FRIENDS_ONLY,
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'name',
|
||||
'description',
|
||||
'visibility',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user