Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
1ebddf97
Commit
1ebddf97
authored
Mar 12, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
f57ada73
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Role.java
src/main/java/cn/wisenergy/chnmuseum/party/model/Role.java
+8
-8
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/model/Role.java
View file @
1ebddf97
...
...
@@ -6,9 +6,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
java.util.Date
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.List
;
/**
...
...
@@ -24,7 +23,7 @@ public class Role extends Model<Role> {
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
/**
* 创建时间
...
...
@@ -64,7 +63,8 @@ public class Role extends Model<Role> {
@TableField
(
"is_deleted"
)
private
Integer
isDeleted
;
private
Integer
sort
;
// 排序
@TableField
(
"sortorder"
)
private
Integer
sortorder
;
// 排序
@TableField
(
exist
=
false
)
private
List
<
RolePermission
>
rolePermissionList
;
...
...
@@ -149,12 +149,12 @@ public class Role extends Model<Role> {
this
.
rolePermissionList
=
rolePermissionList
;
}
public
Integer
getSort
()
{
return
sort
;
public
Integer
getSort
order
()
{
return
sort
order
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
public
void
setSort
order
(
Integer
sortorder
)
{
this
.
sort
order
=
sortorder
;
}
@Override
...
...
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