sharix_open_synced_testdata.sql 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. -- Dumped from database version 12.7
  5. -- Dumped by pg_dump version 12.7
  6. SET statement_timeout = 0;
  7. SET lock_timeout = 0;
  8. SET idle_in_transaction_session_timeout = 0;
  9. SET client_encoding = 'UTF8';
  10. SET standard_conforming_strings = on;
  11. SELECT pg_catalog.set_config('search_path', '', false);
  12. SET check_function_bodies = false;
  13. SET xmloption = content;
  14. SET client_min_messages = warning;
  15. SET row_security = off;
  16. --
  17. -- Data for Name: client; Type: TABLE DATA; Schema: public; Owner: postgres
  18. --
  19. COPY public.client (id, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible) FROM stdin;
  20. 1 1 требования для получения клиентск A 1 1 t f
  21. 2 2 требования для получения клиентск A 2 2 t f
  22. 3 3 требования для получения клиентск A 3 3 t f
  23. \.
  24. --
  25. -- Data for Name: company; Type: TABLE DATA; Schema: public; Owner: postgres
  26. --
  27. COPY public.company (id, legal_name, repr_id, kpp, ogrn, bank_name, bik, ks, rs, address, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  28. 1768457325 Юрий Александрович Смолин 1 876753121 7845637495863 HtGdtesgG 983744234 3 5 JhduYdyd 1 t f code A 1
  29. 1739503233 Анна Юрьевна Соловьева 2 876753121 7845637495863 HtGdtesgG 983744234 1 2 JhduYdyd 1 t f code A 1
  30. 1739523233 Некрасов Олег Алексеевич 3 876753121 7845637495863 HtGdtesgG 983744234 3 3 JhduYdyd 3 t f code A 1
  31. \.
  32. --
  33. -- Data for Name: provider; Type: TABLE DATA; Schema: public; Owner: postgres
  34. --
  35. COPY public.provider (id, type, id_company, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible, location_type, default_location) FROM stdin;
  36. 1 1 1 1 код для активного ресурса A 1 1 t f статическая default location
  37. 2 2 2 2 код для активного ресурса A 2 2 t f динамическая default location
  38. 3 3 3 3 код для активного ресурса A 3 3 t f динамическая default location
  39. \.
  40. --
  41. -- Data for Name: resource; Type: TABLE DATA; Schema: public; Owner: postgres
  42. --
  43. COPY public.resource (id, type_id, user_id, requirements, status, ticket_status, id_metaservice, is_global, is_visible) FROM stdin;
  44. 1 1 1 код активного ресурса A 1 1 t f
  45. 2 2 2 код активного ресурса A 2 2 t f
  46. 3 3 3 код активного ресурса A 3 3 t f
  47. \.
  48. --
  49. -- Data for Name: servicetype; Type: TABLE DATA; Schema: public; Owner: postgres
  50. --
  51. COPY public.servicetype (id, caption, description, pricetype, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  52. 1 Наименование услуги описание услуги 1 1 t f fsdkjh A 1
  53. 2 Наименование услуги описание услуги 2 2 t f fsdkjh A 1
  54. 3 Наименование услуги описание услуги 3 3 t f fsdkjh A 1
  55. \.
  56. --
  57. -- Data for Name: service; Type: TABLE DATA; Schema: public; Owner: postgres
  58. --
  59. COPY public.service (id, servicetype_id, id_provider, resourse_id, price_alg, price_km, price_min, price_amount, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  60. 1 1 1 1 sdf87675312-sdfsdf=sfer 212,00 ₽ 13,00 ₽ 1 415,00 ₽ 1 t f fsdkjh A 1
  61. 2 2 2 2 sdf87675312-sdfsdf=sfer 212,00 ₽ 13,00 ₽ 1 415,00 ₽ 1 t f fsdkjh A 1
  62. 3 3 3 3 sdf87675312-sdfsdf=sfer 212,00 ₽ 13,00 ₽ 1 415,00 ₽ 1 t f fsdkjh A 1
  63. \.
  64. --
  65. -- Data for Name: current_orders; Type: TABLE DATA; Schema: public; Owner: postgres
  66. --
  67. COPY public.current_orders (id, service_id, service_type_id, state, id_metaservice, time_created, time_placed, time_start, time_finish_predicted, time_finish_real, provider_id, receiver_id, client_id, predicted_price, real_price, is_global, is_visible) FROM stdin;
  68. 1 1 1 1 1 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 1 1 1 435,66 ₽ 546 987,88 ₽ t f
  69. 2 2 2 2 2 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2 2 2 435,66 ₽ 546 987,88 ₽ t f
  70. 3 3 3 3 3 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 2022-04-17 01:02:03+03 3 3 3 435,66 ₽ 546 987,88 ₽ t f
  71. \.
  72. --
  73. -- Data for Name: documents; Type: TABLE DATA; Schema: public; Owner: postgres
  74. --
  75. COPY public.documents (id, id_metaservice, doctype, expire_date, datalink, user_id, company_id, is_global, is_visible, check_level, check_by, check_date, status, ticket_status) FROM stdin;
  76. 5 1 99 2022-04-17 C:\\Folder 1 1768457325 t f C 1 2022-04-17 01:02:03+03 A 2
  77. 6 2 99 2022-04-17 C:\\Folder 2 1768457325 t f C 2 2022-04-17 01:02:03+03 A 2
  78. 7 3 99 2022-04-17 C:\\Folder 3 1768457325 t f C 2 2022-04-17 01:02:03+03 A 2
  79. \.
  80. --
  81. -- Data for Name: permissions; Type: TABLE DATA; Schema: public; Owner: postgres
  82. --
  83. COPY public.permissions (id, id_metaservice, id_permission, user_id, is_global, is_visible, check_level, check_by, check_date, status, ticket_status) FROM stdin;
  84. 1 1 1 1 t f C 1 2022-04-17 01:02:03+03 A 1
  85. 2 2 2 2 t f C 2 2022-04-17 01:02:03+03 A 2
  86. 3 3 3 3 t f C 3 2022-04-17 01:02:03+03 A 2
  87. \.
  88. --
  89. -- Data for Name: relationship; Type: TABLE DATA; Schema: public; Owner: postgres
  90. --
  91. COPY public.relationship (id, user_id_who, user_id_whom, neg_type, id_metaservice, is_global, is_visible, requirements, status, ticket_status) FROM stdin;
  92. 1 1 1 1 1 t f код A 1
  93. 2 2 2 2 2 t f код A 2
  94. 3 3 3 3 3 t f код A 3
  95. \.
  96. --
  97. -- Name: client_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  98. --
  99. SELECT pg_catalog.setval('public.client_id_seq', 3, true);
  100. --
  101. -- Name: company_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  102. --
  103. SELECT pg_catalog.setval('public.company_id_seq', 1, false);
  104. --
  105. -- Name: current_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  106. --
  107. SELECT pg_catalog.setval('public.current_orders_id_seq', 3, true);
  108. --
  109. -- Name: documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  110. --
  111. SELECT pg_catalog.setval('public.documents_id_seq', 7, true);
  112. --
  113. -- Name: permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  114. --
  115. SELECT pg_catalog.setval('public.permissions_id_seq', 3, true);
  116. --
  117. -- Name: provider_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  118. --
  119. SELECT pg_catalog.setval('public.provider_id_seq', 3, true);
  120. --
  121. -- Name: relationship_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  122. --
  123. SELECT pg_catalog.setval('public.relationship_id_seq', 3, true);
  124. --
  125. -- Name: resource_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  126. --
  127. SELECT pg_catalog.setval('public.resource_id_seq', 3, true);
  128. --
  129. -- Name: service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  130. --
  131. SELECT pg_catalog.setval('public.service_id_seq', 3, true);
  132. --
  133. -- Name: servicetype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  134. --
  135. SELECT pg_catalog.setval('public.servicetype_id_seq', 3, true);
  136. --
  137. -- PostgreSQL database dump complete
  138. --