package org.octopus.internal.db.entities

import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import jakarta.persistence.Id
import java.util.Date

@Entity(name = "reports")
data class ReportEntity(
    @Id @GeneratedValue(strategy = GenerationType.IDENTITY)
    val id: Long = 0L,
    val start: Boolean,
    @Column(unique = true)
    val reportMonth: Date,
    val totalIncomes: Double,
    val totalOutcomes: Double,
    val expectedDelta: Double,
    val expectedCount: Double,
    val corrective: Double,
    val realCount: Double
)