FriendsModel.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. namespace App\Models\Deed;
  3. use App\Models\Model;
  4. /**
  5. * App\Models\Deed\FriendsModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property int $uid 用户
  10. * @property int $friend_uid 好友id
  11. * @property int $last_at 上次交互时间
  12. * @property int $friend_type 好友来源:0=相互喜欢;1=心动邀请;2=活动72h匹配;3=晚安匹配;4=开黑cj匹配;5=开黑wz匹配;6=被心动邀请
  13. * @property string $friend_type_data 来源附加数据
  14. * @property int $star_at 星标时间
  15. * @property int $is_hide 是否隐藏0否;1是
  16. * @property string $last_msg 最后一次交互的消息
  17. * @property int $each_like 相互心动【标签】
  18. * @property int $pair 72h标签
  19. * @property int $like_invite 好友申请标签
  20. * @property int $gteam 开黑标签
  21. * @property int $goodnight 晚安标签
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel newModelQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel newQuery()
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel query()
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereEachLike($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendType($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendTypeData($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereFriendUid($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereGoodnight($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereGteam($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereId($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereIsHide($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLastAt($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLastMsg($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereLikeInvite($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel wherePair($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereStarAt($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\FriendsModel whereUid($value)
  40. * @mixin \Eloquent
  41. */
  42. class FriendsModel extends Model
  43. {
  44. protected $table = "kdgx_fpdx_friends";
  45. protected $dateFormat = 'U';
  46. public const UPDATED_AT = null;
  47. protected $fillable = [
  48. 'id',
  49. 'created_at',
  50. 'uid',
  51. 'friend_uid',
  52. 'last_at',
  53. 'is_friend',
  54. 'friend_type_data',
  55. 'star_at',
  56. 'is_hide',
  57. 'unread_cnt'
  58. ];
  59. }