Skip to content

Commit

Permalink
Added description for dont usage vendor user model
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Sep 11, 2024
1 parent f4aaf0d commit fd13464
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Platform/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
use Orchid\Screen\AsSource;
use Orchid\Support\Facades\Dashboard;

/**
* This class serves as a base model for system users and is not intended
* for direct use. It is recommended to extend this class when creating
* custom user models, allowing flexibility in extending functionality
* and modifying logic.
*
* The main idea is for this class to provide a standard implementation
* that can be adapted to the specific needs of the application through
* inheritance. This approach helps avoid modifying the base logic while
* enabling the addition of unique features and behaviors in derived classes.
*
* Directly using this class may limit future extensibility and lead to
* unintended changes in the behavior of the entire system.
*/
class User extends Authenticatable implements UserInterface
{
use AsSource, Chartable, Filterable, HasFactory, Notifiable, UserAccess;
Expand Down

0 comments on commit fd13464

Please sign in to comment.