data-manipulation/tables.json

221 lines
5.6 KiB
JSON
Raw Normal View History

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",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
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",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "password",
2017-03-14 17:01:30 +03:00
"fDescription": "Пароль",
2017-03-12 15:02:21 +03:00
"fType": "char(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
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",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "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-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
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-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
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",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
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",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
"fName": "description",
2017-03-14 17:01:30 +03:00
"fDescription": "Описание",
2017-03-12 15:02:21 +03:00
"fType": "varchar(200)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-12 15:02:21 +03:00
},
{
2017-03-15 15:58:26 +03:00
"fName": "users_id",
2017-03-14 17:01:30 +03:00
"fDescription": "Владелец",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": ["users.id", "last_name, name, middle_name"]
2017-03-12 15:02:21 +03:00
},
{
"fName": "parent_id",
2017-03-15 17:06:24 +03:00
"fDescription": "Родительский документ",
2017-03-12 15:02:21 +03:00
"fType": "int(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": ["docs.id", "doc_name"]
2017-03-12 15:02:21 +03:00
}
]
},
{
"tableName": "address",
2017-03-14 17:01:30 +03:00
"tableDescription": "Адреса",
"fieldList": [
{
"fName": "id",
2017-03-14 17:01:30 +03:00
"fDescription": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
},
{
"fName": "region",
2017-03-14 17:01:30 +03:00
"fDescription": "Регион",
"fType": "varchar(100)",
"index": "yes",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "city",
2017-03-14 17:01:30 +03:00
"fDescription": "Населеннй пункт",
"fType": "varchar(200)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "street",
2017-03-14 17:01:30 +03:00
"fDescription": "Улица",
"fType": "varchar(100)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
},
{
"fName": "house",
2017-03-14 17:01:30 +03:00
"fDescription": "Дом",
"fType": "char(6)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
}
]
2017-03-15 15:58:26 +03:00
},
{
"tableName": "cdr",
"tableDescription": "Записи о звонках",
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(11)",
"index": "PRIMARY KEY",
2017-03-15 17:06:24 +03:00
"autoIncrement": "yes",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "int_number",
"fDescription": "Внутренний номер",
"fType": "varchar(11)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "ext_co_line",
"fDescription": "Номер внешней линии",
"fType": "char(2)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "dial_number",
"fDescription": "Набранный номер",
"fType": "varchar(30)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "ring",
"fDescription": "ХЗ",
"fType": "varchar(5)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "acc_code",
"fDescription": "АСС код",
"fType": "varchar(20)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "call_code",
"fDescription": "Код звонка",
"fType": "char(2)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
},
{
"fName": "call_direct",
"fDescription": "Направление",
"fType": "varchar(45)",
"index": "no",
2017-03-15 17:06:24 +03:00
"autoIncrement": "no",
"relation": []
2017-03-15 15:58:26 +03:00
}
]
2017-03-12 15:02:21 +03:00
}
]
}