Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "team.themoment.datagsm.sdk"
version = "1.4.0"
version = "1.5.0"

java {
toolchain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public class Student {
private Integer dormitoryRoom;
private Club majorClub;
private Club autonomousClub;
private String githubId;
private String githubUrl;

public Student() {}

Expand Down Expand Up @@ -144,6 +146,22 @@ public void setAutonomousClub(Club autonomousClub) {
this.autonomousClub = autonomousClub;
}

public Optional<String> getGithubId() {
return Optional.ofNullable(githubId);
}

public void setGithubId(String githubId) {
this.githubId = githubId;
}

public Optional<String> getGithubUrl() {
return Optional.ofNullable(githubUrl);
}

public void setGithubUrl(String githubUrl) {
this.githubUrl = githubUrl;
}

@Override
public String toString() {
return "Student{" +
Expand All @@ -162,6 +180,8 @@ public String toString() {
", dormitoryRoom=" + dormitoryRoom +
", majorClub=" + majorClub +
", autonomousClub=" + autonomousClub +
", githubId='" + githubId + '\'' +
", githubUrl='" + githubUrl + '\'' +
'}';
}
}