customerevent.java
来自「一个优秀的供应商管理系统」· Java 代码 · 共 119 行
JAVA
119 行
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 + =
减小字号Ctrl + -
显示快捷键?