2017-03-12 15:02:21 +03:00
|
|
|
{
|
|
|
|
"tables": [
|
|
|
|
{
|
|
|
|
"tableName": "users",
|
2017-03-14 17:01:30 +03:00
|
|
|
"tableDescription": "Пользователи",
|
2017-03-12 18:33:51 +03:00
|
|
|
"fieldList": [
|
2017-03-12 15:02:21 +03:00
|
|
|
{
|
|
|
|
"fName": "id",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Номер п.п.",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "int(6)",
|
|
|
|
"index": "PRIMARY KEY",
|
|
|
|
"autoIncrement": "yes"
|
|
|
|
},
|
|
|
|
{
|
2017-03-12 18:33:51 +03:00
|
|
|
"fName": "login",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Логин",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "char(20)",
|
|
|
|
"index": "yes",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "password",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Пароль",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "char(20)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
2017-03-12 18:33:51 +03:00
|
|
|
"fName": "last_name",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Фамилия",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "char(20)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "name",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Имя",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "char(20)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
2017-03-12 18:33:51 +03:00
|
|
|
"fName": "middle_name",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Отчество",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "char(20)",
|
|
|
|
"index": "no",
|
2017-03-12 18:33:51 +03:00
|
|
|
"autoIncrement": "no"
|
2017-03-12 15:02:21 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"tableName": "docs",
|
2017-03-14 17:01:30 +03:00
|
|
|
"tableDescription": "Документы",
|
2017-03-12 18:33:51 +03:00
|
|
|
"fieldList": [
|
2017-03-12 15:02:21 +03:00
|
|
|
{
|
|
|
|
"fName": "id",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Номер п.п.",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "int(6)",
|
|
|
|
"index": "PRIMARY KEY",
|
|
|
|
"autoIncrement": "yes"
|
|
|
|
},
|
|
|
|
{
|
2017-03-13 16:50:33 +03:00
|
|
|
"fName": "doc_name",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Наименование",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "varchar(100)",
|
|
|
|
"index": "yes",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "description",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Описание",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "varchar(200)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "user_id",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Владелец",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "int(6)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "parent_id",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Имя",
|
2017-03-12 15:02:21 +03:00
|
|
|
"fType": "int(6)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
}
|
|
|
|
]
|
2017-03-14 14:09:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"tableName": "address",
|
2017-03-14 17:01:30 +03:00
|
|
|
"tableDescription": "Адреса",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fieldList": [
|
|
|
|
{
|
|
|
|
"fName": "id",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Номер п.п.",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fType": "int(6)",
|
|
|
|
"index": "PRIMARY KEY",
|
|
|
|
"autoIncrement": "yes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "region",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Регион",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fType": "varchar(100)",
|
|
|
|
"index": "yes",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "city",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Населеннй пункт",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fType": "varchar(200)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "street",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Улица",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fType": "varchar(100)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fName": "house",
|
2017-03-14 17:01:30 +03:00
|
|
|
"fDescription": "Дом",
|
2017-03-14 14:09:31 +03:00
|
|
|
"fType": "char(6)",
|
|
|
|
"index": "no",
|
|
|
|
"autoIncrement": "no"
|
|
|
|
}
|
|
|
|
]
|
2017-03-12 15:02:21 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|