MessageModel.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace App\Models\Fpdx;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Fpdx\MessageModel
  6. *
  7. * @property int $id
  8. * @property string $send_uid 发送者
  9. * @property int $receive_uid 接收者
  10. * @property string $msg_content 内容
  11. * @property int $create_time 消息创建时间
  12. * @property int $msg_type 消息类型
  13. * @property int $push_at 推送时间
  14. * @property int $msg_state 推送状态0:未推送;1:送达;2:拒绝
  15. * @property int|null $deleted_at 删除时间
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereCreateTime($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereDeletedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgContent($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgState($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereMsgType($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel wherePushAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereReceiveUid($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Fpdx\MessageModel whereSendUid($value)
  28. * @mixin \Eloquent
  29. */
  30. class MessageModel extends Model
  31. {
  32. protected $table = 'fpdx_pair_room_messages';
  33. public $timestamps = false;
  34. protected $fillable = [
  35. 'send_uid',
  36. 'receive_uid',
  37. 'msg_content',
  38. 'create_time',
  39. 'msg_type',
  40. 'push_at',
  41. 'deleted_at'
  42. ];
  43. }