?? 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 + -