-
Notifications
You must be signed in to change notification settings - Fork 2
/
CashRecepts.java
73 lines (63 loc) · 1.8 KB
/
CashRecepts.java
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package application;
import java.util.Date;
public class CashRecepts extends AccountManeger{
private Date checkdate = new Date();
private String bankName ,receivedfrom,refrance;
private int checkNumber ;
private boolean isCash;
public CashRecepts() {
}
public CashRecepts(Date date, Date checkdate, String name, String bankName,
String receivedfrom, String refrance, double value, int checkNumber, boolean isCash) {
super(date,value,name);
this.checkdate = checkdate;
this.bankName = bankName;
this.receivedfrom = receivedfrom;
this.refrance = refrance;
this.checkNumber = checkNumber;
this.isCash = isCash;
}
public CashRecepts(Date date, String name, String receivedfrom, String refrance, double value,
boolean isCash) {
super(date,value, name );
this.receivedfrom = receivedfrom;
this.refrance = refrance;
this.isCash = isCash;
}
public Date getCheckdate() {
return checkdate;
}
public void setCheckdate(Date checkdate) {
this.checkdate = checkdate;
}
public String getBankName() {
return bankName;
}
public void setBankName(String bankName) {
this.bankName = bankName;
}
public String getRefrance() {
return refrance;
}
public void setRefrance(String refrance) {
this.refrance = refrance;
}
public int getCheckNumber() {
return checkNumber;
}
public void setCheckNumber(int checkNumber) {
this.checkNumber = checkNumber;
}
public boolean isCash() {
return isCash;
}
public void setCash(boolean isCash) {
this.isCash = isCash;
}
@Override
public String toString() {
return "CashRecepts [checkdate=" + checkdate +", bankName=" + bankName
+ ", receivedfrom=" + receivedfrom + ", refrance=" + refrance + ", checkNumber="
+ checkNumber + ", isCash=" + isCash + "]";
}
}