handle SubscriptionWasCreated, SubscriptionWasExpired, SubscriptionWasUpdated on VueFileManager backend

This commit is contained in:
Čarodej
2021-11-19 19:53:16 +01:00
parent 6ca84d9041
commit 8faa865fb7
11 changed files with 158 additions and 27 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Database\Factories;
use App\Users\Models\UserLimitation;
use Illuminate\Database\Eloquent\Factories\Factory;
class UserLimitationFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = UserLimitation::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'user_id' => $this->faker->uuid,
'max_storage_amount' => $this->faker->randomElement([100, 200, 300]),
'max_team_members' => $this->faker->randomElement([10, 20, 30]),
];
}
}