ThumbModel.php 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace App\Models\Goodnight;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Goodnight\ThumbModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int $voice_id 声音
  11. * @property int $uid 用户
  12. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel newModelQuery()
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel newQuery()
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel query()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel whereCreatedAt($value)
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel whereId($value)
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel whereUid($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel whereUpdatedAt($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\ThumbModel whereVoiceId($value)
  20. * @mixin \Eloquent
  21. */
  22. class ThumbModel extends Model
  23. {
  24. protected $table = 'kdgx_goodnight_voice_thumb';
  25. protected $dateFormat = 'U';
  26. protected $fillable = ['voice_id', 'uid'];
  27. }