📄 customerevent.java
字号:
package apusic.myshop.control.event;import java.io.Serializable;import apusic.myshop.control.event.BaseEvent;public class CustomerEvent extends BaseEvent implements Serializable { public static final int CREATE_CUSTOMER = 0; public static final int DELETE_CUSTOMER = 1; public static final int UPDATE_CUSTOMER = 2; public static final int REFRESH_CUSTOMER = 3; private int actionType; private String userId; private String password; private String name; private String sex; private String company; private String cid; private String address; private String province; private String city; private String zip; private String phone; private String email; private java.sql.Date regDate; public CustomerEvent() { } public CustomerEvent(int actionType) { this.actionType = actionType; } public void setInfo( String userId, String password, String name, String sex, String company, String cid, String address, String province, String city, String zip, String phone, String email, java.sql.Date regDate) { this.actionType = CREATE_CUSTOMER; this.userId = userId; this.password = password; this.name = name; this.sex = sex; this.company = company; this.cid = cid; this.address = address; this.province = province; this.city = city; this.zip = zip; this.phone = phone; this.email = email; this.regDate = regDate; } public int getActionType() { return actionType; } public String getUserId() { return userId; } public String getPassword() { return password; } public String getName() { return name; } public String getSex() { return sex; } public String getCompany() { return company; } public String getCid() { return cid; } public String getAddress() { return address; } public String getProvince() { return province; } public String getCity() { return city; } public String getZip() { return zip; } public String getPhone() { return phone; } public String getEmail() { return email; } public java.sql.Date getRegDate() { return regDate; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -