working on location form
This commit is contained in:
@@ -5,9 +5,6 @@ type Location struct {
|
||||
ID int `storm:"id,increment,index"`
|
||||
Name string `storm:"unique"`
|
||||
Description string
|
||||
CoverPhoto string // A "cover photo" for the location
|
||||
Photos []string // A list of additional photos for the location
|
||||
Rooms []Room
|
||||
Notes string
|
||||
Address string
|
||||
SquareFeet int
|
||||
@@ -16,6 +13,10 @@ type Location struct {
|
||||
DatePurchased string
|
||||
PurchasePrice string
|
||||
CurrentValue string
|
||||
CoverPhoto string // A "cover photo" for the location
|
||||
Photos []string // A list of additional photos for the location
|
||||
Files []string
|
||||
Rooms []Room
|
||||
}
|
||||
|
||||
// Room is a containerized area at a location
|
||||
@@ -23,13 +24,13 @@ type Room struct {
|
||||
ID int `storm:"id,increment,index"`
|
||||
Name string
|
||||
Description string
|
||||
Paint string // Details about the paint
|
||||
Notes string
|
||||
SquareFeet int
|
||||
CoverPhoto string // A "cover photo" for the room
|
||||
Photos []string // A list of additional photos for the room
|
||||
Paint string // Details about the paint
|
||||
Notes string
|
||||
Cabinets []Cabinet
|
||||
Items []Item
|
||||
SquareFeet int
|
||||
LocationID int //Which location room is assigned to
|
||||
LocationName string // Location name room belongs to
|
||||
|
||||
|
Reference in New Issue
Block a user