You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
1 year ago
|
package com.sky.entity;
|
||
|
|
||
|
import lombok.AllArgsConstructor;
|
||
|
import lombok.Builder;
|
||
|
import lombok.Data;
|
||
|
import lombok.NoArgsConstructor;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/**
|
||
|
* 地址簿
|
||
|
*/
|
||
|
@Data
|
||
|
@Builder
|
||
|
@NoArgsConstructor
|
||
|
@AllArgsConstructor
|
||
|
public class AddressBook implements Serializable {
|
||
|
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
private Long id;
|
||
|
|
||
|
//用户id
|
||
|
private Long userId;
|
||
|
|
||
|
//收货人
|
||
|
private String consignee;
|
||
|
|
||
|
//手机号
|
||
|
private String phone;
|
||
|
|
||
|
//性别 0 女 1 男
|
||
|
private String sex;
|
||
|
|
||
|
//省级区划编号
|
||
|
private String provinceCode;
|
||
|
|
||
|
//省级名称
|
||
|
private String provinceName;
|
||
|
|
||
|
//市级区划编号
|
||
|
private String cityCode;
|
||
|
|
||
|
//市级名称
|
||
|
private String cityName;
|
||
|
|
||
|
//区级区划编号
|
||
|
private String districtCode;
|
||
|
|
||
|
//区级名称
|
||
|
private String districtName;
|
||
|
|
||
|
//详细地址
|
||
|
private String detail;
|
||
|
|
||
|
//标签
|
||
|
private String label;
|
||
|
|
||
|
//是否默认 0否 1是
|
||
|
private Integer isDefault;
|
||
|
}
|