SensitiveWords.php 821 B

123456789101112131415161718192021222324252627282930
  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. * Class SensitiveWords
  9. *
  10. * @package App\Http\Models
  11. * @mixin Eloquent
  12. * @property int $id
  13. * @property int $type 类型:1-黑名单、2-白名单
  14. * @property string $words 敏感词
  15. * @method static Builder|SensitiveWords newModelQuery()
  16. * @method static Builder|SensitiveWords newQuery()
  17. * @method static Builder|SensitiveWords query()
  18. * @method static Builder|SensitiveWords whereId($value)
  19. * @method static Builder|SensitiveWords whereType($value)
  20. * @method static Builder|SensitiveWords whereWords($value)
  21. */
  22. class SensitiveWords extends Model
  23. {
  24. public $timestamps = FALSE;
  25. protected $table = 'sensitive_words';
  26. protected $primaryKey = 'id';
  27. }