Skip to content

Commit

Permalink
nosql model done
Browse files Browse the repository at this point in the history
  • Loading branch information
Popug-s-catcher committed Oct 29, 2024
1 parent bf47086 commit eb1ebc2
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions assets/nosql_model.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
"USER" :
[
{
"id" : "USER_ID_1",
"NameSurnamePatronymic" : string "SOME_NSP",
"role" : number "SOME_ROLE_NUM",
"login" : string "LOGIN_1",
"password" : string "PSWD_1",
"date" : number "YY-MM-DD",
"indebtedness" : number "SOME_DEBT"
},
... ,
{
"id" : "USER_ID_N",
"NameSurnamePatronymic" : string "SOME_NSP",
"role" : number "SOME_ROLE_NUM",
"login" : string "LOGIN_N",
"password" : string "PSWD_N",
"date" : number "YY-MM-DD",
"indebtedness" : number "SOME_DEBT"
}
],
"CELL" :
[
{
"cellId" : "CELL_ID_1",
"warehouseId" : "CURRENT_WAREHOUSE_ID",
"cellNum" : number "SOME_CELL_NUM",
"tierNum" : number "SOME_TIER_NUM",
"isFree" : bool "TRUE_OR_FALSE",
"endOfRent" : number "YY-MM-DD",
"size" : number "SOME_SQUARE_METRES",
"listOfEventIds" : array
[
"SOME_EVENT_ID_1",
"SOME_EVENT_ID_2",
... ,
"SOME_EVENT_ID_N"
]
},
... ,
{
"cellId" : "CELL_ID_N",
"warehouseId" : "CURRENT_WAREHOUSE_ID",
"cellNum" : number "SOME_CELL_NUM",
"tierNum" : number "SOME_TIER_NUM",
"isFree" : bool "TRUE_OR_FALSE",
"endOfRent" : number "YY-MM-DD",
"size" : number "SOME_SQUARE_METRES",
"listOfEventIds" : array
[
"SOME_EVENT_ID_1",
"SOME_EVENT_ID_2",
... ,
"SOME_EVENT_ID_N"
]
}
],
"EVENT" :
[
{
"eventId" : "EVENT_ID_1",
"cellId" : "SOME_CELL_ID",
"userId" : "SOME_USER_ID",
"action" : string "SOME_ACTION",
"dateAndTime" : number "YY-MM-DD_HH:MM:SS",
"description" : string "SOME_DISCRIPTION"
},
... ,
{
"eventId" : "EVENT_ID_N",
"cellId" : "SOME_CELL_ID",
"userId" : "SOME_USER_ID",
"action" : string "SOME_ACTION",
"dateAndTime" : number "YY-MM-DD_HH:MM:SS",
"description" : string "SOME_DISCRIPTION"
}
],
"WAREHOUSE" :
[
{
"id" : "WAREHOUSE_ID_1",
"address" : string "SOME_ADDRESS",
"cells" : array
[
"SOME_CELL_ID_1",
"SOME_CELL_ID_2",
... ,
"SOME_CELL_ID_N"
]
},
... ,
{
"id" : "WAREHOUSE_ID_N",
"address" : string "SOME_ADDRESS",
"cells" : array
[
"SOME_CELL_ID_1",
"SOME_CELL_ID_2",
... ,
"SOME_CELL_ID_N"
]
}
]

0 comments on commit eb1ebc2

Please sign in to comment.