Config.php 699 B

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