34 lines
480 B
PHP
34 lines
480 B
PHP
<?php
|
|
|
|
|
|
|
|
|
|
namespace app\common\model\article;
|
|
|
|
|
|
use app\common\model\BaseModel;
|
|
|
|
class ArticleCategory extends BaseModel
|
|
{
|
|
|
|
/**
|
|
* @return string
|
|
* @author xaboy
|
|
* @day 2020-03-30
|
|
*/
|
|
public static function tablePk(): string
|
|
{
|
|
return 'article_category_id';
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
* @author xaboy
|
|
* @day 2020-03-30
|
|
*/
|
|
public static function tableName(): string
|
|
{
|
|
return 'article_category';
|
|
}
|
|
}
|