ComplaintModel.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. namespace App\Models;
  3. /**
  4. * App\Models\ComplaintModel
  5. *
  6. * @property int $id
  7. * @property int $uid 举报人
  8. * @property int $be_uid 被举报人
  9. * @property string $type 举报类型
  10. * @property int $value 类型的值
  11. * @property string $title 标题
  12. * @property array $images 图片
  13. * @property string $content 内容
  14. * @property int $reply_at 回复时间
  15. * @property string $reply_content 回复内容
  16. * @property int $state 处理方式:0,待处理;1,仅回复;2,联系客服;3,退换小花;4,修改为不满意
  17. * @property \Illuminate\Support\Carbon $created_at 创建时间
  18. * @property \Illuminate\Support\Carbon $updated_at 修改时间
  19. * @property string $phone 手机号
  20. * @property array $search 搜索
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel newModelQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel newQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel query()
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereBeUid($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereContent($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereCreatedAt($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereImages($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel wherePhone($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereReplyAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereReplyContent($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereSearch($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereState($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereTitle($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereType($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereUid($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereUpdatedAt($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ComplaintModel whereValue($value)
  39. * @mixin \Eloquent
  40. */
  41. class ComplaintModel extends Model
  42. {
  43. protected $table = 'kdgx_fpdx_complaints';
  44. protected $casts = [
  45. 'images' => 'array',
  46. 'search' => 'array',
  47. ];
  48. protected $fillable = [
  49. 'uid',
  50. 'be_uid',
  51. 'type',
  52. 'value',
  53. 'title',
  54. 'content',
  55. 'images',
  56. 'reply_at',
  57. 'replay_content',
  58. 'phone',
  59. 'search'
  60. ];
  61. protected $dateFormat = 'U';
  62. }