data-manipulation/tables.json
2017-03-15 15:58:26 +03:00

197 lines
4.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"tables": [
{
"tableName": "users",
"tableDescription": "Пользователи",
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "login",
"fDescription": "Логин",
"fType": "char(20)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "password",
"fDescription": "Пароль",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "last_name",
"fDescription": "Фамилия",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "name",
"fDescription": "Имя",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "middle_name",
"fDescription": "Отчество",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
}
]
},
{
"tableName": "docs",
"tableDescription": "Документы",
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "doc_name",
"fDescription": "Наименование",
"fType": "varchar(100)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "description",
"fDescription": "Описание",
"fType": "varchar(200)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "users_id",
"fDescription": "Владелец",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "parent_id",
"fDescription": "Имя",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
}
]
},
{
"tableName": "address",
"tableDescription": "Адреса",
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "region",
"fDescription": "Регион",
"fType": "varchar(100)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "city",
"fDescription": "Населеннй пункт",
"fType": "varchar(200)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "street",
"fDescription": "Улица",
"fType": "varchar(100)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "house",
"fDescription": "Дом",
"fType": "char(6)",
"index": "no",
"autoIncrement": "no"
}
]
},
{
"tableName": "cdr",
"tableDescription": "Записи о звонках",
"fieldList": [
{
"fName": "id",
"fDescription": "Номер п.п.",
"fType": "int(11)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "int_number",
"fDescription": "Внутренний номер",
"fType": "varchar(11)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "ext_co_line",
"fDescription": "Номер внешней линии",
"fType": "char(2)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "dial_number",
"fDescription": "Набранный номер",
"fType": "varchar(30)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "ring",
"fDescription": "ХЗ",
"fType": "varchar(5)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "acc_code",
"fDescription": "АСС код",
"fType": "varchar(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "call_code",
"fDescription": "Код звонка",
"fType": "char(2)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "call_direct",
"fDescription": "Направление",
"fType": "varchar(45)",
"index": "no",
"autoIncrement": "no"
}
]
}
]
}