Updating receipt struct
Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
This commit is contained in:
parent
c23a8d76b5
commit
fc11937b07
@ -5,9 +5,11 @@ import "time"
|
||||
type Receipt struct {
|
||||
ID int64 `json:"id"`
|
||||
// Owner string `json:"username"`
|
||||
OwnerID int64 `json:"user_id"`
|
||||
ImageIDs []int64 `json:"image_ids"`
|
||||
Data ReceiptData `json:"receipt_data"`
|
||||
OwnerID int64 `json:"user_id"`
|
||||
ImageIDs []int64 `json:"image_ids"`
|
||||
Data ReceiptData `json:"receipt_data"`
|
||||
CreatedAt time.Time `json:"created_at`
|
||||
UpdatedAt time.Time `json:"updated_at`
|
||||
}
|
||||
|
||||
type ReceiptData struct {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user