mirror of
https://github.com/glmdev/eecs448-lab10
synced 2024-10-27 19:14:00 +00:00
12 lines
231 B
PHP
12 lines
231 B
PHP
<?php
|
|
|
|
namespace app;
|
|
|
|
use common\database\Repository;
|
|
|
|
class PostRepository extends Repository {
|
|
protected $table = 'posts';
|
|
protected $primary_key = 'post_id';
|
|
protected $fields = ['post_id', 'user_id', 'content'];
|
|
}
|