GroupModel.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace App\Models\Syj;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Syj\GroupModel
  6. *
  7. * @property int $id
  8. * @property string $name 名称
  9. * @property string $image 图片
  10. * @property int $capacity_number 容量人数
  11. * @property int $total_number 当前人数
  12. * @property int $state 上下线状态
  13. * @property int $expired_at 过期时间
  14. * @property \Illuminate\Support\Carbon $created_at
  15. * @property \Illuminate\Support\Carbon $updated_at
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereCapacityNumber($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereCreatedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereExpiredAt($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereImage($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereName($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereState($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereTotalNumber($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\GroupModel whereUpdatedAt($value)
  28. * @mixin \Eloquent
  29. */
  30. class GroupModel extends Model
  31. {
  32. //
  33. protected $table = 'syj_groups';
  34. protected $dateFormat = 'U';
  35. protected $fillable = ['name', 'image', 'state', 'capacity_number', 'total_number', 'expired_at'];
  36. }