TopicModel.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Models\Goodnight;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Goodnight\TopicModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at
  9. * @property \Illuminate\Support\Carbon $updated_at
  10. * @property string $topic
  11. * @property int $show
  12. * @property int $sort
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel newModelQuery()
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel newQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel query()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereCreatedAt($value)
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereId($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereShow($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereSort($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereTopic($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\TopicModel whereUpdatedAt($value)
  22. * @mixin \Eloquent
  23. */
  24. class TopicModel extends Model
  25. {
  26. protected $table = 'kdgx_goodnight_voice_topics';
  27. protected $dateFormat = 'U';
  28. protected $fillable = ['show', 'topic', 'sort'];
  29. }