订票单: Booking
字段名称
字段类型 字段长度
备注
字段含义
订票单编号
客户编号
预定时间
预定金额
Integer
Integer
Datetime
Int
订票明细: Order Detail
10
10
20
10
Booking ID
Customer ID
Booking time
Predetermined
amount
主码
外码
(Not null)
(Not null)
字段名称
字段类型 字段长度
备注
Integer
String
String
String
Int
String
Integer
Integer
客户编号
客户名
车次
到站
张数
中转换乘
订票单编号
订单明细编号
客户: Customer
10
10
10
20
10
20
10
10
Customer ID
Custome name
Train number
Arrival
The number of
sheets
Transit transfer
Booking ID
Order Details ID
字段含义
外码
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
外码
主码
字段名称
字段类型 字段长度
备注
客户编号
客户名
客户密码
客户邮箱
客户电话
客户地址
Integer
String
String
String
Int
String
10
20
10
20
10
20
Customer ID
Customer name
Customer password
Customer email
Customer phone
Customer address
字段含义
主码
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
火车票:Ticket
字段名称
字段类型 字段长度
车票编号
种类编号
订票明细编号
业务员编号
时间
车箱
座位
车票价格
Integer
Intege
Intege
Integer
Datetime
Date
Int
Int
10
10
10
10
10
20
10
10
备注
Ticket ID
Type ID
Order Details ID
Clerk ID
time
Trunk
sit
Ticket prices
字段含义
主码
外码
外码
外码
(Not null)
(Not null)
(Not null)
(Not null)
字段类型 字段长度
Integer
String
String
String
10
10
10
10
备注
Type ID
Student tickets
Disabled police
Children
字段含义
主码
(Not null)
(Not null)
(Not null)
种类: Type
字段名称
种类编号
学生票
伤残军警
儿童
车次: Train
字段名称
车次编号
途经站名
时间
到站时间
出发时间
停留时间
里程
硬座/软座
String
硬卧(上/中/下)
String
软卧(上/下)
String
字段类型 字段长度
Integer
String
Datetime
Datetime
Datetime
Datetime
String
10
10
10
20
10
10
20
10
10
10
备注
Train ID
Via Station Name
Time
Arrival time
Departure time
Residence time
Mileage
Hard seat / soft
seat
Hard Sleeper (top
/ middle / down)
Soft sleeper (up /
down)
字段含义
主码
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
(Not null)
路线: Route
字段名称
路线编号
出发城市
到达城市
途经站点
业务员: Clerk
字段类型 字段长度
备注
字段含义
Integer
String
String
String
10
10
10
10
Route ID
Departure City
Arrival city
Through site
主码
(Not null)
(Not null)
(Not null)
字段名称
字段类型 字段长度
业务员编号
业务员名
业务员密码
Integer
String
String
10
20
10
备注
Clerk ID
Clerk name
Clerk password
字段含义
主码
(Not null)
(Not null)