Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yudao-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hblj
yudao-cloud
Commits
1513ca33
提交
1513ca33
authored
4月 06, 2019
作者:
YunaiV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
后端:去除 user 模块的 setting getting 方法
上级
0e26b22e
隐藏空白字符变更
内嵌
并排
正在显示
30 个修改的文件
包含
191 行增加
和
1188 行删除
+191
-1188
pom.xml
user/user-application/pom.xml
+16
-55
UserAddressAddPO.java
...cn/iocoder/mall/user/application/po/UserAddressAddPO.java
+4
-45
UserAddressUpdatePO.java
...iocoder/mall/user/application/po/UserAddressUpdatePO.java
+4
-55
AdminsUserPageVO.java
...der/mall/user/application/vo/admins/AdminsUserPageVO.java
+5
-20
AdminsUserVO.java
...iocoder/mall/user/application/vo/admins/AdminsUserVO.java
+5
-56
MobileRegisterVO.java
...oder/mall/user/application/vo/users/MobileRegisterVO.java
+5
-29
UsersUserVO.java
...n/iocoder/mall/user/application/vo/users/UsersUserVO.java
+5
-38
pom.xml
user/user-sdk/pom.xml
+17
-16
pom.xml
user/user-service-api/pom.xml
+15
-2
OAuth2AccessTokenBO.java
...java/cn/iocoder/mall/user/api/bo/OAuth2AccessTokenBO.java
+6
-29
OAuth2AuthenticationBO.java
...a/cn/iocoder/mall/user/api/bo/OAuth2AuthenticationBO.java
+6
-11
UserAddressBO.java
.../main/java/cn/iocoder/mall/user/api/bo/UserAddressBO.java
+5
-65
UserAddressPageBO.java
...n/java/cn/iocoder/mall/user/api/bo/UserAddressPageBO.java
+5
-25
UserBO.java
...api/src/main/java/cn/iocoder/mall/user/api/bo/UserBO.java
+6
-55
UserPageBO.java
...src/main/java/cn/iocoder/mall/user/api/bo/UserPageBO.java
+6
-20
UserAccessLogAddDTO.java
...ava/cn/iocoder/mall/user/api/dto/UserAccessLogAddDTO.java
+6
-74
UserAddressAddDTO.java
.../java/cn/iocoder/mall/user/api/dto/UserAddressAddDTO.java
+5
-55
UserAddressUpdateDTO.java
...va/cn/iocoder/mall/user/api/dto/UserAddressUpdateDTO.java
+5
-65
UserPageDTO.java
...c/main/java/cn/iocoder/mall/user/api/dto/UserPageDTO.java
+6
-29
UserUpdateDTO.java
...main/java/cn/iocoder/mall/user/api/dto/UserUpdateDTO.java
+6
-29
pom.xml
user/user-service-impl/pom.xml
+5
-24
MobileCodeDO.java
...ava/cn/iocoder/mall/user/biz/dataobject/MobileCodeDO.java
+6
-74
OAuth2AccessTokenDO.java
...iocoder/mall/user/biz/dataobject/OAuth2AccessTokenDO.java
+6
-55
OAuth2RefreshTokenDO.java
...ocoder/mall/user/biz/dataobject/OAuth2RefreshTokenDO.java
+5
-45
UserAccessLogDO.java
.../cn/iocoder/mall/user/biz/dataobject/UserAccessLogDO.java
+5
-83
UserAddressDO.java
...va/cn/iocoder/mall/user/biz/dataobject/UserAddressDO.java
+4
-65
UserDO.java
...main/java/cn/iocoder/mall/user/biz/dataobject/UserDO.java
+5
-46
UserLoginLogDO.java
...a/cn/iocoder/mall/user/biz/dataobject/UserLoginLogDO.java
+5
-0
UserRegisterDO.java
...a/cn/iocoder/mall/user/biz/dataobject/UserRegisterDO.java
+6
-21
UserThirdAuthDO.java
.../cn/iocoder/mall/user/biz/dataobject/UserThirdAuthDO.java
+6
-2
没有找到文件。
user/user-application/pom.xml
浏览文件 @
1513ca33
...
...
@@ -26,13 +26,27 @@
<artifactId>
user-service-impl
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-sdk
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
...
...
@@ -47,62 +61,26 @@
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
2.6.5
</version>
</dependency>
<dependency>
<groupId>
com.alibaba.boot
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<version>
0.2.1.RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<version>
2.12.0
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
<version>
${org.mapstruct.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
<version>
${org.mapstruct.version}
</version>
</dependency>
</dependencies>
...
...
@@ -112,30 +90,14 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
1.8
</source>
<!-- or higher, depending on your project -->
<target>
1.8
</target>
<!-- or higher, depending on your project -->
<annotationProcessorPaths>
<path>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-processor
</artifactId>
<version>
${org.mapstruct.version}
</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<!-- 打包 -->
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<fork>
true
</fork>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
user/user-application/src/main/java/cn/iocoder/mall/user/application/po/UserAddressAddPO.java
浏览文件 @
1513ca33
...
...
@@ -2,6 +2,8 @@ package cn.iocoder.mall.user.application.po;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Size
;
...
...
@@ -14,6 +16,8 @@ import java.io.Serializable;
* @time 2019-04-06 14:13
*/
@ApiModel
(
"用户地址"
)
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressAddPO
implements
Serializable
{
/**
...
...
@@ -43,49 +47,4 @@ public class UserAddressAddPO implements Serializable {
@Size
(
min
=
10
,
max
=
100
,
message
=
"地址在 10 ~ 100 字之间!"
)
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressAddPO{"
+
"areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressAddPO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressAddPO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressAddPO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressAddPO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-application/src/main/java/cn/iocoder/mall/user/application/po/UserAddressUpdatePO.java
浏览文件 @
1513ca33
...
...
@@ -2,6 +2,8 @@ package cn.iocoder.mall.user.application.po;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Size
;
...
...
@@ -14,6 +16,8 @@ import java.io.Serializable;
* @time 2019-04-06 14:13
*/
@ApiModel
(
"用户地址-更新"
)
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressUpdatePO
implements
Serializable
{
...
...
@@ -50,59 +54,4 @@ public class UserAddressUpdatePO implements Serializable {
@Size
(
min
=
10
,
max
=
100
,
message
=
"地址在 10 ~ 100 字之间!"
)
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressUpdatePO{"
+
"id="
+
id
+
", areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
Integer
getId
()
{
return
id
;
}
public
UserAddressUpdatePO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressUpdatePO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressUpdatePO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressUpdatePO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressUpdatePO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-application/src/main/java/cn/iocoder/mall/user/application/vo/admins/AdminsUserPageVO.java
浏览文件 @
1513ca33
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.user.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"用户分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsUserPageVO
{
@ApiModelProperty
(
value
=
"用户数组"
)
...
...
@@ -13,22 +17,4 @@ public class AdminsUserPageVO {
@ApiModelProperty
(
value
=
"用户总数"
)
private
Integer
count
;
public
List
<
AdminsUserVO
>
getUsers
()
{
return
users
;
}
public
AdminsUserPageVO
setUsers
(
List
<
AdminsUserVO
>
users
)
{
this
.
users
=
users
;
return
this
;
}
public
Integer
getCount
()
{
return
count
;
}
public
AdminsUserPageVO
setCount
(
Integer
count
)
{
this
.
count
=
count
;
return
this
;
}
}
\ No newline at end of file
}
user/user-application/src/main/java/cn/iocoder/mall/user/application/vo/admins/AdminsUserVO.java
浏览文件 @
1513ca33
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.user.application.vo.admins;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@ApiModel
(
"用户 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminsUserVO
{
@ApiModelProperty
(
value
=
"用户编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -21,58 +25,4 @@ public class AdminsUserVO {
@ApiModelProperty
(
value
=
"创建时间"
,
required
=
true
,
example
=
"时间戳格式"
)
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
AdminsUserVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
AdminsUserVO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminsUserVO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getAvatar
()
{
return
avatar
;
}
public
AdminsUserVO
setAvatar
(
String
avatar
)
{
this
.
avatar
=
avatar
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminsUserVO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
AdminsUserVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-application/src/main/java/cn/iocoder/mall/user/application/vo/users/MobileRegisterVO.java
浏览文件 @
1513ca33
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.user.application.vo.users;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"手机注册结果 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
MobileRegisterVO
{
@ApiModelProperty
(
value
=
"访问令牌"
,
required
=
true
,
example
=
"2e3d7635c15e47e997611707a237859f"
)
...
...
@@ -13,31 +17,4 @@ public class MobileRegisterVO {
@ApiModelProperty
(
value
=
"过期时间,单位:秒"
,
required
=
true
,
example
=
"2879"
)
private
Integer
expiresIn
;
public
String
getAccessToken
()
{
return
accessToken
;
}
public
MobileRegisterVO
setAccessToken
(
String
accessToken
)
{
this
.
accessToken
=
accessToken
;
return
this
;
}
public
String
getRefreshToken
()
{
return
refreshToken
;
}
public
MobileRegisterVO
setRefreshToken
(
String
refreshToken
)
{
this
.
refreshToken
=
refreshToken
;
return
this
;
}
public
Integer
getExpiresIn
()
{
return
expiresIn
;
}
public
MobileRegisterVO
setExpiresIn
(
Integer
expiresIn
)
{
this
.
expiresIn
=
expiresIn
;
return
this
;
}
}
\ No newline at end of file
}
user/user-application/src/main/java/cn/iocoder/mall/user/application/vo/users/UsersUserVO.java
浏览文件 @
1513ca33
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.user.application.vo.users;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"用户信息 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
UsersUserVO
{
@ApiModelProperty
(
value
=
"用户编号"
,
required
=
true
,
example
=
"123"
)
...
...
@@ -15,40 +19,4 @@ public class UsersUserVO {
@ApiModelProperty
(
value
=
"头像"
,
required
=
true
,
example
=
"http://www.iocoder.cn/xxx.jpg"
)
private
String
avatar
;
public
Integer
getId
()
{
return
id
;
}
public
UsersUserVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UsersUserVO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
UsersUserVO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getAvatar
()
{
return
avatar
;
}
public
UsersUserVO
setAvatar
(
String
avatar
)
{
this
.
avatar
=
avatar
;
return
this
;
}
}
\ No newline at end of file
}
user/user-sdk/pom.xml
浏览文件 @
1513ca33
...
...
@@ -11,6 +11,19 @@
<artifactId>
user-sdk
</artifactId>
<dependencies>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
...
...
@@ -29,31 +42,20 @@
<version>
5.1.5.RELEASE
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
2.6.5
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
user/user-service-api/pom.xml
浏览文件 @
1513ca33
...
...
@@ -16,7 +16,21 @@
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-jdk8
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/OAuth2AccessTokenBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AccessTokenBO
implements
Serializable
{
/**
...
...
@@ -17,31 +22,4 @@ public class OAuth2AccessTokenBO implements Serializable {
*/
private
Integer
expiresIn
;
public
String
getAccessToken
()
{
return
accessToken
;
}
public
OAuth2AccessTokenBO
setAccessToken
(
String
accessToken
)
{
this
.
accessToken
=
accessToken
;
return
this
;
}
public
String
getRefreshToken
()
{
return
refreshToken
;
}
public
OAuth2AccessTokenBO
setRefreshToken
(
String
refreshToken
)
{
this
.
refreshToken
=
refreshToken
;
return
this
;
}
public
Integer
getExpiresIn
()
{
return
expiresIn
;
}
public
OAuth2AccessTokenBO
setExpiresIn
(
Integer
expiresIn
)
{
this
.
expiresIn
=
expiresIn
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/OAuth2AuthenticationBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AuthenticationBO
implements
Serializable
{
/**
...
...
@@ -9,13 +14,4 @@ public class OAuth2AuthenticationBO implements Serializable {
*/
private
Integer
userId
;
public
Integer
getUserId
()
{
return
userId
;
}
public
OAuth2AuthenticationBO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/UserAddressBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* @author Sin
* @time 2019-04-06 13:28
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressBO
{
...
...
@@ -32,69 +37,4 @@ public class UserAddressBO {
*/
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressBO{"
+
"id="
+
id
+
", userId="
+
userId
+
", areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
Integer
getId
()
{
return
id
;
}
public
UserAddressBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAddressBO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressBO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressBO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressBO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressBO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/UserAddressPageBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.util.List
;
...
...
@@ -9,6 +12,8 @@ import java.util.List;
* @author Sin
* @time 2019-04-06 13:56
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressPageBO
implements
Serializable
{
/**
...
...
@@ -20,29 +25,4 @@ public class UserAddressPageBO implements Serializable {
*/
private
List
<
UserAddressBO
>
list
;
@Override
public
String
toString
()
{
return
"UserAddressPageBO{"
+
"total="
+
total
+
", list="
+
list
+
'}'
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
UserAddressPageBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
public
List
<
UserAddressBO
>
getList
()
{
return
list
;
}
public
UserAddressPageBO
setList
(
List
<
UserAddressBO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/UserBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@Data
@Accessors
(
chain
=
true
)
public
class
UserBO
{
/**
...
...
@@ -32,57 +37,4 @@ public class UserBO {
*/
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
UserBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserBO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
UserBO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getAvatar
()
{
return
avatar
;
}
public
UserBO
setAvatar
(
String
avatar
)
{
this
.
avatar
=
avatar
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
UserBO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
UserBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/bo/UserPageBO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@Data
@Accessors
(
chain
=
true
)
public
class
UserPageBO
{
/**
...
...
@@ -13,22 +18,4 @@ public class UserPageBO {
*/
private
Integer
count
;
public
List
<
UserBO
>
getUsers
()
{
return
users
;
}
public
UserPageBO
setUsers
(
List
<
UserBO
>
users
)
{
this
.
users
=
users
;
return
this
;
}
public
Integer
getCount
()
{
return
count
;
}
public
UserPageBO
setCount
(
Integer
count
)
{
this
.
count
=
count
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/dto/UserAccessLogAddDTO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
java.util.Date
;
/**
* 用户访问日志添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAccessLogAddDTO
{
/**
...
...
@@ -56,76 +61,4 @@ public class UserAccessLogAddDTO {
@NotNull
(
message
=
"响应时长不能为空"
)
private
Integer
responseTime
;
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAccessLogAddDTO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getUri
()
{
return
uri
;
}
public
UserAccessLogAddDTO
setUri
(
String
uri
)
{
this
.
uri
=
uri
;
return
this
;
}
public
String
getQueryString
()
{
return
queryString
;
}
public
UserAccessLogAddDTO
setQueryString
(
String
queryString
)
{
this
.
queryString
=
queryString
;
return
this
;
}
public
String
getMethod
()
{
return
method
;
}
public
UserAccessLogAddDTO
setMethod
(
String
method
)
{
this
.
method
=
method
;
return
this
;
}
public
String
getUserAgent
()
{
return
userAgent
;
}
public
UserAccessLogAddDTO
setUserAgent
(
String
userAgent
)
{
this
.
userAgent
=
userAgent
;
return
this
;
}
public
String
getIp
()
{
return
ip
;
}
public
UserAccessLogAddDTO
setIp
(
String
ip
)
{
this
.
ip
=
ip
;
return
this
;
}
public
Date
getStartTime
()
{
return
startTime
;
}
public
UserAccessLogAddDTO
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
return
this
;
}
public
Integer
getResponseTime
()
{
return
responseTime
;
}
public
UserAccessLogAddDTO
setResponseTime
(
Integer
responseTime
)
{
this
.
responseTime
=
responseTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/dto/UserAddressAddDTO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
/**
...
...
@@ -8,6 +11,8 @@ import java.io.Serializable;
* @author Sin
* @time 2019-04-06 13:25
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressAddDTO
implements
Serializable
{
/**
...
...
@@ -31,59 +36,4 @@ public class UserAddressAddDTO implements Serializable {
*/
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressAddDTO{"
+
"userId="
+
userId
+
", areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAddressAddDTO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressAddDTO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressAddDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressAddDTO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressAddDTO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/dto/UserAddressUpdateDTO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
/**
...
...
@@ -8,6 +11,8 @@ import java.io.Serializable;
* @author Sin
* @time 2019-04-06 13:28
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressUpdateDTO
implements
Serializable
{
/**
...
...
@@ -35,69 +40,4 @@ public class UserAddressUpdateDTO implements Serializable {
*/
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressUpdateDTO{"
+
"id="
+
id
+
", userId="
+
userId
+
", areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
Integer
getId
()
{
return
id
;
}
public
UserAddressUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAddressUpdateDTO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressUpdateDTO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressUpdateDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressUpdateDTO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressUpdateDTO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/dto/UserPageDTO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
@Data
@Accessors
(
chain
=
true
)
public
class
UserPageDTO
{
/**
...
...
@@ -16,31 +21,4 @@ public class UserPageDTO {
@NotNull
(
message
=
"每页条数不能为空"
)
private
Integer
pageSize
;
public
Integer
getPageNo
()
{
return
pageNo
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
UserPageDTO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
UserPageDTO
setPageNo
(
Integer
pageNo
)
{
this
.
pageNo
=
pageNo
;
return
this
;
}
public
Integer
getPageSize
()
{
return
pageSize
;
}
public
UserPageDTO
setPageSize
(
Integer
pageSize
)
{
this
.
pageSize
=
pageSize
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-api/src/main/java/cn/iocoder/mall/user/api/dto/UserUpdateDTO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 用户更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserUpdateDTO
{
/**
...
...
@@ -18,31 +23,4 @@ public class UserUpdateDTO {
*/
private
String
avatar
;
public
Integer
getId
()
{
return
id
;
}
public
UserUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
UserUpdateDTO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getAvatar
()
{
return
avatar
;
}
public
UserUpdateDTO
setAvatar
(
String
avatar
)
{
this
.
avatar
=
avatar
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/pom.xml
浏览文件 @
1513ca33
...
...
@@ -15,12 +15,7 @@
<artifactId>
user-service-impl
</artifactId>
<dependencies>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
2.6.5
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
...
...
@@ -40,12 +35,11 @@
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
2.0.0
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<version>
${org.mapstruct.version}
</version>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
</dependencies>
...
...
@@ -56,20 +50,8 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
1.8
</source>
<!-- or higher, depending on your project -->
<target>
1.8
</target>
<!-- or higher, depending on your project -->
<annotationProcessorPaths>
<path>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-processor
</artifactId>
<version>
${org.mapstruct.version}
</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/MobileCodeDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
// TODO 优化,IP
@Data
@Accessors
(
chain
=
true
)
public
class
MobileCodeDO
{
/**
...
...
@@ -38,76 +43,4 @@ public class MobileCodeDO {
*/
private
Date
usedTime
;
public
Integer
getId
()
{
return
id
;
}
public
MobileCodeDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
MobileCodeDO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getCode
()
{
return
code
;
}
public
MobileCodeDO
setCode
(
String
code
)
{
this
.
code
=
code
;
return
this
;
}
public
Integer
getTodayIndex
()
{
return
todayIndex
;
}
public
MobileCodeDO
setTodayIndex
(
Integer
todayIndex
)
{
this
.
todayIndex
=
todayIndex
;
return
this
;
}
public
Boolean
getUsed
()
{
return
used
;
}
public
MobileCodeDO
setUsed
(
Boolean
used
)
{
this
.
used
=
used
;
return
this
;
}
public
Integer
getUsedUserId
()
{
return
usedUserId
;
}
public
MobileCodeDO
setUsedUserId
(
Integer
usedUserId
)
{
this
.
usedUserId
=
usedUserId
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
MobileCodeDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Date
getUsedTime
()
{
return
usedTime
;
}
public
MobileCodeDO
setUsedTime
(
Date
usedTime
)
{
this
.
usedTime
=
usedTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/OAuth2AccessTokenDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AccessTokenDO
{
/**
...
...
@@ -29,57 +34,4 @@ public class OAuth2AccessTokenDO {
*/
private
Date
createTime
;
public
String
getId
()
{
return
id
;
}
public
OAuth2AccessTokenDO
setId
(
String
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getRefreshToken
()
{
return
refreshToken
;
}
public
OAuth2AccessTokenDO
setRefreshToken
(
String
refreshToken
)
{
this
.
refreshToken
=
refreshToken
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
OAuth2AccessTokenDO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
Date
getExpiresTime
()
{
return
expiresTime
;
}
public
OAuth2AccessTokenDO
setExpiresTime
(
Date
expiresTime
)
{
this
.
expiresTime
=
expiresTime
;
return
this
;
}
public
Boolean
getValid
()
{
return
valid
;
}
public
OAuth2AccessTokenDO
setValid
(
Boolean
valid
)
{
this
.
valid
=
valid
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
OAuth2AccessTokenDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/OAuth2RefreshTokenDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
...
...
@@ -7,6 +10,8 @@ import java.util.Date;
*
* idx_uid
*/
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2RefreshTokenDO
{
/**
...
...
@@ -30,49 +35,4 @@ public class OAuth2RefreshTokenDO {
*/
private
Date
createTime
;
public
String
getId
()
{
return
id
;
}
public
OAuth2RefreshTokenDO
setId
(
String
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
OAuth2RefreshTokenDO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
Boolean
getValid
()
{
return
valid
;
}
public
OAuth2RefreshTokenDO
setValid
(
Boolean
valid
)
{
this
.
valid
=
valid
;
return
this
;
}
public
Date
getExpiresTime
()
{
return
expiresTime
;
}
public
OAuth2RefreshTokenDO
setExpiresTime
(
Date
expiresTime
)
{
this
.
expiresTime
=
expiresTime
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
OAuth2RefreshTokenDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserAccessLogDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 用户访问日志 DO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAccessLogDO
extends
DeletableDO
{
/**
...
...
@@ -48,85 +52,4 @@ public class UserAccessLogDO extends DeletableDO {
*/
private
Integer
responseTime
;
public
Integer
getId
()
{
return
id
;
}
public
UserAccessLogDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAccessLogDO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getUri
()
{
return
uri
;
}
public
UserAccessLogDO
setUri
(
String
uri
)
{
this
.
uri
=
uri
;
return
this
;
}
public
String
getQueryString
()
{
return
queryString
;
}
public
UserAccessLogDO
setQueryString
(
String
queryString
)
{
this
.
queryString
=
queryString
;
return
this
;
}
public
String
getMethod
()
{
return
method
;
}
public
UserAccessLogDO
setMethod
(
String
method
)
{
this
.
method
=
method
;
return
this
;
}
public
String
getUserAgent
()
{
return
userAgent
;
}
public
UserAccessLogDO
setUserAgent
(
String
userAgent
)
{
this
.
userAgent
=
userAgent
;
return
this
;
}
public
String
getIp
()
{
return
ip
;
}
public
UserAccessLogDO
setIp
(
String
ip
)
{
this
.
ip
=
ip
;
return
this
;
}
public
Date
getStartTime
()
{
return
startTime
;
}
public
UserAccessLogDO
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
return
this
;
}
public
Integer
getResponseTime
()
{
return
responseTime
;
}
public
UserAccessLogDO
setResponseTime
(
Integer
responseTime
)
{
this
.
responseTime
=
responseTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserAddressDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 用户地址信息
...
...
@@ -8,6 +10,8 @@ import cn.iocoder.common.framework.dataobject.DeletableDO;
* @author Sin
* @time 2019-04-06 13:22
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserAddressDO
extends
DeletableDO
{
/**
...
...
@@ -35,69 +39,4 @@ public class UserAddressDO extends DeletableDO {
*/
private
String
address
;
@Override
public
String
toString
()
{
return
"UserAddressDO{"
+
"id="
+
id
+
", userId="
+
userId
+
", areaNo='"
+
areaNo
+
'\''
+
", name='"
+
name
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", address='"
+
address
+
'\''
+
'}'
;
}
public
Integer
getId
()
{
return
id
;
}
public
UserAddressDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getUserId
()
{
return
userId
;
}
public
UserAddressDO
setUserId
(
Integer
userId
)
{
this
.
userId
=
userId
;
return
this
;
}
public
String
getAreaNo
()
{
return
areaNo
;
}
public
UserAddressDO
setAreaNo
(
String
areaNo
)
{
this
.
areaNo
=
areaNo
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
UserAddressDO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserAddressDO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getAddress
()
{
return
address
;
}
public
UserAddressDO
setAddress
(
String
address
)
{
this
.
address
=
address
;
return
this
;
}
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 用户实体,存储用户基本数据。
*
* idx_mobile 唯一索引
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserDO
extends
DeletableDO
{
/**
...
...
@@ -33,49 +37,5 @@ public class UserDO extends DeletableDO {
*/
private
Integer
status
;
public
Integer
getId
()
{
return
id
;
}
public
UserDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getMobile
()
{
return
mobile
;
}
public
UserDO
setMobile
(
String
mobile
)
{
this
.
mobile
=
mobile
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
UserDO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getAvatar
()
{
return
avatar
;
}
public
UserDO
setAvatar
(
String
avatar
)
{
this
.
avatar
=
avatar
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
UserDO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserLoginLogDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@Data
@Accessors
(
chain
=
true
)
public
class
UserLoginLogDO
{
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserRegisterDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 用户注册信息
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserRegisterDO
{
/**
...
...
@@ -20,23 +25,4 @@ public class UserRegisterDO {
// TODO 芋艿 ua
// TODO 芋艿 方式,手机注册、qq 等等
public
Integer
getId
()
{
return
id
;
}
public
UserRegisterDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
UserRegisterDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
\ No newline at end of file
}
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/dataobject/UserThirdAuthDO.java
浏览文件 @
1513ca33
package
cn
.
iocoder
.
mall
.
user
.
biz
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 用户三方开放平台授权,例如:QQ / 微博 / 微信等等。
*/
@Data
@Accessors
(
chain
=
true
)
public
class
UserThirdAuthDO
{
/**
...
...
@@ -63,4 +68,4 @@ public class UserThirdAuthDO {
*/
private
String
extras
;
}
\ No newline at end of file
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论