Country.php 683 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 string $name 名称
  11. * @property string $code 代码
  12. * @method static Builder|Country newModelQuery()
  13. * @method static Builder|Country newQuery()
  14. * @method static Builder|Country query()
  15. * @method static Builder|Country whereCode($value)
  16. * @method static Builder|Country whereId($value)
  17. * @method static Builder|Country whereName($value)
  18. * @mixin Eloquent
  19. */
  20. class Country extends Model {
  21. public $timestamps = false;
  22. protected $table = 'country';
  23. protected $primaryKey = 'id';
  24. }