📄 db.txt
字号:
----device_brand //品牌
{
brand_id int
brand_name 50 //品牌名称
}
----device_type //类型
{
type_id int
type_name 50 //类型名称
}
---units //单位
{
units_id int
units_name 50 //单位名称
}
--sector //部门
{
sector_id
sector_name 50 //部门名称
units int //单位
}
---device //设备信息
{
device_id int
device_name 50 //设备名称
device_brand int //设备品牌
device_type int //设备类型
device_Specification 50 //规格
device_code 50 //编码
device_origin 50 //产地
device_value 50 //价值
device_orderunits 50 //购入单位
device_orderdate date //购入日期
device_usedate date //使用时间
device_warrantydate date //保修时间
device_source 50 //设备来源
device_units int //使用单位
device_sector int //使用部门
device_duty 50 //责任人
device_state 10 //使用状态 1维修 2遗失 3正常 4损坏
//device_isscrapped int //是否报废
}
---device_tomaintenance //设备报修
{
tomaintenance_id
tomaintenance_units 50//报修科室
tomaintenance_date date//报修时间
tomaintenance_duty 50//报修人
tomaintenance_content text//故障现象
device_id int //报修设备
isnew int //是否最新一次保修
}
---device_maintenance //设备维修结单
{
maintenance_id
maintenance_money 05 //维修费用
maintenance_date date //结单时间
maintenance_duty 50 //维修人
maintenance_content text //维修内容
tomaintenance_id int //报修id
result //维修结果
}
--device_deploy //设备调配
{
deploy_id int
old_units 50 //调配前单位
old_sector 50 //调配前部门
old_duty 50 //调配前负责人
new_units 50 //调配后单位
new_sector 50 //调配后部门
new_duty 50 //调配后负责人
device_id int
}
--userinfo //用户信息
{
userinfo_id
userinfo_name //用户名称
userinfo_password //用户密码
}
//MSM系统
--userinfo //用户信息
{
user_id int
user_name 50
user_password 50
user_phoneNumber 15
}
--message
{
message_id
message_title 100
message_to 200
message_from 15
message_content 200
message_senddate datetime
isread tinyint //是否已经读
ispre tinyint //是否草稿
}
---contact
{
contact_id
contact_name
contact_phone
group_id
userid
}
---contact_group
{
group_id
group_name
userid
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -