ThumbModel.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace App\Models\Diary;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Diary\ThumbModel
  6. *
  7. * @property int $id
  8. * @property int $uid uid
  9. * @property int $diary_id 日记ID
  10. * @property \Illuminate\Support\Carbon $created_at 创建时间
  11. * @property \Illuminate\Support\Carbon $updated_at 修改时间
  12. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel newModelQuery()
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel newQuery()
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel query()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel whereCreatedAt($value)
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel whereDiaryId($value)
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel whereId($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel whereUid($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Diary\ThumbModel whereUpdatedAt($value)
  20. * @mixin \Eloquent
  21. */
  22. class ThumbModel extends Model
  23. {
  24. protected $table = "kdgx_fpdx_diary_thumbs";
  25. protected $dateFormat = 'U';
  26. public $fillable = ['uid', 'diary_id'];
  27. }