29 lines
524 B
Go
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
|
|
}
|