data-manipulation/tables.json

135 lines
3.2 KiB
JSON

{
"tables": [
{
"tableName": "users",
"tableDescription": "Список пользователей",
"fieldList": [
{
"fName": "id",
"fDescr": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "login",
"fDescr": "Логин",
"fType": "char(20)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "password",
"fDescr": "Пароль",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "last_name",
"fDescr": "Фамилия",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "name",
"fDescr": "Имя",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "middle_name",
"fDescr": "Отчество",
"fType": "char(20)",
"index": "no",
"autoIncrement": "no"
}
]
},
{
"tableName": "docs",
"tableDescription": "Список документов",
"fieldList": [
{
"fName": "id",
"fDescr": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "doc_name",
"fDescr": "Наименование",
"fType": "varchar(100)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "description",
"fDescr": "Описание",
"fType": "varchar(200)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "user_id",
"fDescr": "Владелец",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "parent_id",
"fDescr": "Имя",
"fType": "int(6)",
"index": "no",
"autoIncrement": "no"
}
]
},
{
"tableName": "address",
"tableDescription": "Список адресов",
"fieldList": [
{
"fName": "id",
"fDescr": "Номер п.п.",
"fType": "int(6)",
"index": "PRIMARY KEY",
"autoIncrement": "yes"
},
{
"fName": "region",
"fDescr": "Регион",
"fType": "varchar(100)",
"index": "yes",
"autoIncrement": "no"
},
{
"fName": "city",
"fDescr": "Населеннй пункт",
"fType": "varchar(200)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "street",
"fDescr": "Улица",
"fType": "varchar(100)",
"index": "no",
"autoIncrement": "no"
},
{
"fName": "house",
"fDescr": "Дом",
"fType": "char(6)",
"index": "no",
"autoIncrement": "no"
}
]
}
]
}