?? customer.java
字號:
/**
* @name Customer.java
* @version 1.0
* @author Administrator/pan
* @date 2009/2/11
*/
package com.digitstore.process.manageruser;
import java.io.Serializable;
import com.digitstore.process.server.ManageUserFactory;
public class Customer extends User implements Serializable {
//顧客ID
private String customerID;
//顧客折扣率,默認是1
private double discount = 1 ;
//構造函數
public Customer(){}
public Customer(String userName, String password) {
super(userName, password);
}
//對應的get/set方法
public String getCustomerID(){
return customerID;
}
public void setCustomerID(String customerID){
this.customerID = customerID;
}
public double getDiscount(){
return discount;
}
public void setDiscount(double discount){
this.discount = discount;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -