You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 rivejä
1.1 KiB

  1. {
  2. "kind": "collectionType",
  3. "collectionName": "transactions",
  4. "info": {
  5. "name": "Transaction",
  6. "description": ""
  7. },
  8. "options": {
  9. "increments": true,
  10. "timestamps": true,
  11. "draftAndPublish": true
  12. },
  13. "attributes": {
  14. "order_id": {
  15. "type": "string"
  16. },
  17. "product_name": {
  18. "type": "string"
  19. },
  20. "product_quantity": {
  21. "type": "biginteger"
  22. },
  23. "product_price": {
  24. "type": "biginteger"
  25. },
  26. "product_color": {
  27. "type": "string"
  28. },
  29. "product_courier": {
  30. "type": "string"
  31. },
  32. "cust_name": {
  33. "type": "string"
  34. },
  35. "cust_telp": {
  36. "type": "string"
  37. },
  38. "cust_address": {
  39. "type": "string"
  40. },
  41. "note": {
  42. "type": "text"
  43. },
  44. "status": {
  45. "model": "status",
  46. "via": "transactions"
  47. },
  48. "cust_email": {
  49. "type": "email"
  50. },
  51. "cust_postCode": {
  52. "type": "string"
  53. },
  54. "cust_village": {
  55. "type": "string"
  56. },
  57. "cust_district": {
  58. "type": "string"
  59. },
  60. "cust_city": {
  61. "type": "string"
  62. },
  63. "cust_province": {
  64. "type": "string"
  65. }
  66. }
  67. }