SensitiveWords.php 770 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Http\Models;
  3. use Eloquent;
  4. use Illuminate\Database\Eloquent\Builder;
  5. use Illuminate\Database\Eloquent\Model;
  6. /**
  7. * 敏感词
  8. *
  9. * @property int $id
  10. * @property int $type 类型:1-黑名单、2-白名单
  11. * @property string $words 敏感词
  12. * @method static Builder|SensitiveWords newModelQuery()
  13. * @method static Builder|SensitiveWords newQuery()
  14. * @method static Builder|SensitiveWords query()
  15. * @method static Builder|SensitiveWords whereId($value)
  16. * @method static Builder|SensitiveWords whereType($value)
  17. * @method static Builder|SensitiveWords whereWords($value)
  18. * @mixin Eloquent
  19. */
  20. class SensitiveWords extends Model {
  21. public $timestamps = false;
  22. protected $table = 'sensitive_words';
  23. protected $primaryKey = 'id';
  24. }