mirror of
https://github.com/glmdev/eecs448-lab10
synced 2026-03-02 03:39:24 +00:00
Initial commit
This commit is contained in:
11
app/UserRepository.php
Normal file
11
app/UserRepository.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace app;
|
||||
|
||||
use common\database\Repository;
|
||||
|
||||
class UserRepository extends Repository {
|
||||
protected $table = 'users';
|
||||
protected $primary_key = 'user_id';
|
||||
protected $fields = ['user_id', 'username'];
|
||||
}
|
||||
Reference in New Issue
Block a user