ConfessModel.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. namespace App\Models;
  3. /**
  4. * 卖室友(官方版)表白记录
  5. * Class ConfessModel
  6. *
  7. * @package App\Models
  8. * @deprecated
  9. * @property int $id 主键
  10. * @property int $uid 用户id
  11. * @property string $media_id 公众号
  12. * @property int $create_at 操作时间
  13. * @property int $partner_id 卡片id
  14. * @property string|null $nickname 昵称
  15. * @property string $content 表白内容
  16. * @property int $send_self 是否发送自己
  17. * @property int $send_msg 是否发送短信
  18. * @property int $receive_msg 接收结果短信
  19. * @property int $state 是否生效1生效;0无效
  20. * @property int|null $receive_state 回复结果0未处理;1同意;-1拒绝
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel newModelQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel newQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel query()
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereContent($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereCreateAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereMediaId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereNickname($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel wherePartnerId($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereReceiveMsg($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereReceiveState($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereSendMsg($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereSendSelf($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereState($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ConfessModel whereUid($value)
  36. * @mixin \Eloquent
  37. */
  38. class ConfessModel extends Model
  39. {
  40. protected $table = 'kdgx_partner_charge_confess';
  41. public $timestamps = false;
  42. public $fillable = [
  43. 'uid',
  44. 'media_id',
  45. 'create_at',
  46. 'partner_id',
  47. 'nickname',
  48. 'content',
  49. 'send_self',
  50. 'send_msg',
  51. 'receive_msg',
  52. 'state',
  53. 'receive_state'
  54. ];
  55. }