/ rWd Ons eons
4.5.2.1. Bang users
ạ Cau true bang dẹ lieu
ID INT(11) Khong Auto Increment Khong
LOGIN Varchar(30) Khong Khong Khong
PASS Varchar(32) !Chang Khong KNIT*
NAME Varchar(30) 'thong Khong !thong
PHONE Varchar(1 5) Co Khong [Chong
STATUS Int(1 1) !Chong Khong [Chong
Bang 4-2: Bang Users
b. t nghia ciut cfic gia trj
- ID: Gia trj khda chink dinh dank, gia tri nay dugs sink tu dang.
- Login: Ten tai kholin cfla ngubi clung, sir dung cimg vOi mat khau de ding nhap vao chuong Dinh.
- Phone: So then thogi cim nguei dimg. Gia tri nay do ngued dung nhAp vao, dung de thuc hien chic ning gei dien va nhin tin.
- Status: Gia tri nay the hien tang thai ding !IWO cua nguei dimg.
4.5.2.2. Bang Location
ạ CAu Mk bang MY lieu
`pity 4
ID INT(11) Khong Auto Increment Khong
USERID INT(11) Khong !Chong USER(ID)
LATI DOUBLE Khong Killing Khong
LONGI DOUBLE Khong Khong Khong
LASTUPDATE Date Khong 'thong Khong
Bang 4-3: Bong Location
b. t nghia cim cac gia tri
ID: Gia tri khea chink dinh dank, gia tri nay duce sink tv deng.
UserID: Gia tri nay la kh6a ngoai lay ter bang User, dung de xac dinh met user tai ban ghi hien Mị
Lati: Viet tit am Latitude, la gia tri Kinh de, ding vei gia tri Longi de xac dinh vi tri cua ngubi dung.
Longi: Viet tit coa Longitude, la gia tri Vi de, ding yeti gia tri Lati de xac dinh vi tri nguei ding.
4.5.2.3. Bang Friend] ạ CAu true bang da lieu
b. nglifa cua cac gia tri
- ID: Gia tri kh6a chinh dinh danh, gia tri nay duqc sinh ttr dOng.
- USER ID: Day la kh6a ngoai lay tit bang Users, day la ID dinh danh cita ngu&i da girl yeu cku ket ban.
- DATE: Ngay ma yeu cau ket ban duce gni dị
4.5.2.4. Bang Friend2
c. CAu frac bang da lieu
ID INT(l 1) Khong Auto Increment Khong
USER ID INT(11) Khong Khong USERS(ID)
STATUS INT(11) Khong Khong Khong
Bring 4-5: Bing Frlen
d. nghia cua cfic gia tri
- ID: Gia tri Schee chinh dinh danh, gia tri nay duqc sinh to Ong.
- USER ID: Day la kh6a ngoai lay to bang Users, day la ID dinh danh cua ngued duqc yeu eau ket bp.
- STATUS: Trpg thai cua yeu au ket ban. Neu trang thai nay bang 0 thi yeu eau ket ban nay chua duqc xic nhan, neu bang 1 thi yeu cAu di clime xfic nhan, 2 nguen tuang *rig &I la bp cua nhaụ