Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var shop1 = {
- id: 1,
- staff: 10,
- maxPersonal: 17,
- storage: 100,
- managers: [
- {
- id: 1,
- name: "Irina",
- salary: 5030,
- conversion: 45
- },
- {
- id: 2,
- name: "Vlad",
- salary: 4000,
- conversion: 73
- },
- {
- id: 3,
- name: "Lena",
- salary: 6000,
- conversion: 62
- }
- ],
- goods: [
- {
- id: 1,
- name: "iPhone",
- popularity: 20,
- price: 100,
- inStock: 41
- },
- {
- id: 2,
- name: "Samsung",
- popularity: 40,
- price: 150,
- inStock: 23
- },
- {
- id: 3,
- name: "HTC",
- popularity: 10,
- price: 200,
- inStock: 70
- }
- ]
- };
- var shop2 = {
- id: 2,
- staff: 7,
- maxPersonal: 12,
- storage: 70,
- managers: [
- {
- id: 1,
- name: "Petya",
- salary: 2000,
- conversion: 32
- },
- {
- id: 2,
- name: "Anya",
- salary: 5500,
- conversion: 77
- }
- ],
- goods: [
- {
- id: 1,
- name: "iPhone",
- popularity: 60,
- price: 140,
- inStock: 13
- },
- {
- id: 2,
- name: "Samsung",
- popularity: 20,
- price: 70,
- inStock: 10
- },
- {
- id: 3,
- name: "HTC",
- popularity: 15,
- price: 50,
- inStock: 20
- }
- ]
- };
- var shop3 = {
- id: 3,
- staff: 4,
- maxPersonal: 7,
- storage: 40,
- managers: [
- {
- id: 6,
- name: "Marina",
- salary: 16300,
- conversion: 50
- },
- {
- id: 2,
- name: "Vlad",
- salary: 7000,
- conversion: 40
- }
- ],
- goods: [
- {
- id: 1,
- name: "iPhone",
- popularity: 63,
- price: 210,
- inStock: 12
- },
- {
- id: 2,
- name: "Samsung",
- popularity: 34,
- price: 130,
- inStock: 14
- },
- {
- id: 3,
- name: "HTC",
- popularity: 23,
- price: 100,
- inStock: 8
- }
- ]
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement