-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDiaPhim.java
More file actions
32 lines (27 loc) · 782 Bytes
/
DiaPhim.java
File metadata and controls
32 lines (27 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package tuan.product;
public class DiaPhim extends SanPham{
private String dienVien;
private String daoDien;
private String dinhDang;
public DiaPhim(String ten, int id, String theLoai, int nam, double giaMua, double giaBan, int soLuong, String daoDien, String dienVien, String dinhDang){
super.setTen(ten);
super.setId(id);
super.setTheLoai(theLoai);
super.setNam(nam);
super.setGiaMua(giaMua);
super.setGiaBan(giaBan);
super.setSoLuong(soLuong);
this.dienVien = dienVien;
this.daoDien = daoDien;
this.dinhDang = dinhDang;
}
public String getDienVien(){
return this.dienVien;
}
public String getDaoDien(){
return this.daoDien;
}
public String getDinhDang(){
return this.dinhDang;
}
}