Newsletter.php 498 B

1234567891011121314151617181920212223242526272829
  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\customer;
  10. use yii\db\ActiveRecord;
  11. /**
  12. * @author Terry Zhao <2358269014@qq.com>
  13. * @since 1.0
  14. */
  15. class Newsletter extends ActiveRecord
  16. {
  17. const ENABLE_STATUS = 1;
  18. const DISABLE_STATUS = 10;
  19. public static function tableName()
  20. {
  21. return '{{%newsletter}}';
  22. }
  23. }