added statistics for create and found posts

This commit is contained in:
SlimusMinus
2026-07-30 00:18:05 +03:00
parent 1981eb54a4
commit bea9696a28
7 changed files with 127 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
package com.krylov.refound.entity;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
@Entity
@Table(name = "statistics")
@Getter
@Setter
public class Statistics {
@Id
private Long id;
private Long postsCreated;
private Long postsFound;
}