AdminRole.php 510 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace frontend\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "bit_admin_role".
  6. *
  7. * @property integer $admin_set_id
  8. * @property integer $role_set_id
  9. */
  10. class AdminRole extends \yii\db\ActiveRecord
  11. {
  12. /**
  13. * @inheritdoc
  14. */
  15. public static function tableName()
  16. {
  17. return 'bit_admin_role';
  18. }
  19. /**
  20. * @inheritdoc
  21. */
  22. public function rules()
  23. {
  24. return [
  25. [['admin_set_id', 'role_set_id'], 'number'],
  26. ];
  27. }
  28. }