apskel-pos-backend/internal/entity/casheer_session.go
2025-06-27 13:01:39 +07:00

29 lines
524 B
Go

package entity
import "time"
type CashierSession struct {
ID int64
PartnerID int64
CashierID int64
OpenedAt time.Time
ClosedAt *time.Time
OpeningAmount float64
ClosingAmount *float64
ExpectedAmount *float64
Status string
}
type PaymentSummary struct {
PaymentType string
PaymentProvider string
TotalAmount float64
}
type CashierSessionReport struct {
SessionID int64
ExpectedAmount float64
ClosingAmount float64
Payments []PaymentSummary
}