Param.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. class Param extends Model
  5. {
  6. // 设置字段信息
  7. protected $schema = [
  8. 'id' => 'int',
  9. 'indextopbg' => 'string',
  10. 'telephone' => 'string',
  11. 'mycodeban' => 'string',
  12. 'mycodecolor' => 'string',
  13. 'mycodetil' => 'string',
  14. 'mycodepic' => 'string',
  15. 'brokerformpic' => 'string',
  16. 'agentformpic' => 'string',
  17. 'workerformpic' => 'string',
  18. 'addcomjobs' => 'int',
  19. 'addcomjobswyp' => 'int',
  20. 'topcomjobs' => 'int',
  21. 'adddemand' => 'int',
  22. 'adddemandwyd' => 'int',
  23. 'topdemand' => 'int',
  24. 'addsupply' => 'int',
  25. 'topsupply' => 'int',
  26. 'teldemand' => 'int',
  27. 'telsupply' => 'int',
  28. 'mpaccount' => 'string',
  29. 'defviewtol' => 'int',
  30. 'comjobs_commission' => 'float',
  31. 'agent_commission' => 'float',
  32. ];
  33. }