package merch import ( "database/sql" "time" ) type Merch struct { Id int64 CreatedAt time.Time UpdatedAt sql.NullTime DeletedAt sql.NullTime MerchUuid string UserId string Name string } // Origin model. Table name: merch_origins type Origin struct { Id int64 CreatedAt time.Time DeletedAt sql.NullTime Name string } // Price model. Table name: merch_prices type Price struct { Id int64 CreatedAt time.Time UpdatedAt sql.NullTime DeletedAt sql.NullTime MerchUuid string Price int OriginId int64 } // ExtraData model. Table name: merch_extra_data type ExtraData struct { Id int64 CreatedAt time.Time UpdatedAt sql.NullTime DeletedAt sql.NullTime MerchId int64 OriginId int64 URL string }