github.com/altipla-consulting/ravendb-go-client@v0.1.3/tests/order_test.go (about)

     1  package tests
     2  
     3  import (
     4  	ravendb "github.com/altipla-consulting/ravendb-go-client"
     5  )
     6  
     7  type Order struct {
     8  	ID        string
     9  	Company   string       `json:"company"`
    10  	Employee  string       `json:"employee"`
    11  	OrderedAt ravendb.Time `json:"orderedAt"`
    12  	RequireAt ravendb.Time `json:"requireAt"`
    13  	ShippedAt ravendb.Time `json:"shippedAt"`
    14  	ShipTo    *Address     `json:"shipTo"`
    15  	ShipVia   string       `json:"shipVia"`
    16  	Freight   float64      `json:"freight"`
    17  	Lines     []*OrderLine `json:"lines"`
    18  }