|
- {
- "kind": "collectionType",
- "collectionName": "accessories",
- "info": {
- "name": "accessories",
- "description": ""
- },
- "options": {
- "increments": true,
- "timestamps": true,
- "draftAndPublish": true
- },
- "attributes": {
- "name": {
- "type": "string",
- "required": true
- },
- "description": {
- "type": "richtext"
- },
- "price": {
- "type": "float"
- },
- "part_code": {
- "type": "string"
- },
- "img": {
- "model": "file",
- "via": "related",
- "allowedTypes": [
- "images",
- "files",
- "videos"
- ],
- "plugin": "upload",
- "required": false
- },
- "stock": {
- "type": "string"
- },
- "otr_price_sumsel": {
- "type": "biginteger"
- },
- "otr_price_palembang": {
- "type": "biginteger"
- },
- "otr_price_bengkulu": {
- "type": "biginteger"
- },
- "discount": {
- "type": "decimal"
- }
- }
- }
|