Config.php 681 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Builder;
  4. use Illuminate\Database\Eloquent\Model;
  5. /**
  6. * 系统配置
  7. *
  8. * @property int $id
  9. * @property string $name 配置名
  10. * @property string|null $value 配置值
  11. * @method static Builder|Config newModelQuery()
  12. * @method static Builder|Config newQuery()
  13. * @method static Builder|Config query()
  14. * @method static Builder|Config whereId($value)
  15. * @method static Builder|Config whereName($value)
  16. * @method static Builder|Config whereValue($value)
  17. * @mixin \Eloquent
  18. */
  19. class Config extends Model {
  20. public $timestamps = false;
  21. protected $table = 'config';
  22. protected $primaryKey = 'id';
  23. }