NoticeModel.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace App\Models\Fpdx;
  3. use App\Models\Model;
  4. /**
  5. * App\Models\Fpdx\NoticeModel
  6. *
  7. * @property int $id 主键
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int|null $deleted_at 删除时间
  11. * @property int $room_id 房间id
  12. * @property string $title 标题
  13. * @property string $content 内容
  14. * @property int $reads 阅读数
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel newModelQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel newQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel query()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereContent($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereCreatedAt($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereDeletedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereReads($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereRoomId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereTitle($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\NoticeModel whereUpdatedAt($value)
  26. * @mixin \Eloquent
  27. */
  28. class NoticeModel extends Model
  29. {
  30. protected $table = "kdgx_fpdx_room_notices";
  31. protected $dateFormat = 'U';
  32. protected $fillable = ['id', 'title', 'content', 'room_id'];
  33. }