package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
|
/**
|
* @auther lyq
|
* @create 2021-04-14 15:04:16
|
* @describe 用户收货地址表实体类
|
*/
|
|
@Data
|
@TableName("com_shop_user_address")
|
public class ComShopUserAddressDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 收货人名称
|
*/
|
private String name;
|
|
/**
|
* 收货人手机号
|
*/
|
private String phone;
|
|
/**
|
* 收货人省份编码
|
*/
|
private String provinceCode;
|
|
/**
|
* 收货人省份名称
|
*/
|
private String provinceName;
|
|
/**
|
* 收货人城市编码
|
*/
|
private String cityCode;
|
|
/**
|
* 收货人城市名称
|
*/
|
private String cityName;
|
|
/**
|
* 收货人区县编码
|
*/
|
private String districtCode;
|
|
/**
|
* 收货人区县名称
|
*/
|
private String districtName;
|
|
/**
|
* 收货人详细地址
|
*/
|
private String detailAddress;
|
|
/**
|
* 是否是默认地址(1.是 2.否)
|
*/
|
private Integer isDefault;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.UPDATE)
|
private Date updateAt;
|
|
@Override
|
public String toString() {
|
return "ComShopUserAddressDO{" +
|
"id=" + id +
|
", userId=" + userId +
|
", name=" + name +
|
", phone=" + phone +
|
", provinceCode=" + provinceCode +
|
", provinceName=" + provinceName +
|
", cityCode=" + cityCode +
|
", cityName=" + cityName +
|
", districtCode=" + districtCode +
|
", districtName=" + districtName +
|
", detailAddress=" + detailAddress +
|
", isDefault=" + isDefault +
|
", createAt=" + createAt +
|
", updateAt=" + updateAt +
|
"}";
|
}
|
}
|