spec_value.php 994 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. return [
  3. 'name' => '接口规格值设置',
  4. 'order' => 'sort asc',
  5. 'struct' => [
  6. 'app_func_id' => [
  7. 'name' => '功能id',
  8. 'type' => 'int(11)',
  9. ],
  10. 'spec_id' => [
  11. 'name' => '规格ID',
  12. 'type' => 'int(11)',
  13. ],
  14. 'value' => [
  15. 'name' => '规格值',
  16. 'type' => 'varchar(500)',
  17. ],
  18. 'is_checked' => [
  19. 'name' => '是否选中',
  20. 'type' => 'tinyint(1)',
  21. 'default' => 1,
  22. 'value' => [
  23. 1 => '选中',
  24. 2 => '未选中',
  25. ]
  26. ],
  27. 'sort' => [
  28. 'name' => '排序',
  29. 'type' => 'int(11)',
  30. 'default' => '1',
  31. ],
  32. 'state' => [
  33. 'name' => '数据状态',
  34. 'type' => 'tinyint(1)',
  35. 'default' => '1',
  36. ],
  37. ],
  38. ];