SƠ ĐỒ LỚP TOÀN HỆ THỐNG
+goi
<> FrmBCDTTLP
+duoc goi
0..1
+duoc goi
+duoc goi
+duoc goi
HienDL() Thoat()
+duoc goi
Load() Thoat()
0..1
0..1
(from Boundaries)
Phong : Combobox Ngaythue : datetimepicker girdPTP : gird Thoat : button Xoa : button Capnhat : Button Luu : Button
(from Boundaries)
0..1
Thang : datetimepicker girdMDSDP : gird
+duoc goi
+goi
0..1
<> FrmTCP
HienDL() Thoat()
0..1
(from Boundaries)
girdDSP : gird
(from Boundaries)
girdDMP : gird Thoat : Button Luu : Button Capnhat : Button Xoa : Button
<<entity>> +goi
0..1
0..1
0..1
<> DKFrmBCDT (from Controls)
0..1
0..1 +goi
+goi +duoc goi
+goi
0..1
0..1 +goi 0..1
0..1
0..1
<<entity>> Hoadon
LoaiKH : String
1..n
1
+Co
+Thuoc
(from Entities)
+Co
0..n
1
+duoc goi
+goi 0..1
Tinhtongtien() TinhtongDT() Tyle() +Co
0..1
(from Entities)
Ngaythue : Date
0..n
+nam trong
+Thuoc
1..n
1
LayDL() Luu() Doc()
+duoc goi 0..1
+Thuoc
<<entity>>
CTHoadon (from Entities)
(from Entities)
+Co
(from Controls)
0..n
<<entity>> Khachhang
<<entity>> Phieuthuephong
+duoc goi
<> DKFrmHDTT
Trigia : Currency
(from Entities)
+goi
0..1
+duoc goi
<<entity>> LoaiKH
0..1
+goi
0..1
LayDL() luu() Doc()
+duoc goi
0..1
Ketnoi() Doc() Capnhat() Luu() Xoa()
0..1
Thaydoiquydinh()
LayDSP() LayDSKH() LayDL() Luu() Xoa() Capnhat()
0..1
+goi
(from Controls)
cn : Connection ds : dataset ad : adapter
0..1
(from Controls)
+Goi <> QTGDCSDL
MaTS : String TenTS : String Giatri : String
<> DKFrmPTP
LayDSP() LayDL() Tim()
+goi
(from Controls)
0..1
+goi
(from Controls)
<> DKFrmDMP
+goi
(from Entities)
<> DKFrmT CP
+duoc goi
0..1
Thaydoiquydinh
+duoc goi
Luu() Capnhat() LayDL() Xoa() LayDSP()
+duoc goi
+duoc goi 0..1
Thoat() luu() Capnhat() LayDL() Xoa()
0..1
+duoc goi
Thoat() Luu() Xoa() Capnhat() LayDL()
Tim() Xuat() Thoat() LayDL()
<> FrmDMP
+Duoc goi
(from Boundaries)
Ngaylap : datetimepicker CmbKH : combobox Diachi : Textbox Trigia : textbox girdHDTT : gird Luu() LayDL() Thoat()
<> FrmPTP
<> FrmBCMDSDP +duoc goi
+goi
0..1
+duoc goi 0..1
+goi
0..1
<> FrmHDTT
+goi
Menu : Menu
0..1
Thang : datetimepicker girdBCDT : gird Thoat : button
0..1
(from Boundaries)
0..1
0..1
(from Boundaries)
<> FrmMain
Ngaylap : Date Songaythue : Integer Tien : Currency
TenKH : String CMND : String Diachi : String
+goi 0..1
Tinhthanhtien() Tinhngaythue() Tinhdoanhthu()
<<entity>> CTPhieuTP
+Thuoc
(from Entities)
1..n <<entity>> Loaiphong
<<entity>> Phong +chua 1..n
(from Entities)
Tenphong : String Tinhtrang : Boolean
0..n +Co
1 +Thuoc
(from Entities)
Loaiphong : String Dongia : Currency
0..1 +goi
0..1