数据库信息备份

用户信息表:
用户编号(userid int)
手机号(phonenumber int)
用户类型(用户,管理员,数据填报人员,技术诊断人员)(usertype int 1用户2管理员3数据填报人员4技术诊断人员)

备注:用户对应的车辆信息在车辆信息中体现

车辆信息表:
1.车辆编号(vehicleid int)
2.所属用户编号(userid int)
3归属地(attribution string)
4车型(model string)小型车
5颜色(color string)
6车辆品牌(brand)
7车辆款式(vehiclestyle string)比如夏利N52011款
8上牌地点(registerlocation string)
9上牌时间(registerdate string)
10表显里程(mileage string)
11排量(displacement string)
12变速箱类型(gearbox string)手动(几档) 自动
13排放标准(emissionstandard string)国四 国五
14燃油类型(fuel string)(汽油qy,柴油cy,电动dd,油电混合yd,其他qt)
15简介(summary string)
16急降(discount string)
17卖家报价(fakeprice)就是让消费者觉得原价很高的假定价格
18网站展示真实值(price)
19对应交易顾问编号(salerid)
20状态(state)保存未上传0,上传并保存1
21车龄(age)买车时间到交易到跟网站进行交易的时间
22座位数量(seatnum)本车的座位数量
23是否超值(overflow)是否超值,用于显示,这个自动要通过手工输入,人工判断 1为是
24是否急售(Urgentsale)是否急售,急售一般会便宜,所以一般超值1为是0为不是

userid,attribution,model,color,brand,vehiclestyle,registerlocation,registerdate,mileage,displacement,gearbox,emissionstandard,fuel,summary,discount,fakeprice,price,salerid,state
insert into vehicle values('c201800006','u201800004','上海','SUV','紫','奥迪A4','上海','20160302','1.2','4.0','manual5','g5','gasline','一般','奥迪','0','20','15')

职员信息表:(employee)
职员编号(employeeid)
职位(position)1交易顾问
姓名(employeename)
性别(sex)
所属门店编号(shopid)
电话(phonenumber)
在售车辆数量(salevehiclesnum)

交易顾问在售车辆:(salervehicle)
交易顾问编号:(salerid)
车辆编号:(vehicleid)

车辆预约表:
车辆编号:(vehicleid)
预约客户id:(userid)
预约结果:(result)是预约成功还是失败了,预约失败是说

门店信息表:(shop)
门店编号(shopid)
门店名称(shopname)
门店地址(shopaddress)
门店电话(shopphonenumber)
门店员工(shopemployees)

原文地址:https://www.cnblogs.com/sisi-job/p/8521131.html