// // Code generated by go-jet DO NOT EDIT. // // WARNING: Changes to this file may cause incorrect behavior // and will be lost if the code is regenerated // package model import ( "backend/database/fields" "time" ) type Orders struct { ID int64 `sql:"primary_key" json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` TenantID int64 `json:"tenant_id"` UserID int64 `json:"user_id"` Type fields.OrderType `json:"type"` Status fields.OrderStatus `json:"status"` OrderSerial string `json:"order_serial"` RemoteOrderSerial string `json:"remote_order_serial"` RefundSerial string `json:"refund_serial"` RemoteRefundSerial string `json:"remote_refund_serial"` Amount int64 `json:"amount"` Currency string `json:"currency"` Title string `json:"title"` Description *string `json:"description"` Meta fields.Json[fields.OrderMeta] `json:"meta"` }