NoIssue: Add Checksum tag and SHA256 valuetype
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package com.r35157.libs.valuetypes.basic;
|
||||
|
||||
/**
|
||||
* Checksum is the super tag for all kinds of checksum value types.
|
||||
*/
|
||||
|
||||
public interface Checksum {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.r35157.libs.valuetypes.basic;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Id is the super tag for all kinds of id value types.
|
||||
*/
|
||||
|
||||
public record SHA256Checksum (
|
||||
@NotNull String value
|
||||
) implements Checksum {}
|
||||
Reference in New Issue
Block a user