From 205af6e1163687c498ef2e36e056a25974d22113 Mon Sep 17 00:00:00 2001 From: ptm9ao4hc <1494888045@qq.com> Date: Tue, 26 Sep 2023 11:47:38 +0800 Subject: [PATCH] ADD file via upload --- AddressBook.java | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 AddressBook.java diff --git a/AddressBook.java b/AddressBook.java new file mode 100644 index 0000000..a8a4648 --- /dev/null +++ b/AddressBook.java @@ -0,0 +1,61 @@ +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; +}