-
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.
- Loading branch information
Showing
37 changed files
with
4,321 additions
and
106 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
2 changes: 1 addition & 1 deletion
2
.../adapter/dao/entity/base/EchoExample.java → ...ync/adapter/dao/dto/base/EchoExample.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
207 changes: 207 additions & 0 deletions
207
app/adapter/src/main/java/net/averak/gsync/adapter/dao/dto/base/PlayerDto.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
package net.averak.gsync.adapter.dao.dto.base; | ||
|
||
import java.time.LocalDateTime; | ||
import javax.annotation.Nonnull; | ||
import javax.annotation.Nullable; | ||
|
||
public class PlayerDto { | ||
/** | ||
* | ||
* This field was generated by MyBatis Generator. This field corresponds to the | ||
* database column gsync_player.player_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
private String playerId; | ||
|
||
/** | ||
* | ||
* This field was generated by MyBatis Generator. This field corresponds to the | ||
* database column gsync_player.friend_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
private String friendId; | ||
|
||
/** | ||
* | ||
* This field was generated by MyBatis Generator. This field corresponds to the | ||
* database column gsync_player.is_banned | ||
* | ||
* @mbg.generated | ||
*/ | ||
private Boolean isBanned; | ||
|
||
/** | ||
* | ||
* This field was generated by MyBatis Generator. This field corresponds to the | ||
* database column gsync_player.created_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
private LocalDateTime createdAt; | ||
|
||
/** | ||
* | ||
* This field was generated by MyBatis Generator. This field corresponds to the | ||
* database column gsync_player.updated_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
private LocalDateTime updatedAt; | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method corresponds to | ||
* the database table gsync_player | ||
* | ||
* @mbg.generated | ||
*/ | ||
public PlayerDto(@Nonnull String playerId, @Nonnull String friendId, @Nonnull Boolean isBanned, | ||
@Nonnull LocalDateTime createdAt, @Nonnull LocalDateTime updatedAt) { | ||
this.playerId = playerId; | ||
this.friendId = friendId; | ||
this.isBanned = isBanned; | ||
this.createdAt = createdAt; | ||
this.updatedAt = updatedAt; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method corresponds to | ||
* the database table gsync_player | ||
* | ||
* @mbg.generated | ||
*/ | ||
public PlayerDto() { | ||
super(); | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method returns the value | ||
* of the database column gsync_player.player_id | ||
* | ||
* @return the value of gsync_player.player_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
@Nonnull | ||
public String getPlayerId() { | ||
return playerId; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method sets the value of | ||
* the database column gsync_player.player_id | ||
* | ||
* @param playerId | ||
* the value for gsync_player.player_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
public void setPlayerId(@Nonnull String playerId) { | ||
this.playerId = playerId; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method returns the value | ||
* of the database column gsync_player.friend_id | ||
* | ||
* @return the value of gsync_player.friend_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
@Nonnull | ||
public String getFriendId() { | ||
return friendId; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method sets the value of | ||
* the database column gsync_player.friend_id | ||
* | ||
* @param friendId | ||
* the value for gsync_player.friend_id | ||
* | ||
* @mbg.generated | ||
*/ | ||
public void setFriendId(@Nonnull String friendId) { | ||
this.friendId = friendId; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method returns the value | ||
* of the database column gsync_player.is_banned | ||
* | ||
* @return the value of gsync_player.is_banned | ||
* | ||
* @mbg.generated | ||
*/ | ||
@Nonnull | ||
public Boolean getIsBanned() { | ||
return isBanned; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method sets the value of | ||
* the database column gsync_player.is_banned | ||
* | ||
* @param isBanned | ||
* the value for gsync_player.is_banned | ||
* | ||
* @mbg.generated | ||
*/ | ||
public void setIsBanned(@Nonnull Boolean isBanned) { | ||
this.isBanned = isBanned; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method returns the value | ||
* of the database column gsync_player.created_at | ||
* | ||
* @return the value of gsync_player.created_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
@Nonnull | ||
public LocalDateTime getCreatedAt() { | ||
return createdAt; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method sets the value of | ||
* the database column gsync_player.created_at | ||
* | ||
* @param createdAt | ||
* the value for gsync_player.created_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
public void setCreatedAt(@Nonnull LocalDateTime createdAt) { | ||
this.createdAt = createdAt; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method returns the value | ||
* of the database column gsync_player.updated_at | ||
* | ||
* @return the value of gsync_player.updated_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
@Nonnull | ||
public LocalDateTime getUpdatedAt() { | ||
return updatedAt; | ||
} | ||
|
||
/** | ||
* This method was generated by MyBatis Generator. This method sets the value of | ||
* the database column gsync_player.updated_at | ||
* | ||
* @param updatedAt | ||
* the value for gsync_player.updated_at | ||
* | ||
* @mbg.generated | ||
*/ | ||
public void setUpdatedAt(@Nonnull LocalDateTime updatedAt) { | ||
this.updatedAt = updatedAt; | ||
} | ||
} |
Oops, something went wrong.