fine-tuning notes in preparation for release
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -11,12 +11,12 @@ import java.sql.SQLException;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Map;
|
||||
|
||||
public record Note(long id, String module, long entityId, long authorId, String text, LocalDateTime timestamp) implements Mappable {
|
||||
public record Note(long id, String module, String entityId, long authorId, String text, LocalDateTime timestamp) implements Mappable {
|
||||
public static Note of(ResultSet rs) throws SQLException {
|
||||
return new Note(
|
||||
rs.getLong(ID),
|
||||
rs.getString(MODULE),
|
||||
rs.getLong(ENTITY_ID),
|
||||
rs.getString(ENTITY_ID),
|
||||
rs.getLong(USER_ID),
|
||||
rs.getString(NOTE),
|
||||
LocalDateTime.ofEpochSecond(rs.getLong(TIMESTAMP),0, UTC)
|
||||
|
||||
Reference in New Issue
Block a user