origins
This commit is contained in:
parent
b89fb42679
commit
669bfbf5a0
6 changed files with 232 additions and 12 deletions
|
|
@ -14,3 +14,22 @@ type Merch struct {
|
|||
UserId string
|
||||
Name string
|
||||
}
|
||||
|
||||
// Origin model. Table name: merch_origins
|
||||
type Origin struct {
|
||||
Id uint
|
||||
CreatedAt time.Time
|
||||
DeletedAt sql.NullTime
|
||||
Name string
|
||||
}
|
||||
|
||||
// Price model. Table name: merch_prices
|
||||
type Price struct {
|
||||
Id uint
|
||||
CreatedAt time.Time
|
||||
UpdatedAt sql.NullTime
|
||||
DeletedAt sql.NullTime
|
||||
MerchUuid string
|
||||
Price int
|
||||
OriginId uint
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue