Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
ops
Commits
ba0eb8a2
Commit
ba0eb8a2
authored
Aug 28, 2024
by
wujipeng
Browse files
优化
parent
755ac16f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/entity/UserEntity.java
View file @
ba0eb8a2
...
@@ -3,9 +3,11 @@ package com.ruzhoukj.sms.entity;
...
@@ -3,9 +3,11 @@ package com.ruzhoukj.sms.entity;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.math.BigInteger
;
import
java.math.BigInteger
;
import
java.util.Date
;
/**
/**
* @author sxx
* @author sxx
...
@@ -19,7 +21,9 @@ public class UserEntity {
...
@@ -19,7 +21,9 @@ public class UserEntity {
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
private
String
id
;
private
String
name
;
private
String
name
;
private
BigInteger
createTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
createTime
;
private
String
departments
;
private
String
departments
;
private
String
email
;
private
String
email
;
private
String
password
;
}
}
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