📄 receiveaddress.java
字号:
package org.whatisjava.dang.domain;
public class ReceiveAddress implements java.io.Serializable {
private static final long serialVersionUID = 44624327598485443L;
private Integer id;
private Integer userId;
private String receiveName;
private String fullAddress;
private String postalCode;
private String mobile;
private String phone;
private boolean beDefault;
// Constructors
/** default constructor */
public ReceiveAddress() {
}
/** minimal constructor */
public ReceiveAddress(Integer userId, String receiveName,
String fullAddress, String postalCode, String mobile) {
this.userId = userId;
this.receiveName = receiveName;
this.fullAddress = fullAddress;
this.postalCode = postalCode;
this.mobile = mobile;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getReceiveName() {
return this.receiveName;
}
public void setReceiveName(String receiveName) {
this.receiveName = receiveName;
}
public String getFullAddress() {
return this.fullAddress;
}
public void setFullAddress(String fullAddress) {
this.fullAddress = fullAddress;
}
public String getPostalCode() {
return this.postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public String getMobile() {
return this.mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public boolean isBeDefault() {
return beDefault;
}
public void setBeDefault(boolean beDefault) {
this.beDefault = beDefault;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -