1.13.1原版

This commit is contained in:
2026-07-19 01:16:28 +08:00
commit c6ba83f5d7
133 changed files with 19136 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
package run.halo.moments;
import lombok.Builder;
import lombok.Value;
/**
* Stats of moment.
*
* @author LIlGG
* @since 1.0.0
*/
@Value
@Builder
public class Stats {
Integer upvote;
Integer totalComment;
Integer approvedComment;
public static Stats empty() {
return Stats.builder()
.upvote(0)
.totalComment(0)
.approvedComment(0)
.build();
}
}