B違ng 33 Xem report c栄a m瓜t khách s衣n B違ng 34 Qu違n lý nhân viên B違ng 35 Xem nhân viên

Một phần của tài liệu Phát triển hệ thống quản lý chuỗi khách sạn (Trang 37 - 88)

A逢嬰e"e医r"sw{隠p"vtw{"e壱r"x q"v pj"p<pi Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"ec"8«"ej丑p0 Bng 22 Xem chi tit ca làm vic

View Attendance history

Summary Pj¤p"xk‒p"zgo"n鵜ej"u穎"8k吋o"fcpj"e栄c"o·pj0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"p¿v"Cvvgpfcpeg0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi A逢嬰e"e医r"sw{隠p"vtw{"e壱r"x q"v pj"p<pi Post- conditions J羽"vj嘘pi"jk羽p"n鵜ej"u穎"8k吋o"fcpj"e栄c"pj¤p"xk‒p0 Bng 23 Xem lch sぼ8kげm danh View Attendance Summary Pj¤p"xk‒p"zgo"o瓜v"n亥p"fcpj"e栄c"o·pj0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p" nút Attendance.

Ej丑p"o瓜v"n亥p"8k吋o"fcpj0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi A逢嬰e" e医r" sw{隠p" vtw{" e壱r" x q" v pj" p<pi A«"8k吋o"fcpj0

Post- conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"n亥p"8k吋o"fcpj"e栄c"pj¤p"xk‒p0 Bng 24 Zgo"8kげm danh

Scan QR-Code File

Summary Pj¤p"xk‒p"8k吋o"fcpj"ejq"o瓜v"ec"d茨pi"eƒej"swfiv"hkng"o«"st0 Actors Employee

34 Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p" p¿v" Cvvgpfcpeg0

Ej丑p" Uecp" St" Eqfg

Ej丑p"hkng"o«"ST"vtqpi"oƒ{"x "v違k"n‒p

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi E„"v‒p"vtqpi"fcpj"uƒej"ec"n o"8„0

Post- conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 25 Quét mã QR

Scan QR-Code With Camera

Summary Pj¤p" xk‒p" 8k吋o" fcpj" ejq" o瓜v" ec" d茨pi" eƒej" swfiv" o«" st" d茨pi camera.

Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p" p¿v" Cvvgpfcpeg0

Ej丑p" Vqiing" Ecogtc

J逢噂pi"ecogtc"x q"o«"st0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi E„"v‒p"vtqpi"fcpj"uƒej"ec"n o"8„0

Post- conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 26 Quét mã QR bng camera

View room list & booking list

Summary Pj¤p"xk‒p"zgo"fcpj"uƒej"rj”pi"x "fcpj"uƒej"dqqmkpi"8«"e„"e栄c" mjƒej"u衣p0

Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"p¿v"Dqqmkpi0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"vq p"d瓜"rj”pi"x "dqqmkpi"8«"e„"e栄c" mjƒej"u衣p0

Bng 27 Zgo"fcpj"uƒej"rj”pi"x "fcpj"uƒej"8うt phòng Create booking

35 Summary Pj¤p"xk‒p"v衣q"dqqmkpi"ejq"Iwguv"*mjƒej"ej逢c"e„"v k"mjq違p+0

Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p" p¿v" Dqqmkpi0

Ej丑p" o瓜v" rj”pi

Pj壱r" vj»pi" vkp" x q" vtqpi" hqto0

Pj医p"Etgcvg0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi A員v"n鵜ej"n¿e"rj”pi"vt嘘pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 28 Aうt phòng Confirm booking Summary Pj¤p"xk‒p"zƒe"pj壱p"o瓜v"dqqmkpi"8«"8逢嬰e"vjcpj"vqƒp0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p" p¿v" Dqqmkpi0

Ej丑p" o瓜v" dqqmkpi" ej逢c" vjcpj" vqƒp

Pj医p"p¿v"eqphkto0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi E„"sw{隠p"vtw{"e壱r"x q"v pj"p<pi

Post- conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 29 Xác nhvp"8うt phòng

View leave application

Summary Nhân xk‒p"zgo"n鵜ej"u穎"zkp"pij雨"rjfir"e栄c"o·pj0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"p¿v"Ngcxg"Crrnkecvkqp0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi E„"sw{隠p"vtw{"e壱r"x q"v pj"p<pi

Post- conditions

36

Bng 30 Zgo" 8∝p" zkp" pijじ

Create leave application

Summary Pj¤p"xk‒p"v衣q"8挨p"zkp"pij雨"rjfir0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"p¿v"Ngcxg"Crrnkeckvqp0 Pj壱r"vj»pi"vkp"x q"hqto0 Pj医p"Submit

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi E”p"8栄"pi {"pij雨"rjfir Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 31 Tjq"8∝p"zkp"pijじ View Salary Summary Pj¤p"xk‒p"zgo"n逢挨pi"e栄c"o·pj"vtqpi"vjƒpi0 Actors Employee

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"p¿v"Ucnct{0

Ej丑p"vjƒpi0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"n逢挨pi"e栄c"pj¤p"xk‒p0 Bng 32 Zgo"n∫∝pi

View Hotel Report

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"zgo"dƒq"eƒq"e栄c"o瓜v"mjƒej"u衣p0 Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Tgrqtv0

Ej丑p"vj運k"ikcp0

37 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"dƒq"eƒq"e栄c"mjƒej"u衣p0 Bng 33 Xem report ca mt khách sn Manage Employee

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"sw違p"n#"vq p"d瓜"pj¤p"xk‒p"e栄c"o瓜v" o瓜v"mjƒej"u衣p0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Gornq{gg

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"fcpj"uƒej"vq p"d瓜"pj¤p"xk‒p"e栄c"mjƒej"u衣p0 Bng 34 Qun lý nhân viên View Employee

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c"o瓜v"pj¤p"xk‒p Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Gornq{gg

Ej丑p"o瓜v"pj¤p"xk‒p"vtqpi"fcpj"uƒej0

Riêng pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"pj¤p"xk‒p"8«"ej丑p Bng 35 Xem nhân viên

38 Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"vj‒o"pj¤p"xk‒p"x q"o瓜v"mjƒej"u衣p0 Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Gornq{gg

Pj医p"Cff"Gornq{gg0

Pj壱r"vj»pi"vkp"e栄c"pj¤p"xk‒p"x q"hqto0 Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0

Post- conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 36 Thêm nhân viên

Edit Employee

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"ej雨pj"u穎c"vj»pi"vkp"o»v"nhân viên Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Gornq{gg

Ej丑p"o瓜v"pj¤p"xk‒p"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0

Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0

Post- conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 37 Sa thông tin nhân viên

Manage Voucher

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"sw違p"n#"xqwejgt"e栄c"o瓜v"mjƒej"u衣p0 Actors Manager, Admin

39 Pj医p"Xqwejgt

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"xqwejgt"e栄c"mjƒej"u衣p0 Bng 38 Qun lý voucher View Voucher

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c"o瓜v"xqwejgt Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Xqwejgt

Ej丑p"o瓜v"xqwejgt"vtqpi"fcpj"uƒej0

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"xqwejgt"8«"ej丑p Bng 39 Xem voucher Add Voucher

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"vj‒o"xqwejgt"x q"o瓜v"mjƒej"u衣p0 Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Xqwejgt

Pj医p"Cff"Xqwejgt0

Pj壱r"vj»pi"vkp"e栄c"xqwejgt"x q"hqto0 Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0

Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0 A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0

40 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 40 Thêm voucher Edit Voucher

Summary Pi逢運k"ej栄"x "pi逢運k"sw違p"n#"ej雨pj"u穎c"vj»pi"vkp"o瓜v"xqwejgt Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Xqwejgt Ej丑p"o瓜v"xqwejgt"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0 Pj医p"Eqphkto0 Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 41 Sa voucher Manage Shift

Summary Pi逢運k"sw違p"n#"sw違p"n#"ec"n o"xk羽e"e栄c"o瓜v"mjƒej"u衣p0 Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn"Ujkhv

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"ec"n o"xk羽e"e栄c"mjƒej"u衣p0 Bng 42 Qun lý ca làm vic

View Shift

Summary Pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c"o瓜v"ec Actors Manager

41 Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Jqvgn"Ujkhv

Ej丑p"o瓜v"ec"vtqpi"fcpj"uƒej0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"ec"8«"ej丑p Bng 43 Xem ca làm vic Create Shift Summary Pi逢運k"sw違p"n#"v衣q"o瓜v"ec0 Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn"Ujkhv

Ej丑p"mjq違pi"vj運k"ikcp"e栄c"ec"n o"vtqpi"n鵜ej0 Pj壱r"vj»pi"vkp"e栄c"ec"x q"hqto0

Pj医p"QM0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

Mjq違pi"vj運k"ikcp"e栄c"eƒe"ec"n o"mj»pi"8逢嬰e"ej欝pi"ejfiq"pjcw0 Post-

conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 44 To ca làm vic

Assign Employee To Shift

Summary Pi逢運k"sw違p"n#"u逸r"z院r"ec"n o"ejq"pj¤p"xk‒p Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Hotel ShiftShift

Mfiq"vj違"o瓜v"pj¤p"xk‒p"x q"ec"v逢挨pi"泳pi0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

Pj¤p"xk‒p"ej逢c"8逢嬰e"iƒp"x q"ec"8„0 Post-

conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 45 Phân công nhân viên làm vic

42 Manage Leave Application

Summary Pi逢運k"sw違p"n#"sw違p"n#"8挨p"zkp"rjfir"e栄c"pj¤p"xk‒p0 Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Eqphkto"Ngcxg Pre- conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"8挨p"zkp"rjfir"e栄c"vq p"d瓜"pj¤p" xk‒p"vtqpi"mjƒej"u衣p0 Bng 46 Qulp"n#"8∝p"zkp"pijじ phép

Confirm Leave Application

Summary Pi逢運k"sw違p"n#"zƒe"pj壱p"8挨p"zkp"pij雨"rjfir Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Eqphkto"Ngcxg

Pj医p"Ceegrv"jq員e"Tglgev"荏"o瓜v"8挨p"d医v"m 0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A挨p"zkp"pij雨"ej逢c"8逢嬰e"zƒe"pj壱p Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 47 Xác nhvp"8∝p"pijじ phép QR Code Summary Pi逢運k"sw違p"n#"v衣q"o«"ST"ejq"o瓜v"ec"8吋"pj¤p"xk‒p"8k吋o"fcpj0 Actors Manager

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"ST"Eqfg

Ej丑p"dk吋w"v逢嬰pi"o«"st"荏"o瓜v"ec0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"o«"ST"ejq"ec"8„0 Bng 48 To mã QR cho mt ca

43 Manage RoomType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"sw違p"n#"nq衣k"rj”pi" e栄c"o瓜v"mjƒej"u衣p0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo

Ej丑p"vci"TqqoV{rg

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"nq衣k"rj”pi"e栄c"mjƒej"u衣p0 Bng 49 Qun lý loi phòng View RoomType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c" o瓜v"nq衣k"rj”pi

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo

Ej丑p"vci"TqqoV{rg

Ej丑p"o瓜v"nq衣k"phòng trong danh sách.

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"nq衣k"rj”pi"8«"ej丑p Bng 50 Xem loi phòng Add RoomType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"vj‒o"nq衣k"rj”pi"x q" o瓜v"mjƒej"u衣p0

44 Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo

Ej丑p"vci"TqqoV{rg Pj医p"Cff"TqqoV{rg0

Pj壱r"vj»pi"vkp"e栄c"nq衣k"phòng vào form. Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 51 Thêm loi phòng Edit RoomType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"ej雨pj"u穎c"vj»pi"vkp" o瓜v"nq衣k"rj”pi0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo

Ej丑p"vci"TqqoV{rg

Ej丑p"o瓜v"nq衣k"rj”pi"vtqpi"fcpj"uƒej0 Pj壱r"thông tin vào form.

Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 52 Sa loi phòng Manage Room

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"sw違p"n#"rj”pi"e栄c" o瓜v"mjƒej"u衣p0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

45 Ej丑p"vci"Tqqo

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"rj”pi"e栄c"mjƒej"u衣p0 Bng 53 Qun lý phòng View Room

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c" o瓜v"rj”pi0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo Ej丑p"vci"Tqqo

Ej丑p"o瓜v"rj”pi"vtqpi"fcpj"uƒej0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"rj”pi"8«"ej丑p0 Bng 54 Xem phòng Add Room

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"vj‒o"rj”pi"x q" o瓜v"mjƒej"u衣p0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo Ej丑p"vci"Tqqo Pj医p"Cff"Tqqo0

Pj壱r"vj»pi"vkp"e栄c"rj”pi"x q"hqto0 Pj医p"Eqphkto0

46 Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 55 Thêm phòng Edit Room

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"ej雨pj"u穎c"vj»pi"vkp" o瓜v"rj”pi

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Tqqo Ej丑p"vci"Tqqo Ej丑p"o瓜v"rj”pi"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0 Pj医p"Eqphkto0 Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 56 Chnh sa thông tin phòng Manage Facility

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"sw違p"n#"e挨"u荏"x壱v" ej医v"e栄c"o瓜v"mjƒej"u衣p0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{

47 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0

Post-conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"vq p"d瓜"e挨"u荏"x壱v"ej医v"x "nq衣k"e挨"u荏"x壱v" ej医v"e栄c"mjƒej"u衣p0

Bng 57 Qulp"n#"e∝"uの vt cht View FacilityType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c" o瓜v"nq衣k"e挨"u荏"x壱v"ej医v"*Hceknkv{V{rg+

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{

Ej丑p"o瓜v"nq衣k"e挨"u荏"x壱v"ej医v"vtqpi"fcpj"uƒej0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"nq衣k"e挨"u荏"x壱v"ej医v"8«"ej丑p Bng 58 Xem lojk"e∝"uの vt cht Add FacilityType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"vj‒o"nq衣k"e挨"u荏"x壱v" ej医v"x q"o瓜v"jqvgn0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{ Pj医p"Cff"Hceknkv{V{rg0 Pj壱r"vj»pi"vkp"e栄c"nq衣k"e挨"u荏"x壱v"ej医v"x q"hqto0 Pj医p"Eqphkto0 Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

48 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 59 Vj‒o"e∝"uの vt cht Edit FacilityType

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"ej雨pj"u穎c"vj»pi"vkp" o瓜v"nq衣k"e挨"u荏"x壱v"ej医v

Actors Manager, Admin Basic flow Truy e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{ Ej丑p"o瓜v"nq衣k"e挨"u荏"x壱v"ej医v"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0 Pj医p"Eqphkto0 Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 60 Sa lojk"e∝"uの vt cht View Facility

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"zgo"vj»pi"vkp"e栄c" o瓜v"e挨"u荏"x壱v"ej医v"*Hceknkv{+

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{

Ej丑p"o瓜v"e挨"u荏"x壱v"ej医v"vtqpi"fcpj"uƒej0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej" u衣p0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"e挨"u荏"x壱v"ej医v"8«"ej丑p Bng 61 Zgo"e∝"uの vt cht

49 Add Facility

Summary Pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"x "pi逢運k"sw違p"n#"vj‒o"nq衣k"e挨"u荏"x壱v" ej医v"x q"o瓜v"jqvgn0

Actors Manager, Admin Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Hceknkv{ Pj医p"Cff"Hceknkv{0

Pj壱r"vj»pi"vkp"e栄c"e挨"u荏"x壱v"ej医v"x q"hqto0 Pj医p"Eqphkto0

Tk‒pi"pi逢運k"ej栄"ejw厩k"mjƒej"u衣p"e„"vj‒o"d逢噂e"ej丑p"mjƒej"u衣p0 Pre-conditions A«" 8<pi" pj壱r" x q" j羽" vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 62 Vj‒o"e∝"uの vt cht

Edit Facility

Summary Ej雨pj"u穎c"vj»pi"vkp"o瓜v"e挨"u荏"x壱v"ej医v Actors Manager, Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Hceknkv{

Ej丑p"o瓜v"e挨"u荏"x壱v"ej医v"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0

Pj医p"Eqphkto0

Tk‒pi"Cfokp"e„"vj‒o"d逢噂e"ej丑p"Jqvgn0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 63 Sぼc"vj»pi"vkp"e∝"uの vt cht

View Inventory Report

Summary Zgo"tgrqtv"e栄c"vq p"ejw厩k"mjƒej"u衣p0 Actors Admin

50 Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0

Pj医p"Kpxgpvqt{"Tgrqtv Ej丑p"vj運k"ikcp0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"tgrqtv"e栄c"vq p"ejw厩k"mjƒej"u衣p0 Bng 64 Xem report ca toàn chui

Manage Hotel

Summary Sw違p"n#"eƒe"mjƒej"u衣p"vtqpi"ejw厩k0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"fcpj"uƒej"vq p"d瓜"eƒe"mjƒej"u衣p"vtqpi"ejw厩k0 Bng 65 Qun lý các khách sn trong chui View hotel

Summary Xem thông tin e栄c"o瓜v"mjƒej"u衣p Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn

Ej丑p"o瓜v"mjƒej"u衣p"vtqpi"fcpj"uƒej0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"mjƒej"u衣p"8«"ej丑p Bng 66 Xem khách sn Add Hotel

51 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn

Pj医p"Cff"Jqvgn0

Pj壱r"vj»pi"vkp"e栄c"mjƒej"u衣p"x q"hqto0 Pj医p"Eqphkto0

Riêng Admin có thêm d逢噂e"ej丑p"Jqvgn0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 67 Thêm khách sn Edit Hotel Summary Ej雨pj"u穎c"vj»pi"vkp"o瓜v"mjƒej"u衣p Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Jqvgn

Ej丑p"o瓜v"mjƒej"u衣p"vtqpi"fcpj"uƒej0 Pj壱r"vj»pi"vkp"x q"hqto0

Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"thành công. Bng 68 Chnh sa thông tin khách sn Manage Manager Summary Sw違p"n#"eƒe"pi逢運k"sw違p"n#"vtqpi"ejw厩k0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

52 Post-

conditions

J羽"vj嘘pi"jk羽p"fcpj"uƒej"vq p"d瓜"eƒe"pi逢運k"sw違p"n#"vtqpi"ejw厩k0 Bng 69 Qulp"n#"eƒe"pi∫ぬi qun lý trong chui

View Manager

Summary Zgo"vj»pi"vkp"e栄c"o瓜v"pi逢運k"sw違p"n# Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

Ej丑p"o瓜v"pi逢運k"sw違p"n#"vtqpi"fcpj"uƒej0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"pi逢運k"sw違p"n#"8«"ej丑p Bng 70 Zgo"vj»pi"vkp"pi∫ぬi qun lý Add Manager Summary Vj‒o"o瓜v"pi逢運k"sw違p"n#0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

Pj医p"Cff"Ocpcigt0

Pj壱r"vj»pi"vkp"e栄c"pi逢運k"sw違p"n#"x q"hqto0 Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 71 Vj‒o"pi∫ぬi qun lý Edit Manager Summary Ej雨pj"u穎c"vj»pi"vkp"o瓜v"pi逢運k"sw違p"n#0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

53 Ej丑p"o瓜v"pi逢運k"sw違p"n#"vtqpi"fcpj"uƒej0

Pj壱r"vj»pi"vkp"x q"hqto0 Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 72 Sぼc"vj»pi"vkp"pi∫ぬi qun lý

Assign Manager to Hotel

Summary Iƒp"o瓜v"pi逢運k"sw違p"n#"ejq"o瓜v"mjƒej"u衣p Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

Ej丑p"o瓜v"pi逢運k"sw違p"n#"vtqpi"fcpj"uƒej0 Ej丑p"mjƒej"u衣p0

Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 73 Rj¤p"e»pi"pi∫ぬi qun lý cho khách sn Manage Blog

Summary Sw違p"n#"eƒe"d k"dnqi"vt‒p"j羽"vj嘘pi0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Dnqi

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"jk羽p"fcpj"uƒej"vq p"d瓜"eƒe"d k"dnqi0 Bng 74 Qun lý blog

54 Summary Zgo"vj»pi"vkp"e栄c"o瓜v"d k"dnqi0

Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Dnqi

Ej丑p"o瓜v"d k"dnqi"vtqpi"fcpj"uƒej0 Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"jk羽p"vj»pi"vkp"e栄c"d k"dnqi"8«"ej丑p Bng 75 Xem blog Add Blog

Summary Vj‒o"o瓜v"d k"dnqi0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Dnqi

Pj医p"Cff"Dnqi0

V衣q"p瓜k"fwpi"ejq"d k"dnqi0 Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 76 Thêm blog Edit Blog

Summary Ej雨pj"u穎c"vj»pi"vkp"o瓜v"d k"dnqi0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Ocpcigt

Ej丑p"o瓜v"pi逢運k"sw違p"n#"vtqpi"fcpj"uƒej0 Ej雨pj"u穎c"d k"dnqi"vtqpi"hqto0

Pj医p"Eqphkto0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

55 Post- conditions J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 77 Chnh sa blog Add Admin Summary Vj‒o"o瓜v"cfokp0 Actors Admin

Basic flow Vtw{"e壱r"x q"j羽"vj嘘pi0 Pj医p"Cfokp

Pj壱r"vj»pi"vkp"cfokp"x q"vtqpi"hqto0 Pj医p"Cff"Cfokp0

Pre-conditions A«"8<pi"pj壱r"x q"j羽"vj嘘pi0

A逢嬰e"e医r"sw{隠p"u穎"f映pi"v pj"p<pi0 Post-

conditions

J羽"vj嘘pi"vj»pi"dƒq"vj pj"e»pi0 Bng 78 Thêm admin

3.3. Eƒe"d k"vqƒp"8員t ra khi xây dng h thng.

3.3.1. D k"vqƒp"8c"pi»p"pi英

Mô t違: Hi羽n nay, s嘘pi逢運k"p逢噂c ngoài truy c壱p vào các trang web du l鵜ej."8員t phòng c栄a Vi羽t Nam 8cpi"v<pi"o衣nh. B逸v"8逢嬰e"v·pj"j·pj"8„."pj„o"8«"pij "tc"8逢嬰c v医p"8隠 ph違i t衣q"8逢嬰e"ygd"e„"8c"pi»p"pi英ejq"pi逢運k"p逢噂c ngoài có th吋 d宇 f pi"8員t phòng và du l鵜ch 荏 Vi羽t Nam.

Cách gi違i quy院t: React-i18next là m瓜t framework internationalization(qu嘘c t院 hóa) m衣nh m胤 cho Reactjs d詠a trên i18next. Nhóm s胤 f́pi"htcogyqtm"p {"8吋 phát tri吋n 泳ng d映ng thêm ch泳e"p<pi"p {0

1. E k"8員t:

npm install --save react-i18next

2. Thêm internationalization(qu嘘c t院 hóa) ReactDOM.render(

<App/>,

56 ); 3. Translate cho 泳ng d映ng T衣o file ti院ng anh: src/translations/en.json: { ÐygneqogÑ<"} ÐvkvngÑ<"ÐYgneqog"vq"}}htcogyqtmʼʼÑ } } T衣o file ti院ng vi羽t: src/translations/vn.json: { Ðzkp"ej qÑ<"}

Ðvk‒w"8隠Ñ<"ÐEj q"o瑛pi"8院n {{framgyqtmʼʼÑ }

}

Tình tr衣ng bài toán: Nhóm v磯p"8cpi"jk羽n th詠c và s胤jq p"vj pj"vtqpi"v逢挨pi"nck0

3.3.2. Bài toán bo mt d li羽w"ejq"pi逢運i dùng

Mô t違<"Vj»pi"vkp"pi逢運k"f́pi"8<pi"m#"x q"j羽 th嘘pi."pj逢"n "vj»pi"vkp"mjƒej"u衣n, thông tin ch栄 chu厩i khách s衣n, thông tin nhân viên,... có th吋 b鵜8ƒpj"e逸p b荏i tin t員c.

Cách gi違i quy院t<"N逢w"vj»pi"vkp"eƒe"v k"mjq違p"pi逢運i dùng vào b違ng riêng và hash các vj»pi"vkp"8„"t欝i m噂k"n逢w"x q"fcvcdcug0"Jq員c dùng firebase thông qua Cloud Firestore. Rj逢挨pi"vj泳c này qu違n lý th運i gian th詠c và n逢w"x q"8ƒo"o¤{0

Service <<name>> {

//Math the resource path. match<<path>> {

//Allow the request if the following conditions are true. allow <<methods>> : if<<condition>>

} }

57 錨 Request: The method or methods invoked in the allow statement. These are methods you're allowing to run. The standard methods are: get, list, create,

update, and delete. The read and write convenience methods enable broad read and write access on the specified database or storage path.

Path: The database or storage location, represented as a URI path.

Rule: The allow statement, which includes a condition that permits a request if it evaluates to true.

Each of these concepts is described in further detail below. Tình tr衣ng: Ej逢c"ik違i quy院t xong.

3.3.3. D k"vqƒp"8k吋m danh nhanh cho nhân viên

Mô t違: M厩i l亥p"pj¤p"xk‒p"8k吋o"fcpj"pj逢"eƒej"vj栄 công s胤 ph違i tr違 qua khá nhi隠w"d逢噂c vtwpi"ikcp"8吋 8逢嬰c h羽 th嘘ng ghi nh壱p0"Pj逢pi"pj„o"8«"vj詠c hi羽n ch泳e"p<pi"n "e医p cho m厩i ca làm vi羽c m瓜v"o«"ST*ST"eqfg+0"Pj逢"x壱y, khi chu育n b鵜 vào làm vi羽c. Nhân viên ch雨 c亥n m荏 泳ng d映ng và quét mã. H羽 th嘘ng s胤 t詠 ghi nh壱p"pj¤p"xk‒p"8«"8k吋m danh thành công.

Cách gi違i quy院t: M厩i ca làm vi羽c, h羽 th嘘ng s胤 l医y id (primary key) c栄a ca làm vi羽e"8„" 8吋 t衣o ra m瓜t mã QR riêng cho t瑛ng ca. B茨pi"vj逢"xk羽n có s印n là qrcode.react.

Ch雨 c亥p"e k"8員v"vj逢"xk羽n và g逸n id c栄a ca làm vi羽c vào component c栄c"vj逢"xk羽p"pj逢" eqfg"d‒p"f逢噂i: <QRCode id='qrcode' value={id} size={290} level={'H'} includeMargin={true} /> Tình tr衣ng: A«"vj詠c hi羽n thành công.

58

4. Thit k h thng

4.1. Mô hình thc th liên kt ERD

H·nh 5 Mô hình thc th liên kt ERD

4.2. Ánh x sang mô hình quan h

4.2.1. Admin

Column Type

Id String auto increment

Email String

59 Name String Img String Birthday Date Phone String Address String accountStatus Gpwo*ÐcxckncdngÑ.ÑwpcxckncdngÑ+ createdAt Date updatedAt Date Bng 79 Admin Ghi chú: ‚ Id: mã c栄a admin ‚ Email: email c栄a admin

‚ Password: m壱t kh育w"8<pi"pj壱p ‚ Name: tên admin

‚ Img: hình c栄a admin ‚ Birthday: sinh nh壱t ‚ Phone: s嘘8k羽n tho衣i ‚ Cfftguu<"8鵜a ch雨 admin

‚ accountStatus: tr衣ng thái tài kho違n admin ‚ createdAt: th運i gian t衣o

‚ updatedAt: th運i gian c壱p nh壱t

4.2.2. Attendance

Column Type

Id String auto increment

Shifts String Employee String isAttendance Boolean createdAt Date updatedAt Date Bng 80 Akげm danh Ghi chú:

‚ Id: mã c栄a b違pi"8k吋m danh ‚ Shifts: mã c栄a b違ng ca làm vi羽c ‚ Employee: mã c栄a nhân viên ‚ isAttendance: tr衣pi"vjƒk"8k吋m danh ‚ createdAt: th運i gian t衣o

60

4.2.3. Leave

Column Type

Id String auto increment

hotelShift String Employee String Hotel String Title String Reason String Date Number Year Number Month Number createdAt Date updatedAt Date Bng 81 A∝p"pijじ phép Ghi chú: ‚ Id: mã 8挨p"rjfir ‚ hotelShift: mã ca làm vi羽c c栄a khách s衣n ‚ employee: mã nhân viên

‚ hotel: mã khách s衣n ‚ vkvng<"vk‒w"8隠8挨p"zkp"rjfir ‚ reason: lý don ngh雨 ‚ date: ngày n瓜r"8挨p ‚ month: tháng n瓜r"8挨p ‚ {gct<"p<o"p瓜r"8挨p ‚ createdAt: th運i gian t衣o ‚ updatedAt: th運i gian c壱p nh壱t 4.2.4. Employee Column Type

Id String auto increment

Shift String array

Hotel String Email String Password String Name String Img String Birthday Date Phone String Address String accountStatus Gpwo*ÐcxckncdngÑ.ÑwpcxckncdngÑ+ availableDayoffNumber Number remainingDayoffNumber Number employeeType Gpwo*ÐocpcigtÑ.Ñgornq{ggÑ+

61

Skills String array

Department String Designation String baseSalary Number createdAt Date updatedAt Date Bng 82 Nhân viên Ghi chú:

‚ Id: mã nhân viên

‚ Shift: danh sách mã ca làm vi羽c ‚ Hotel: mã khách s衣n

‚ Email: email c栄a nhân viên ‚ Password: m壱t kh育w"8<pi"pj壱p ‚ Name: tên c栄a nhân viên

‚ Img: hình c栄a nhân viên ‚ Birthday: sinh nh壱t ‚ Phone: s嘘8k羽n tho衣i ‚ Cfftguu<"8鵜a ch雨 nhân viên

‚ accountStatus: tr衣ng thái c栄a nhân viên

‚ availableDayoffNumber: s嘘 ngày ngh雨 t嘘k"8c"e栄a nhân viên ‚ remainingDayoffNumber: s嘘 ngày ngh雨 còn l衣k"vtqpi"p<o ‚ employeeType: Lo衣i nhân viên

‚ skills: k悦p<pi"e栄a nhân viên

‚ department: phòng ban c栄a nhân viên ‚ designation: công vi羽c c映 th吋 ‚ dcugUcnct{<"n逢挨pi"e挨"d違n ‚ createdAt: th運i gian t衣o ‚ updatedAt: th運i gian c壱p nh壱t 4.2.5. Blog Column Type

Id String auto increment

Title String Content String Img String createdAt Date updatedAt Date Bng 83 Blog Ghi chú: ‚ Id: mã c栄a blog ‚ Vkvng<"vk‒w"8隠 blog

Một phần của tài liệu Phát triển hệ thống quản lý chuỗi khách sạn (Trang 37 - 88)

Tải bản đầy đủ (PDF)

(168 trang)