feat: implement doctor schedule module, add detail fields to doctor profile, and integrate new appointment API client

This commit is contained in:
2026-07-23 19:34:02 +07:00
parent 107e191e93
commit 6d84979f03
111 changed files with 5138 additions and 288 deletions
+10
View File
@@ -0,0 +1,10 @@
package vn.sis.appointment;
import java.time.Instant;
record CachedToken(String accessToken, String tokenType, Instant expiresAt) {
boolean isValid() {
return accessToken != null && !accessToken.isBlank()
&& Instant.now().isBefore(expiresAt.minusSeconds(15));
}
}