Config.php 742 B

12345678910111213141516171819202122232425262728293031
  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 Config
  9. *
  10. * @package App\Http\Models
  11. * @mixin Eloquent
  12. * @property int $id
  13. * @property string $name 配置名
  14. * @property string|null $value 配置值
  15. * @method static Builder|Config newModelQuery()
  16. * @method static Builder|Config newQuery()
  17. * @method static Builder|Config query()
  18. * @method static Builder|Config whereId($value)
  19. * @method static Builder|Config whereName($value)
  20. * @method static Builder|Config whereValue($value)
  21. */
  22. class Config extends Model
  23. {
  24. public $timestamps = FALSE;
  25. protected $table = 'config';
  26. protected $primaryKey = 'id';
  27. }