您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

55 行
945 B

  1. {
  2. "kind": "collectionType",
  3. "collectionName": "accessories",
  4. "info": {
  5. "name": "accessories",
  6. "description": ""
  7. },
  8. "options": {
  9. "increments": true,
  10. "timestamps": true,
  11. "draftAndPublish": true
  12. },
  13. "attributes": {
  14. "name": {
  15. "type": "string",
  16. "required": true
  17. },
  18. "description": {
  19. "type": "richtext"
  20. },
  21. "price": {
  22. "type": "float"
  23. },
  24. "part_code": {
  25. "type": "string"
  26. },
  27. "img": {
  28. "model": "file",
  29. "via": "related",
  30. "allowedTypes": [
  31. "images",
  32. "files",
  33. "videos"
  34. ],
  35. "plugin": "upload",
  36. "required": false
  37. },
  38. "stock": {
  39. "type": "string"
  40. },
  41. "otr_price_sumsel": {
  42. "type": "biginteger"
  43. },
  44. "otr_price_palembang": {
  45. "type": "biginteger"
  46. },
  47. "otr_price_bengkulu": {
  48. "type": "biginteger"
  49. },
  50. "discount": {
  51. "type": "decimal"
  52. }
  53. }
  54. }