package com.ruoyi.user.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
|
/**
|
* 会员收货地址 account_address
|
*
|
* @author ruoyi
|
*/
|
public class AccountAddress extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private Long id;
|
|
/** 会员ID */
|
private Long userId;
|
|
/** 收货人 */
|
private String consignee;
|
|
/** 收货人电话 */
|
private String consigneePhone;
|
|
/** 收货地址 */
|
private String address;
|
|
/** 是否默认(0否 1是) */
|
private String isDefault;
|
|
/** 删除标志(0存在 2删除) */
|
private String delFlag;
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getUserId()
|
{
|
return userId;
|
}
|
|
public void setUserId(Long userId)
|
{
|
this.userId = userId;
|
}
|
|
public String getConsignee()
|
{
|
return consignee;
|
}
|
|
public void setConsignee(String consignee)
|
{
|
this.consignee = consignee;
|
}
|
|
public String getConsigneePhone()
|
{
|
return consigneePhone;
|
}
|
|
public void setConsigneePhone(String consigneePhone)
|
{
|
this.consigneePhone = consigneePhone;
|
}
|
|
public String getAddress()
|
{
|
return address;
|
}
|
|
public void setAddress(String address)
|
{
|
this.address = address;
|
}
|
|
public String getIsDefault()
|
{
|
return isDefault;
|
}
|
|
public void setIsDefault(String isDefault)
|
{
|
this.isDefault = isDefault;
|
}
|
|
public String getDelFlag()
|
{
|
return delFlag;
|
}
|
|
public void setDelFlag(String delFlag)
|
{
|
this.delFlag = delFlag;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userId", getUserId())
|
.append("consignee", getConsignee())
|
.append("consigneePhone", getConsigneePhone())
|
.append("address", getAddress())
|
.append("isDefault", getIsDefault())
|
.append("delFlag", getDelFlag())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("remark", getRemark())
|
.toString();
|
}
|
}
|