You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.1 KiB
77 lines
1.1 KiB
package org.atm.model;
|
|
|
|
public class Customer {
|
|
|
|
private String cid;
|
|
private String cname;
|
|
private String cpin;
|
|
|
|
public Customer() {
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param cid
|
|
* @param cpin
|
|
*/
|
|
public Customer(String cid, String cpin) {
|
|
this.cid = cid;
|
|
this.cpin = cpin;
|
|
this.cname = "";
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param cid
|
|
* @param cpin
|
|
* @param cname
|
|
*/
|
|
public Customer(String cid, String cpin, String cname) {
|
|
this.cid = cid;
|
|
this.cpin = cpin;
|
|
this.cname = cname;
|
|
}
|
|
|
|
/**
|
|
* @return String return the cid
|
|
*/
|
|
public String getCid() {
|
|
return cid;
|
|
}
|
|
|
|
/**
|
|
* @param cid the cid to set
|
|
*/
|
|
public void setCid(String cid) {
|
|
this.cid = cid;
|
|
}
|
|
|
|
/**
|
|
* @return String return the cname
|
|
*/
|
|
public String getCname() {
|
|
return cname;
|
|
}
|
|
|
|
/**
|
|
* @param cname the cname to set
|
|
*/
|
|
public void setCname(String cname) {
|
|
this.cname = cname;
|
|
}
|
|
|
|
/**
|
|
* @return String return the cpin
|
|
*/
|
|
public String getCpin() {
|
|
return cpin;
|
|
}
|
|
|
|
/**
|
|
* @param cpin the cpin to set
|
|
*/
|
|
public void setCpin(String cpin) {
|
|
this.cpin = cpin;
|
|
}
|
|
|
|
} |