19 lines
474 B
Go
19 lines
474 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type SelfOrderSession struct {
|
|
ID string `json:"id"`
|
|
TableID uuid.UUID `json:"table_id"`
|
|
OrganizationID uuid.UUID `json:"organization_id"`
|
|
OutletID uuid.UUID `json:"outlet_id"`
|
|
Status string `json:"status"`
|
|
CustomerName string `json:"customer_name"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
ClosedAt *time.Time `json:"closed_at,omitempty"`
|
|
}
|