UserParam.php 934 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. class UserParam extends Model
  5. {
  6. // 设置字段信息
  7. protected $schema = [
  8. 'id' => 'int',
  9. 'redmoney' => 'int',
  10. 'usernumber' => 'int',
  11. 'shareintegral' => 'int',
  12. 'postintegral' => 'int',
  13. 'inttomoney' => 'int',
  14. 'minintegral' => 'int',
  15. 'intrecharge' => 'int',
  16. 'picregworker' => 'string',
  17. 'intregworker' => 'int',
  18. 'register' => 'int',
  19. 'improveresume' => 'int',
  20. 'certification' => 'int',
  21. 'entry' => 'int',
  22. 'signin' => 'int',
  23. 'sharejob' => 'int',
  24. 'sharejobnum' => 'int',
  25. 'taskimage' => 'string',
  26. 'getmoney' => 'string',
  27. 'commission' => 'string',
  28. ];
  29. protected $type = [
  30. 'getmoney' => 'json',
  31. 'commission' => 'json',
  32. ];
  33. }