Article.php 481 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecshop\models\mysqldb\cms;
  10. use yii\db\ActiveRecord;
  11. /**
  12. * @author Terry Zhao <2358269014@qq.com>
  13. * @since 1.0
  14. */
  15. class Article extends ActiveRecord
  16. {
  17. const STATUS_DELETED = 10;
  18. const STATUS_ACTIVE = 1;
  19. public static function tableName()
  20. {
  21. return '{{%article}}';
  22. }
  23. }