mirror of
https://github.com/robonen/metr.git
synced 2026-03-20 10:54:41 +00:00
User authentication
This commit is contained in:
@@ -16,11 +16,12 @@ class Offer extends Model
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'owner_id',
|
||||
'user_id',
|
||||
'name',
|
||||
'type',
|
||||
'price',
|
||||
'rooms',
|
||||
'space',
|
||||
'yandex_mark',
|
||||
'location',
|
||||
'description',
|
||||
@@ -34,6 +35,7 @@ class Offer extends Model
|
||||
*/
|
||||
protected $casts = [
|
||||
'type' => OrderTypesEnum::class,
|
||||
'space' => 'double',
|
||||
'price' => 'double',
|
||||
'is_group' => 'boolean',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user