Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d9fc936e
authored
Sep 27, 2023
by
李小龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 用户导入模板
parent
68eb3096
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
server-service/src/main/java/com/makeit/dto/platform/auth/PlatUserImportDTO.java
server-service/src/main/java/com/makeit/dto/platform/auth/PlatUserImportDTO.java
View file @
d9fc936e
...
...
@@ -8,26 +8,22 @@ import lombok.Data;
public
class
PlatUserImportDTO
{
private
static
final
String
headDesc
=
"导入说明:\n"
+
"\n"
+
"1.带*号为必填项\n"
+
"\n"
+
"2.手机号和邮箱不可重复\n"
+
"\n"
+
"3.角色必须为【角色管理】处维护的角色名称\n"
+
"\n"
+
"4.导入人员默认登录密码为:888888"
;
"4.导入人员默认登录密码为:abc888888"
;
@ExcelProperty
(
value
=
"姓名*"
)
@ExcelProperty
(
value
=
{
headDesc
,
"姓名*"
}
)
private
String
username
;
@ExcelProperty
(
value
=
"手机号*"
)
@ExcelProperty
(
value
=
{
headDesc
,
"手机号*"
}
)
private
String
mobile
;
@ExcelProperty
(
value
=
"邮箱"
)
@ExcelProperty
(
value
=
{
headDesc
,
"邮箱"
}
)
private
String
email
;
@ExcelProperty
(
value
=
"*所属组织"
)
@ExcelProperty
(
value
=
{
headDesc
,
"*所属组织"
}
)
private
String
orgName
;
@ExcelProperty
(
value
=
"*角色"
)
@ExcelProperty
(
value
=
{
headDesc
,
"*角色"
}
)
private
String
roleName
;
@ExcelProperty
(
value
=
"备注"
)
@ExcelProperty
(
value
=
{
headDesc
,
"备注"
}
)
private
String
remark
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment