package models import "time" type CashierSessionDB struct { ID int64 `gorm:"primaryKey"` CashierID int64 `gorm:"not null"` OpenedAt time.Time `gorm:"not null"` ClosedAt *time.Time OpeningAmount float64 `gorm:"not null"` ClosingAmount *float64 ExpectedAmount *float64 Notes *string Status string `gorm:"not null"` CreatedAt time.Time } func (CashierSessionDB) TableName() string { return "cashier_sessions" }