-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
38557c5
commit 6b06e80
Showing
3 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
package edu.cmipt.gcs.pojo; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
import com.baomidou.mybatisplus.annotation.TableId; | ||
import com.baomidou.mybatisplus.annotation.TableName; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@TableName("t_user") | ||
public record UserPO(@TableId Long pkUserId, String username, String email, String userPassword, LocalDateTime gmtCreated, | ||
LocalDateTime gmtUpdated, LocalDateTime gmtDeleted) { | ||
} | ||
public record UserPO( | ||
@TableId Long pkUserId, | ||
String username, | ||
String email, | ||
String userPassword, | ||
LocalDateTime gmtCreated, | ||
LocalDateTime gmtUpdated, | ||
LocalDateTime gmtDeleted) {} |
13 changes: 6 additions & 7 deletions
13
src/test/java/edu/cmipt/gcs/controller/dao/UserMapperTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters