Documentation ¶
Index ¶
- Variables
- func AddDTBAuthorityRoleHook(hookPoint boil.HookPoint, dtbAuthorityRoleHook DTBAuthorityRoleHook)
- func AddDTBBaseInfoHook(hookPoint boil.HookPoint, dtbBaseInfoHook DTBBaseInfoHook)
- func AddDTBBlockHook(hookPoint boil.HookPoint, dtbBlockHook DTBBlockHook)
- func AddDTBBlockPositionHook(hookPoint boil.HookPoint, dtbBlockPositionHook DTBBlockPositionHook)
- func AddDTBCSVHook(hookPoint boil.HookPoint, dtbCSVHook DTBCSVHook)
- func AddDTBCartHook(hookPoint boil.HookPoint, dtbCartHook DTBCartHook)
- func AddDTBCartItemHook(hookPoint boil.HookPoint, dtbCartItemHook DTBCartItemHook)
- func AddDTBCategoryHook(hookPoint boil.HookPoint, dtbCategoryHook DTBCategoryHook)
- func AddDTBClassCategoryHook(hookPoint boil.HookPoint, dtbClassCategoryHook DTBClassCategoryHook)
- func AddDTBClassNameHook(hookPoint boil.HookPoint, dtbClassNameHook DTBClassNameHook)
- func AddDTBCustomerAddressHook(hookPoint boil.HookPoint, dtbCustomerAddressHook DTBCustomerAddressHook)
- func AddDTBCustomerFavoriteProductHook(hookPoint boil.HookPoint, ...)
- func AddDTBCustomerHook(hookPoint boil.HookPoint, dtbCustomerHook DTBCustomerHook)
- func AddDTBDeliveryDurationHook(hookPoint boil.HookPoint, dtbDeliveryDurationHook DTBDeliveryDurationHook)
- func AddDTBDeliveryFeeHook(hookPoint boil.HookPoint, dtbDeliveryFeeHook DTBDeliveryFeeHook)
- func AddDTBDeliveryHook(hookPoint boil.HookPoint, dtbDeliveryHook DTBDeliveryHook)
- func AddDTBDeliveryTimeHook(hookPoint boil.HookPoint, dtbDeliveryTimeHook DTBDeliveryTimeHook)
- func AddDTBLayoutHook(hookPoint boil.HookPoint, dtbLayoutHook DTBLayoutHook)
- func AddDTBMailHistoryHook(hookPoint boil.HookPoint, dtbMailHistoryHook DTBMailHistoryHook)
- func AddDTBMailTemplateHook(hookPoint boil.HookPoint, dtbMailTemplateHook DTBMailTemplateHook)
- func AddDTBOrderHook(hookPoint boil.HookPoint, dtbOrderHook DTBOrderHook)
- func AddDTBOrderItemHook(hookPoint boil.HookPoint, dtbOrderItemHook DTBOrderItemHook)
- func AddDTBOrderPDFHook(hookPoint boil.HookPoint, dtbOrderPDFHook DTBOrderPDFHook)
- func AddDTBPageHook(hookPoint boil.HookPoint, dtbPageHook DTBPageHook)
- func AddDTBPageLayoutHook(hookPoint boil.HookPoint, dtbPageLayoutHook DTBPageLayoutHook)
- func AddDTBPaymentHook(hookPoint boil.HookPoint, dtbPaymentHook DTBPaymentHook)
- func AddDTBPaymentOptionHook(hookPoint boil.HookPoint, dtbPaymentOptionHook DTBPaymentOptionHook)
- func AddDTBPluginHook(hookPoint boil.HookPoint, dtbPluginHook DTBPluginHook)
- func AddDTBProductCategoryHook(hookPoint boil.HookPoint, dtbProductCategoryHook DTBProductCategoryHook)
- func AddDTBProductHook(hookPoint boil.HookPoint, dtbProductHook DTBProductHook)
- func AddDTBProductImageHook(hookPoint boil.HookPoint, dtbProductImageHook DTBProductImageHook)
- func AddDTBProductStockHook(hookPoint boil.HookPoint, dtbProductStockHook DTBProductStockHook)
- func AddDTBProductTagHook(hookPoint boil.HookPoint, dtbProductTagHook DTBProductTagHook)
- func AddDTBShippingHook(hookPoint boil.HookPoint, dtbShippingHook DTBShippingHook)
- func AddDTBTagHook(hookPoint boil.HookPoint, dtbTagHook DTBTagHook)
- func AddDTBTaxRuleHook(hookPoint boil.HookPoint, dtbTaxRuleHook DTBTaxRuleHook)
- func AddDTBTemplateHook(hookPoint boil.HookPoint, dtbTemplateHook DTBTemplateHook)
- func AddMTBAuthorityHook(hookPoint boil.HookPoint, mtbAuthorityHook MTBAuthorityHook)
- func AddMTBCSVTypeHook(hookPoint boil.HookPoint, mtbCSVTypeHook MTBCSVTypeHook)
- func AddMTBCountryHook(hookPoint boil.HookPoint, mtbCountryHook MTBCountryHook)
- func AddMTBCustomerOrderStatusHook(hookPoint boil.HookPoint, ...)
- func AddMTBCustomerStatusHook(hookPoint boil.HookPoint, mtbCustomerStatusHook MTBCustomerStatusHook)
- func AddMTBDeviceTypeHook(hookPoint boil.HookPoint, mtbDeviceTypeHook MTBDeviceTypeHook)
- func AddMTBJobHook(hookPoint boil.HookPoint, mtbJobHook MTBJobHook)
- func AddMTBOrderItemTypeHook(hookPoint boil.HookPoint, mtbOrderItemTypeHook MTBOrderItemTypeHook)
- func AddMTBOrderStatusColorHook(hookPoint boil.HookPoint, mtbOrderStatusColorHook MTBOrderStatusColorHook)
- func AddMTBOrderStatusHook(hookPoint boil.HookPoint, mtbOrderStatusHook MTBOrderStatusHook)
- func AddMTBPageMaxHook(hookPoint boil.HookPoint, mtbPageMaxHook MTBPageMaxHook)
- func AddMTBPrefHook(hookPoint boil.HookPoint, mtbPrefHook MTBPrefHook)
- func AddMTBProductListMaxHook(hookPoint boil.HookPoint, mtbProductListMaxHook MTBProductListMaxHook)
- func AddMTBProductListOrderByHook(hookPoint boil.HookPoint, mtbProductListOrderByHook MTBProductListOrderByHook)
- func AddMTBProductStatusHook(hookPoint boil.HookPoint, mtbProductStatusHook MTBProductStatusHook)
- func AddMTBRoundingTypeHook(hookPoint boil.HookPoint, mtbRoundingTypeHook MTBRoundingTypeHook)
- func AddMTBSaleTypeHook(hookPoint boil.HookPoint, mtbSaleTypeHook MTBSaleTypeHook)
- func AddMTBSexHook(hookPoint boil.HookPoint, mtbSexHook MTBSexHook)
- func AddMTBTaxDisplayTypeHook(hookPoint boil.HookPoint, mtbTaxDisplayTypeHook MTBTaxDisplayTypeHook)
- func AddMTBTaxTypeHook(hookPoint boil.HookPoint, mtbTaxTypeHook MTBTaxTypeHook)
- func AddMTBWorkHook(hookPoint boil.HookPoint, mtbWorkHook MTBWorkHook)
- func AddMigrationVersionHook(hookPoint boil.HookPoint, migrationVersionHook MigrationVersionHook)
- func DTBAuthorityRoleExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBAuthorityRoles(mods ...qm.QueryMod) dtbAuthorityRoleQuery
- func DTBBaseInfoExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBBaseInfos(mods ...qm.QueryMod) dtbBaseInfoQuery
- func DTBBlockExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBBlockPositionExists(ctx context.Context, exec boil.ContextExecutor, section uint, blockID uint, ...) (bool, error)
- func DTBBlockPositions(mods ...qm.QueryMod) dtbBlockPositionQuery
- func DTBBlocks(mods ...qm.QueryMod) dtbBlockQuery
- func DTBCSVExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCSVS(mods ...qm.QueryMod) dtbCSVQuery
- func DTBCartExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCartItemExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCartItems(mods ...qm.QueryMod) dtbCartItemQuery
- func DTBCarts(mods ...qm.QueryMod) dtbCartQuery
- func DTBCategories(mods ...qm.QueryMod) dtbCategoryQuery
- func DTBCategoryExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBClassCategories(mods ...qm.QueryMod) dtbClassCategoryQuery
- func DTBClassCategoryExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBClassNameExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBClassNames(mods ...qm.QueryMod) dtbClassNameQuery
- func DTBCustomerAddressExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
- func DTBCustomerExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCustomerFavoriteProductExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBCustomerFavoriteProducts(mods ...qm.QueryMod) dtbCustomerFavoriteProductQuery
- func DTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func DTBDeliveries(mods ...qm.QueryMod) dtbDeliveryQuery
- func DTBDeliveryDurationExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBDeliveryDurations(mods ...qm.QueryMod) dtbDeliveryDurationQuery
- func DTBDeliveryExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBDeliveryFeeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBDeliveryFees(mods ...qm.QueryMod) dtbDeliveryFeeQuery
- func DTBDeliveryTimeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBDeliveryTimes(mods ...qm.QueryMod) dtbDeliveryTimeQuery
- func DTBLayoutExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBLayouts(mods ...qm.QueryMod) dtbLayoutQuery
- func DTBMailHistories(mods ...qm.QueryMod) dtbMailHistoryQuery
- func DTBMailHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBMailTemplateExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBMailTemplates(mods ...qm.QueryMod) dtbMailTemplateQuery
- func DTBOrderExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBOrderItemExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func DTBOrderPDFExists(ctx context.Context, exec boil.ContextExecutor, memberID uint) (bool, error)
- func DTBOrderPDFS(mods ...qm.QueryMod) dtbOrderPDFQuery
- func DTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func DTBPageExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBPageLayoutExists(ctx context.Context, exec boil.ContextExecutor, pageID uint, layoutID uint) (bool, error)
- func DTBPageLayouts(mods ...qm.QueryMod) dtbPageLayoutQuery
- func DTBPages(mods ...qm.QueryMod) dtbPageQuery
- func DTBPaymentExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBPaymentOptionExists(ctx context.Context, exec boil.ContextExecutor, deliveryID uint, ...) (bool, error)
- func DTBPaymentOptions(mods ...qm.QueryMod) dtbPaymentOptionQuery
- func DTBPayments(mods ...qm.QueryMod) dtbPaymentQuery
- func DTBPluginExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBPlugins(mods ...qm.QueryMod) dtbPluginQuery
- func DTBProductCategories(mods ...qm.QueryMod) dtbProductCategoryQuery
- func DTBProductCategoryExists(ctx context.Context, exec boil.ContextExecutor, productID uint, ...) (bool, error)
- func DTBProductExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBProductImageExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBProductImages(mods ...qm.QueryMod) dtbProductImageQuery
- func DTBProductStockExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBProductStocks(mods ...qm.QueryMod) dtbProductStockQuery
- func DTBProductTagExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBProductTags(mods ...qm.QueryMod) dtbProductTagQuery
- func DTBProducts(mods ...qm.QueryMod) dtbProductQuery
- func DTBShippingExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBShippings(mods ...qm.QueryMod) dtbShippingQuery
- func DTBTagExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBTags(mods ...qm.QueryMod) dtbTagQuery
- func DTBTaxRuleExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
- func DTBTemplateExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func DTBTemplates(mods ...qm.QueryMod) dtbTemplateQuery
- func MTBAuthorities(mods ...qm.QueryMod) mtbAuthorityQuery
- func MTBAuthorityExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBCSVTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBCSVTypes(mods ...qm.QueryMod) mtbCSVTypeQuery
- func MTBCountries(mods ...qm.QueryMod) mtbCountryQuery
- func MTBCountryExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBCustomerOrderStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBCustomerOrderStatuses(mods ...qm.QueryMod) mtbCustomerOrderStatusQuery
- func MTBCustomerStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBCustomerStatuses(mods ...qm.QueryMod) mtbCustomerStatusQuery
- func MTBDeviceTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBDeviceTypes(mods ...qm.QueryMod) mtbDeviceTypeQuery
- func MTBJobExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBJobs(mods ...qm.QueryMod) mtbJobQuery
- func MTBOrderItemTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBOrderItemTypes(mods ...qm.QueryMod) mtbOrderItemTypeQuery
- func MTBOrderStatusColorExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBOrderStatusColors(mods ...qm.QueryMod) mtbOrderStatusColorQuery
- func MTBOrderStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBOrderStatuses(mods ...qm.QueryMod) mtbOrderStatusQuery
- func MTBPageMaxExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBPageMaxes(mods ...qm.QueryMod) mtbPageMaxQuery
- func MTBPrefExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBPrefs(mods ...qm.QueryMod) mtbPrefQuery
- func MTBProductListMaxExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBProductListMaxes(mods ...qm.QueryMod) mtbProductListMaxQuery
- func MTBProductListOrderBies(mods ...qm.QueryMod) mtbProductListOrderByQuery
- func MTBProductListOrderByExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBProductStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBProductStatuses(mods ...qm.QueryMod) mtbProductStatusQuery
- func MTBRoundingTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBRoundingTypes(mods ...qm.QueryMod) mtbRoundingTypeQuery
- func MTBSaleTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBSaleTypes(mods ...qm.QueryMod) mtbSaleTypeQuery
- func MTBSexExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBSexes(mods ...qm.QueryMod) mtbSexQuery
- func MTBTaxDisplayTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBTaxDisplayTypes(mods ...qm.QueryMod) mtbTaxDisplayTypeQuery
- func MTBTaxTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBTaxTypes(mods ...qm.QueryMod) mtbTaxTypeQuery
- func MTBWorkExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
- func MTBWorks(mods ...qm.QueryMod) mtbWorkQuery
- func MigrationVersionExists(ctx context.Context, exec boil.ContextExecutor, version string) (bool, error)
- func MigrationVersions(mods ...qm.QueryMod) migrationVersionQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- type DTBAuthorityRole
- func (o *DTBAuthorityRole) Authority(mods ...qm.QueryMod) mtbAuthorityQuery
- func (o *DTBAuthorityRole) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBAuthorityRole) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBAuthorityRole) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBAuthorityRole) RemoveAuthority(ctx context.Context, exec boil.ContextExecutor, related *MTBAuthority) error
- func (o *DTBAuthorityRole) SetAuthority(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBAuthorityRole) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBAuthorityRole) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBAuthorityRoleHook
- type DTBAuthorityRoleSlice
- func (o DTBAuthorityRoleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBAuthorityRoleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBAuthorityRoleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBBaseInfo
- func (o *DTBBaseInfo) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBBaseInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBBaseInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBBaseInfo) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBBaseInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBBaseInfo) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBBaseInfo) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBBaseInfo) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBBaseInfo) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBBaseInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBBaseInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBBaseInfoHook
- type DTBBaseInfoSlice
- type DTBBlock
- func (o *DTBBlock) AddBlockDTBBlockPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBBlock) BlockDTBBlockPositions(mods ...qm.QueryMod) dtbBlockPositionQuery
- func (o *DTBBlock) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBBlock) DeviceType(mods ...qm.QueryMod) mtbDeviceTypeQuery
- func (o *DTBBlock) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBBlock) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBBlock) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
- func (o *DTBBlock) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBBlock) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBBlock) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBBlockHook
- type DTBBlockPosition
- func (o *DTBBlockPosition) Block(mods ...qm.QueryMod) dtbBlockQuery
- func (o *DTBBlockPosition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBBlockPosition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBBlockPosition) Layout(mods ...qm.QueryMod) dtbLayoutQuery
- func (o *DTBBlockPosition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBBlockPosition) SetBlock(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBBlock) error
- func (o *DTBBlockPosition) SetLayout(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBBlockPosition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBBlockPosition) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBBlockPositionHook
- type DTBBlockPositionSlice
- func (o DTBBlockPositionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBBlockPositionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBBlockPositionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBBlockSlice
- type DTBCSV
- func (o *DTBCSV) CSVType(mods ...qm.QueryMod) mtbCSVTypeQuery
- func (o *DTBCSV) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCSV) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCSV) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCSV) RemoveCSVType(ctx context.Context, exec boil.ContextExecutor, related *MTBCSVType) error
- func (o *DTBCSV) SetCSVType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCSV) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCSV) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCSVHook
- type DTBCSVSlice
- type DTBCart
- func (o *DTBCart) AddCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCart) CartDTBCartItems(mods ...qm.QueryMod) dtbCartItemQuery
- func (o *DTBCart) Customer(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *DTBCart) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCart) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCart) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCart) RemoveCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCartItem) error
- func (o *DTBCart) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
- func (o *DTBCart) SetCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCart) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCart) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCart) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCartHook
- type DTBCartItem
- func (o *DTBCartItem) Cart(mods ...qm.QueryMod) dtbCartQuery
- func (o *DTBCartItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCartItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCartItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCartItem) RemoveCart(ctx context.Context, exec boil.ContextExecutor, related *DTBCart) error
- func (o *DTBCartItem) SetCart(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCart) error
- func (o *DTBCartItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCartItem) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCartItemHook
- type DTBCartItemSlice
- type DTBCartSlice
- type DTBCategory
- func (o *DTBCategory) AddCategoryDTBProductCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCategory) AddParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCategory) CategoryDTBProductCategories(mods ...qm.QueryMod) dtbProductCategoryQuery
- func (o *DTBCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCategory) ParentCategory(mods ...qm.QueryMod) dtbCategoryQuery
- func (o *DTBCategory) ParentCategoryDTBCategories(mods ...qm.QueryMod) dtbCategoryQuery
- func (o *DTBCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCategory) RemoveParentCategory(ctx context.Context, exec boil.ContextExecutor, related *DTBCategory) error
- func (o *DTBCategory) RemoveParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCategory) error
- func (o *DTBCategory) SetParentCategory(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCategory) SetParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCategoryHook
- type DTBCategorySlice
- type DTBClassCategory
- func (o *DTBClassCategory) ClassName(mods ...qm.QueryMod) dtbClassNameQuery
- func (o *DTBClassCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBClassCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBClassCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBClassCategory) RemoveClassName(ctx context.Context, exec boil.ContextExecutor, related *DTBClassName) error
- func (o *DTBClassCategory) SetClassName(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBClassCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBClassCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBClassCategoryHook
- type DTBClassCategorySlice
- func (o DTBClassCategorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBClassCategorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBClassCategorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBClassName
- func (o *DTBClassName) AddClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBClassName) ClassNameDTBClassCategories(mods ...qm.QueryMod) dtbClassCategoryQuery
- func (o *DTBClassName) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBClassName) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBClassName) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBClassName) RemoveClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBClassCategory) error
- func (o *DTBClassName) SetClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBClassName) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBClassName) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBClassNameHook
- type DTBClassNameSlice
- type DTBCustomer
- func (o *DTBCustomer) AddCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) AddCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) AddCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) AddCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBCustomer) CustomerDTBCarts(mods ...qm.QueryMod) dtbCartQuery
- func (o *DTBCustomer) CustomerDTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
- func (o *DTBCustomer) CustomerDTBCustomerFavoriteProducts(mods ...qm.QueryMod) dtbCustomerFavoriteProductQuery
- func (o *DTBCustomer) CustomerDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *DTBCustomer) CustomerStatus(mods ...qm.QueryMod) mtbCustomerStatusQuery
- func (o *DTBCustomer) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCustomer) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCustomer) Job(mods ...qm.QueryMod) mtbJobQuery
- func (o *DTBCustomer) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBCustomer) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCustomer) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBCustomer) RemoveCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCart) error
- func (o *DTBCustomer) RemoveCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
- func (o *DTBCustomer) RemoveCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *DTBCustomer) RemoveCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *DTBCustomer) RemoveCustomerStatus(ctx context.Context, exec boil.ContextExecutor, related *MTBCustomerStatus) error
- func (o *DTBCustomer) RemoveJob(ctx context.Context, exec boil.ContextExecutor, related *MTBJob) error
- func (o *DTBCustomer) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBCustomer) RemoveSex(ctx context.Context, exec boil.ContextExecutor, related *MTBSex) error
- func (o *DTBCustomer) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetCustomerStatus(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomer) SetJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBJob) error
- func (o *DTBCustomer) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBCustomer) SetSex(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBSex) error
- func (o *DTBCustomer) Sex(mods ...qm.QueryMod) mtbSexQuery
- func (o *DTBCustomer) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCustomer) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCustomerAddress
- func (o *DTBCustomerAddress) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBCustomerAddress) Customer(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *DTBCustomerAddress) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCustomerAddress) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCustomerAddress) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBCustomerAddress) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCustomerAddress) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBCustomerAddress) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
- func (o *DTBCustomerAddress) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBCustomerAddress) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomerAddress) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomerAddress) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBCustomerAddress) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCustomerAddress) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCustomerAddressHook
- type DTBCustomerAddressSlice
- func (o DTBCustomerAddressSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCustomerAddressSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBCustomerAddressSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBCustomerFavoriteProduct
- func (o *DTBCustomerFavoriteProduct) Customer(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *DTBCustomerFavoriteProduct) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCustomerFavoriteProduct) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBCustomerFavoriteProduct) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBCustomerFavoriteProduct) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBCustomerFavoriteProduct) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
- func (o *DTBCustomerFavoriteProduct) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
- func (o *DTBCustomerFavoriteProduct) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomerFavoriteProduct) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBCustomerFavoriteProduct) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBCustomerFavoriteProduct) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBCustomerFavoriteProductHook
- type DTBCustomerFavoriteProductSlice
- func (o DTBCustomerFavoriteProductSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBCustomerFavoriteProductSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBCustomerFavoriteProductSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBCustomerHook
- type DTBCustomerSlice
- type DTBDelivery
- func (o *DTBDelivery) AddDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) AddDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) AddDeliveryDTBPaymentOptions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) AddDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDelivery) DeliveryDTBDeliveryFees(mods ...qm.QueryMod) dtbDeliveryFeeQuery
- func (o *DTBDelivery) DeliveryDTBDeliveryTimes(mods ...qm.QueryMod) dtbDeliveryTimeQuery
- func (o *DTBDelivery) DeliveryDTBPaymentOptions(mods ...qm.QueryMod) dtbPaymentOptionQuery
- func (o *DTBDelivery) DeliveryDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
- func (o *DTBDelivery) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBDelivery) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBDelivery) RemoveDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryFee) error
- func (o *DTBDelivery) RemoveDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryTime) error
- func (o *DTBDelivery) RemoveDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
- func (o *DTBDelivery) RemoveSaleType(ctx context.Context, exec boil.ContextExecutor, related *MTBSaleType) error
- func (o *DTBDelivery) SaleType(mods ...qm.QueryMod) mtbSaleTypeQuery
- func (o *DTBDelivery) SetDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) SetDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) SetDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) SetSaleType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDelivery) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBDelivery) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBDeliveryDuration
- func (o *DTBDeliveryDuration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryDuration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBDeliveryDuration) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBDeliveryDuration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBDeliveryDuration) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBDeliveryDurationHook
- type DTBDeliveryDurationSlice
- func (o DTBDeliveryDurationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryDurationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBDeliveryDurationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBDeliveryFee
- func (o *DTBDeliveryFee) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryFee) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
- func (o *DTBDeliveryFee) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBDeliveryFee) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBDeliveryFee) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBDeliveryFee) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
- func (o *DTBDeliveryFee) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBDeliveryFee) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDeliveryFee) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBDeliveryFee) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBDeliveryFee) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBDeliveryFeeHook
- type DTBDeliveryFeeSlice
- func (o DTBDeliveryFeeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryFeeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBDeliveryFeeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBDeliveryHook
- type DTBDeliverySlice
- type DTBDeliveryTime
- func (o *DTBDeliveryTime) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryTime) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
- func (o *DTBDeliveryTime) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBDeliveryTime) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBDeliveryTime) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
- func (o *DTBDeliveryTime) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBDeliveryTime) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBDeliveryTime) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBDeliveryTimeHook
- type DTBDeliveryTimeSlice
- func (o DTBDeliveryTimeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBDeliveryTimeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBDeliveryTimeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBLayout
- func (o *DTBLayout) AddLayoutDTBBlockPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBLayout) AddLayoutDTBPageLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBLayout) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBLayout) DeviceType(mods ...qm.QueryMod) mtbDeviceTypeQuery
- func (o *DTBLayout) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBLayout) LayoutDTBBlockPositions(mods ...qm.QueryMod) dtbBlockPositionQuery
- func (o *DTBLayout) LayoutDTBPageLayouts(mods ...qm.QueryMod) dtbPageLayoutQuery
- func (o *DTBLayout) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBLayout) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
- func (o *DTBLayout) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBLayout) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBLayout) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBLayoutHook
- type DTBLayoutSlice
- type DTBMailHistory
- func (o *DTBMailHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBMailHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBMailHistory) Order(mods ...qm.QueryMod) dtbOrderQuery
- func (o *DTBMailHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBMailHistory) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
- func (o *DTBMailHistory) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
- func (o *DTBMailHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBMailHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBMailHistoryHook
- type DTBMailHistorySlice
- func (o DTBMailHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBMailHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBMailHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBMailTemplate
- func (o *DTBMailTemplate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBMailTemplate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBMailTemplate) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBMailTemplate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBMailTemplate) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBMailTemplateHook
- type DTBMailTemplateSlice
- func (o DTBMailTemplateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBMailTemplateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBMailTemplateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBOrder
- func (o *DTBOrder) AddOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) AddOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) AddOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBOrder) Customer(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *DTBOrder) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBOrder) DeviceType(mods ...qm.QueryMod) mtbDeviceTypeQuery
- func (o *DTBOrder) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBOrder) Job(mods ...qm.QueryMod) mtbJobQuery
- func (o *DTBOrder) OrderDTBMailHistories(mods ...qm.QueryMod) dtbMailHistoryQuery
- func (o *DTBOrder) OrderDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *DTBOrder) OrderDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
- func (o *DTBOrder) Payment(mods ...qm.QueryMod) dtbPaymentQuery
- func (o *DTBOrder) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBOrder) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBOrder) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBOrder) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
- func (o *DTBOrder) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
- func (o *DTBOrder) RemoveJob(ctx context.Context, exec boil.ContextExecutor, related *MTBJob) error
- func (o *DTBOrder) RemoveOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBMailHistory) error
- func (o *DTBOrder) RemoveOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *DTBOrder) RemoveOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
- func (o *DTBOrder) RemovePayment(ctx context.Context, exec boil.ContextExecutor, related *DTBPayment) error
- func (o *DTBOrder) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBOrder) RemoveSex(ctx context.Context, exec boil.ContextExecutor, related *MTBSex) error
- func (o *DTBOrder) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBJob) error
- func (o *DTBOrder) SetOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetPayment(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrder) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBOrder) SetSex(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBSex) error
- func (o *DTBOrder) Sex(mods ...qm.QueryMod) mtbSexQuery
- func (o *DTBOrder) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBOrder) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBOrderHook
- type DTBOrderItem
- func (o *DTBOrderItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBOrderItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBOrderItem) Order(mods ...qm.QueryMod) dtbOrderQuery
- func (o *DTBOrderItem) OrderItemType(mods ...qm.QueryMod) mtbOrderItemTypeQuery
- func (o *DTBOrderItem) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBOrderItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBOrderItem) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
- func (o *DTBOrderItem) RemoveOrderItemType(ctx context.Context, exec boil.ContextExecutor, related *MTBOrderItemType) error
- func (o *DTBOrderItem) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
- func (o *DTBOrderItem) RemoveRoundingType(ctx context.Context, exec boil.ContextExecutor, related *MTBRoundingType) error
- func (o *DTBOrderItem) RemoveShipping(ctx context.Context, exec boil.ContextExecutor, related *DTBShipping) error
- func (o *DTBOrderItem) RemoveTaxDisplayType(ctx context.Context, exec boil.ContextExecutor, related *MTBTaxDisplayType) error
- func (o *DTBOrderItem) RemoveTaxType(ctx context.Context, exec boil.ContextExecutor, related *MTBTaxType) error
- func (o *DTBOrderItem) RoundingType(mods ...qm.QueryMod) mtbRoundingTypeQuery
- func (o *DTBOrderItem) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
- func (o *DTBOrderItem) SetOrderItemType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) SetRoundingType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) SetShipping(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) SetTaxDisplayType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) SetTaxType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBOrderItem) Shipping(mods ...qm.QueryMod) dtbShippingQuery
- func (o *DTBOrderItem) TaxDisplayType(mods ...qm.QueryMod) mtbTaxDisplayTypeQuery
- func (o *DTBOrderItem) TaxType(mods ...qm.QueryMod) mtbTaxTypeQuery
- func (o *DTBOrderItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBOrderItem) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBOrderItemHook
- type DTBOrderItemSlice
- type DTBOrderPDF
- func (o *DTBOrderPDF) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBOrderPDF) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBOrderPDF) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBOrderPDF) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBOrderPDF) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBOrderPDFHook
- type DTBOrderPDFSlice
- type DTBOrderSlice
- type DTBPage
- func (o *DTBPage) AddMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPage) AddPageDTBPageLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBPage) MasterPage(mods ...qm.QueryMod) dtbPageQuery
- func (o *DTBPage) MasterPageDTBPages(mods ...qm.QueryMod) dtbPageQuery
- func (o *DTBPage) PageDTBPageLayouts(mods ...qm.QueryMod) dtbPageLayoutQuery
- func (o *DTBPage) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBPage) RemoveMasterPage(ctx context.Context, exec boil.ContextExecutor, related *DTBPage) error
- func (o *DTBPage) RemoveMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, related ...*DTBPage) error
- func (o *DTBPage) SetMasterPage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPage) error
- func (o *DTBPage) SetMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBPage) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBPageHook
- type DTBPageLayout
- func (o *DTBPageLayout) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPageLayout) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBPageLayout) Layout(mods ...qm.QueryMod) dtbLayoutQuery
- func (o *DTBPageLayout) Page(mods ...qm.QueryMod) dtbPageQuery
- func (o *DTBPageLayout) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBPageLayout) SetLayout(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPageLayout) SetPage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPage) error
- func (o *DTBPageLayout) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBPageLayout) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBPageLayoutHook
- type DTBPageLayoutSlice
- func (o DTBPageLayoutSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPageLayoutSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBPageLayoutSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBPageSlice
- type DTBPayment
- func (o *DTBPayment) AddPaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPayment) AddPaymentDTBPaymentOptions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPayment) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPayment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBPayment) PaymentDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *DTBPayment) PaymentDTBPaymentOptions(mods ...qm.QueryMod) dtbPaymentOptionQuery
- func (o *DTBPayment) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBPayment) RemovePaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *DTBPayment) SetPaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPayment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBPayment) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBPaymentHook
- type DTBPaymentOption
- func (o *DTBPaymentOption) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPaymentOption) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
- func (o *DTBPaymentOption) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBPaymentOption) Payment(mods ...qm.QueryMod) dtbPaymentQuery
- func (o *DTBPaymentOption) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBPaymentOption) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPaymentOption) SetPayment(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBPaymentOption) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBPaymentOption) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBPaymentOptionHook
- type DTBPaymentOptionSlice
- func (o DTBPaymentOptionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPaymentOptionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBPaymentOptionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBPaymentSlice
- type DTBPlugin
- func (o *DTBPlugin) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBPlugin) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBPlugin) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBPlugin) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBPlugin) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBPluginHook
- type DTBPluginSlice
- type DTBProduct
- func (o *DTBProduct) AddProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) AddProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) AddProductDTBProductCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) AddProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) AddProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) AddProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProduct) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBProduct) ProductDTBCustomerFavoriteProducts(mods ...qm.QueryMod) dtbCustomerFavoriteProductQuery
- func (o *DTBProduct) ProductDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *DTBProduct) ProductDTBProductCategories(mods ...qm.QueryMod) dtbProductCategoryQuery
- func (o *DTBProduct) ProductDTBProductImages(mods ...qm.QueryMod) dtbProductImageQuery
- func (o *DTBProduct) ProductDTBProductTags(mods ...qm.QueryMod) dtbProductTagQuery
- func (o *DTBProduct) ProductDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
- func (o *DTBProduct) ProductStatus(mods ...qm.QueryMod) mtbProductStatusQuery
- func (o *DTBProduct) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBProduct) RemoveProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, ...) error
- func (o *DTBProduct) RemoveProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *DTBProduct) RemoveProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductImage) error
- func (o *DTBProduct) RemoveProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductTag) error
- func (o *DTBProduct) RemoveProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
- func (o *DTBProduct) RemoveProductStatus(ctx context.Context, exec boil.ContextExecutor, related *MTBProductStatus) error
- func (o *DTBProduct) SetProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) SetProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) SetProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) SetProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) SetProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) SetProductStatus(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProduct) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBProduct) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBProductCategory
- func (o *DTBProductCategory) Category(mods ...qm.QueryMod) dtbCategoryQuery
- func (o *DTBProductCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBProductCategory) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBProductCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBProductCategory) SetCategory(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProductCategory) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProductCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBProductCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBProductCategoryHook
- type DTBProductCategorySlice
- func (o DTBProductCategorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductCategorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBProductCategorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBProductHook
- type DTBProductImage
- func (o *DTBProductImage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductImage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBProductImage) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBProductImage) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBProductImage) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
- func (o *DTBProductImage) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProductImage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBProductImage) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBProductImageHook
- type DTBProductImageSlice
- func (o DTBProductImageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductImageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBProductImageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBProductSlice
- type DTBProductStock
- func (o *DTBProductStock) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductStock) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBProductStock) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBProductStock) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBProductStock) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBProductStockHook
- type DTBProductStockSlice
- func (o DTBProductStockSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductStockSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBProductStockSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBProductTag
- func (o *DTBProductTag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductTag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBProductTag) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBProductTag) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBProductTag) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
- func (o *DTBProductTag) RemoveTag(ctx context.Context, exec boil.ContextExecutor, related *DTBTag) error
- func (o *DTBProductTag) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBProductTag) SetTag(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBTag) error
- func (o *DTBProductTag) Tag(mods ...qm.QueryMod) dtbTagQuery
- func (o *DTBProductTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBProductTag) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBProductTagHook
- type DTBProductTagSlice
- func (o DTBProductTagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBProductTagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DTBProductTagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DTBShipping
- func (o *DTBShipping) AddShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBShipping) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBShipping) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBShipping) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
- func (o *DTBShipping) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBShipping) Order(mods ...qm.QueryMod) dtbOrderQuery
- func (o *DTBShipping) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBShipping) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBShipping) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBShipping) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
- func (o *DTBShipping) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
- func (o *DTBShipping) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBShipping) RemoveShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *DTBShipping) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBShipping) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBShipping) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
- func (o *DTBShipping) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBShipping) SetShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBShipping) ShippingDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *DTBShipping) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBShipping) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBShippingHook
- type DTBShippingSlice
- type DTBTag
- func (o *DTBTag) AddTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBTag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBTag) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBTag) RemoveTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductTag) error
- func (o *DTBTag) SetTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTag) TagDTBProductTags(mods ...qm.QueryMod) dtbProductTagQuery
- func (o *DTBTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBTag) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBTagHook
- type DTBTagSlice
- type DTBTaxRule
- func (o *DTBTaxRule) Country(mods ...qm.QueryMod) mtbCountryQuery
- func (o *DTBTaxRule) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBTaxRule) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBTaxRule) Pref(mods ...qm.QueryMod) mtbPrefQuery
- func (o *DTBTaxRule) Product(mods ...qm.QueryMod) dtbProductQuery
- func (o *DTBTaxRule) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBTaxRule) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
- func (o *DTBTaxRule) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
- func (o *DTBTaxRule) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
- func (o *DTBTaxRule) RemoveRoundingType(ctx context.Context, exec boil.ContextExecutor, related *MTBRoundingType) error
- func (o *DTBTaxRule) RoundingType(mods ...qm.QueryMod) mtbRoundingTypeQuery
- func (o *DTBTaxRule) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTaxRule) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
- func (o *DTBTaxRule) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTaxRule) SetRoundingType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTaxRule) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBTaxRule) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBTaxRuleHook
- type DTBTaxRuleSlice
- type DTBTemplate
- func (o *DTBTemplate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DTBTemplate) DeviceType(mods ...qm.QueryMod) mtbDeviceTypeQuery
- func (o *DTBTemplate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DTBTemplate) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DTBTemplate) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
- func (o *DTBTemplate) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DTBTemplate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DTBTemplate) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type DTBTemplateHook
- type DTBTemplateSlice
- type M
- type MTBAuthority
- func (o *MTBAuthority) AddAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBAuthority) AuthorityDTBAuthorityRoles(mods ...qm.QueryMod) dtbAuthorityRoleQuery
- func (o *MTBAuthority) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBAuthority) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBAuthority) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBAuthority) RemoveAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, related ...*DTBAuthorityRole) error
- func (o *MTBAuthority) SetAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBAuthority) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBAuthority) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBAuthorityHook
- type MTBAuthoritySlice
- type MTBCSVType
- func (o *MTBCSVType) AddCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCSVType) CSVTypeDTBCSVS(mods ...qm.QueryMod) dtbCSVQuery
- func (o *MTBCSVType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCSVType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBCSVType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBCSVType) RemoveCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCSV) error
- func (o *MTBCSVType) SetCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCSVType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBCSVType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBCSVTypeHook
- type MTBCSVTypeSlice
- type MTBCountry
- func (o *MTBCountry) AddCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) AddCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) AddCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) AddCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) AddCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) AddCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) CountryDTBBaseInfos(mods ...qm.QueryMod) dtbBaseInfoQuery
- func (o *MTBCountry) CountryDTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
- func (o *MTBCountry) CountryDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *MTBCountry) CountryDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *MTBCountry) CountryDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
- func (o *MTBCountry) CountryDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
- func (o *MTBCountry) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCountry) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBCountry) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBCountry) RemoveCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBaseInfo) error
- func (o *MTBCountry) RemoveCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
- func (o *MTBCountry) RemoveCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
- func (o *MTBCountry) RemoveCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *MTBCountry) RemoveCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
- func (o *MTBCountry) RemoveCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
- func (o *MTBCountry) SetCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) SetCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) SetCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) SetCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) SetCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) SetCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCountry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBCountry) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBCountryHook
- type MTBCountrySlice
- type MTBCustomerOrderStatus
- func (o *MTBCustomerOrderStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCustomerOrderStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBCustomerOrderStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBCustomerOrderStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBCustomerOrderStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBCustomerOrderStatusHook
- type MTBCustomerOrderStatusSlice
- func (o MTBCustomerOrderStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCustomerOrderStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBCustomerOrderStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBCustomerStatus
- func (o *MTBCustomerStatus) AddCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCustomerStatus) CustomerStatusDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *MTBCustomerStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCustomerStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBCustomerStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBCustomerStatus) RemoveCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
- func (o *MTBCustomerStatus) SetCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBCustomerStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBCustomerStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBCustomerStatusHook
- type MTBCustomerStatusSlice
- func (o MTBCustomerStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBCustomerStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBCustomerStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBDeviceType
- func (o *MTBDeviceType) AddDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) AddDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) AddDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) AddDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBDeviceType) DeviceTypeDTBBlocks(mods ...qm.QueryMod) dtbBlockQuery
- func (o *MTBDeviceType) DeviceTypeDTBLayouts(mods ...qm.QueryMod) dtbLayoutQuery
- func (o *MTBDeviceType) DeviceTypeDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *MTBDeviceType) DeviceTypeDTBTemplates(mods ...qm.QueryMod) dtbTemplateQuery
- func (o *MTBDeviceType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBDeviceType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBDeviceType) RemoveDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBlock) error
- func (o *MTBDeviceType) RemoveDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBLayout) error
- func (o *MTBDeviceType) RemoveDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *MTBDeviceType) RemoveDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTemplate) error
- func (o *MTBDeviceType) SetDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) SetDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) SetDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) SetDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBDeviceType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBDeviceType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBDeviceTypeHook
- type MTBDeviceTypeSlice
- func (o MTBDeviceTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBDeviceTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBDeviceTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBJob
- func (o *MTBJob) AddJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBJob) AddJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBJob) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBJob) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBJob) JobDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *MTBJob) JobDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *MTBJob) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBJob) RemoveJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
- func (o *MTBJob) RemoveJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *MTBJob) SetJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBJob) SetJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBJob) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBJob) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBJobHook
- type MTBJobSlice
- type MTBOrderItemType
- func (o *MTBOrderItemType) AddOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBOrderItemType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderItemType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBOrderItemType) OrderItemTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *MTBOrderItemType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBOrderItemType) RemoveOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *MTBOrderItemType) SetOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBOrderItemType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBOrderItemType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBOrderItemTypeHook
- type MTBOrderItemTypeSlice
- func (o MTBOrderItemTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderItemTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBOrderItemTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBOrderStatus
- func (o *MTBOrderStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBOrderStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBOrderStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBOrderStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBOrderStatusColor
- func (o *MTBOrderStatusColor) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderStatusColor) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBOrderStatusColor) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBOrderStatusColor) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBOrderStatusColor) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBOrderStatusColorHook
- type MTBOrderStatusColorSlice
- func (o MTBOrderStatusColorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderStatusColorSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBOrderStatusColorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBOrderStatusHook
- type MTBOrderStatusSlice
- func (o MTBOrderStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBOrderStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBOrderStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBPageMax
- func (o *MTBPageMax) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBPageMax) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBPageMax) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBPageMax) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBPageMax) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBPageMaxHook
- type MTBPageMaxSlice
- type MTBPref
- func (o *MTBPref) AddPrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) AddPrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBPref) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBPref) PrefDTBBaseInfos(mods ...qm.QueryMod) dtbBaseInfoQuery
- func (o *MTBPref) PrefDTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
- func (o *MTBPref) PrefDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *MTBPref) PrefDTBDeliveryFees(mods ...qm.QueryMod) dtbDeliveryFeeQuery
- func (o *MTBPref) PrefDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *MTBPref) PrefDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
- func (o *MTBPref) PrefDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
- func (o *MTBPref) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBPref) RemovePrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBaseInfo) error
- func (o *MTBPref) RemovePrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
- func (o *MTBPref) RemovePrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
- func (o *MTBPref) RemovePrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryFee) error
- func (o *MTBPref) RemovePrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *MTBPref) RemovePrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
- func (o *MTBPref) RemovePrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
- func (o *MTBPref) SetPrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) SetPrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBPref) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBPref) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBPrefHook
- type MTBPrefSlice
- type MTBProductListMax
- func (o *MTBProductListMax) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductListMax) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBProductListMax) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBProductListMax) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBProductListMax) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBProductListMaxHook
- type MTBProductListMaxSlice
- func (o MTBProductListMaxSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductListMaxSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBProductListMaxSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBProductListOrderBy
- func (o *MTBProductListOrderBy) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductListOrderBy) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBProductListOrderBy) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBProductListOrderBy) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBProductListOrderBy) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBProductListOrderByHook
- type MTBProductListOrderBySlice
- func (o MTBProductListOrderBySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductListOrderBySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBProductListOrderBySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBProductStatus
- func (o *MTBProductStatus) AddProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBProductStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBProductStatus) ProductStatusDTBProducts(mods ...qm.QueryMod) dtbProductQuery
- func (o *MTBProductStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBProductStatus) RemoveProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProduct) error
- func (o *MTBProductStatus) SetProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBProductStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBProductStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBProductStatusHook
- type MTBProductStatusSlice
- func (o MTBProductStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBProductStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBProductStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBRoundingType
- func (o *MTBRoundingType) AddRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBRoundingType) AddRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBRoundingType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBRoundingType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBRoundingType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBRoundingType) RemoveRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *MTBRoundingType) RemoveRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
- func (o *MTBRoundingType) RoundingTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *MTBRoundingType) RoundingTypeDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
- func (o *MTBRoundingType) SetRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBRoundingType) SetRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBRoundingType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBRoundingType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBRoundingTypeHook
- type MTBRoundingTypeSlice
- func (o MTBRoundingTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBRoundingTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBRoundingTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBSaleType
- func (o *MTBSaleType) AddSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSaleType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBSaleType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBSaleType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBSaleType) RemoveSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDelivery) error
- func (o *MTBSaleType) SaleTypeDTBDeliveries(mods ...qm.QueryMod) dtbDeliveryQuery
- func (o *MTBSaleType) SetSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSaleType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBSaleType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBSaleTypeHook
- type MTBSaleTypeSlice
- type MTBSex
- func (o *MTBSex) AddSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSex) AddSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSex) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBSex) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBSex) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBSex) RemoveSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
- func (o *MTBSex) RemoveSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
- func (o *MTBSex) SetSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSex) SetSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBSex) SexDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
- func (o *MTBSex) SexDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
- func (o *MTBSex) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBSex) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBSexHook
- type MTBSexSlice
- type MTBTaxDisplayType
- func (o *MTBTaxDisplayType) AddTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBTaxDisplayType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBTaxDisplayType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBTaxDisplayType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBTaxDisplayType) RemoveTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *MTBTaxDisplayType) SetTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBTaxDisplayType) TaxDisplayTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *MTBTaxDisplayType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBTaxDisplayType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBTaxDisplayTypeHook
- type MTBTaxDisplayTypeSlice
- func (o MTBTaxDisplayTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBTaxDisplayTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MTBTaxDisplayTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type MTBTaxType
- func (o *MTBTaxType) AddTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBTaxType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBTaxType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBTaxType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBTaxType) RemoveTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
- func (o *MTBTaxType) SetTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *MTBTaxType) TaxTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
- func (o *MTBTaxType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBTaxType) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBTaxTypeHook
- type MTBTaxTypeSlice
- type MTBWork
- func (o *MTBWork) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MTBWork) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MTBWork) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MTBWork) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MTBWork) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MTBWorkHook
- type MTBWorkSlice
- type MigrationVersion
- func (o *MigrationVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MigrationVersion) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MigrationVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MigrationVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MigrationVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MigrationVersionHook
- type MigrationVersionSlice
- func (o MigrationVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MigrationVersionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o MigrationVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
var DTBAuthorityRoleColumns = struct { ID string AuthorityID string CreatorID string DenyURL string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", AuthorityID: "authority_id", CreatorID: "creator_id", DenyURL: "deny_url", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBAuthorityRoleRels = struct { Authority string }{ Authority: "Authority", }
DTBAuthorityRoleRels is where relationship names are stored.
var DTBAuthorityRoleWhere = struct { ID whereHelperuint AuthorityID whereHelpernull_Uint16 CreatorID whereHelpernull_Uint DenyURL whereHelperstring CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, AuthorityID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, DenyURL: whereHelperstring{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBBaseInfoColumns = struct { ID string CountryID string PrefID string CompanyName string CompanyKana string PostalCode string Addr01 string Addr02 string PhoneNumber string BusinessHour string Email01 string Email02 string Email03 string Email04 string ShopName string ShopKana string ShopNameEng string UpdateDate string GoodTraded string Message string DeliveryFreeAmount string DeliveryFreeQuantity string OptionMypageOrderStatusDisplay string OptionNostockHidden string OptionFavoriteProduct string OptionProductDeliveryFee string OptionProductTaxRule string OptionCustomerActivate string OptionRememberMe string AuthenticationKey string PHPPath string OptionPoint string BasicPointRate string PointConversionRate string DiscriminatorType string }{ ID: "id", CountryID: "country_id", PrefID: "pref_id", CompanyName: "company_name", CompanyKana: "company_kana", PostalCode: "postal_code", Addr01: "addr01", Addr02: "addr02", PhoneNumber: "phone_number", BusinessHour: "business_hour", Email01: "email01", Email02: "email02", Email03: "email03", Email04: "email04", ShopName: "shop_name", ShopKana: "shop_kana", ShopNameEng: "shop_name_eng", UpdateDate: "update_date", GoodTraded: "good_traded", Message: "message", DeliveryFreeAmount: "delivery_free_amount", DeliveryFreeQuantity: "delivery_free_quantity", OptionMypageOrderStatusDisplay: "option_mypage_order_status_display", OptionNostockHidden: "option_nostock_hidden", OptionFavoriteProduct: "option_favorite_product", OptionProductDeliveryFee: "option_product_delivery_fee", OptionProductTaxRule: "option_product_tax_rule", OptionCustomerActivate: "option_customer_activate", OptionRememberMe: "option_remember_me", AuthenticationKey: "authentication_key", PHPPath: "php_path", OptionPoint: "option_point", BasicPointRate: "basic_point_rate", PointConversionRate: "point_conversion_rate", DiscriminatorType: "discriminator_type", }
var DTBBaseInfoRels = struct { Pref string Country string }{ Pref: "Pref", Country: "Country", }
DTBBaseInfoRels is where relationship names are stored.
var DTBBaseInfoWhere = struct { ID whereHelperuint CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 CompanyName whereHelpernull_String CompanyKana whereHelpernull_String PostalCode whereHelpernull_String Addr01 whereHelpernull_String Addr02 whereHelpernull_String PhoneNumber whereHelpernull_String BusinessHour whereHelpernull_String Email01 whereHelpernull_String Email02 whereHelpernull_String Email03 whereHelpernull_String Email04 whereHelpernull_String ShopName whereHelpernull_String ShopKana whereHelpernull_String ShopNameEng whereHelpernull_String UpdateDate whereHelpertime_Time GoodTraded whereHelpernull_String Message whereHelpernull_String DeliveryFreeAmount whereHelpertypes_NullDecimal DeliveryFreeQuantity whereHelpernull_Uint OptionMypageOrderStatusDisplay whereHelperbool OptionNostockHidden whereHelperbool OptionFavoriteProduct whereHelperbool OptionProductDeliveryFee whereHelperbool OptionProductTaxRule whereHelperbool OptionCustomerActivate whereHelperbool OptionRememberMe whereHelperbool AuthenticationKey whereHelpernull_String PHPPath whereHelpernull_String OptionPoint whereHelperbool BasicPointRate whereHelpertypes_NullDecimal PointConversionRate whereHelpertypes_NullDecimal DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CompanyName: whereHelpernull_String{/* contains filtered or unexported fields */}, CompanyKana: whereHelpernull_String{/* contains filtered or unexported fields */}, PostalCode: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr01: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr02: whereHelpernull_String{/* contains filtered or unexported fields */}, PhoneNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, BusinessHour: whereHelpernull_String{/* contains filtered or unexported fields */}, Email01: whereHelpernull_String{/* contains filtered or unexported fields */}, Email02: whereHelpernull_String{/* contains filtered or unexported fields */}, Email03: whereHelpernull_String{/* contains filtered or unexported fields */}, Email04: whereHelpernull_String{/* contains filtered or unexported fields */}, ShopName: whereHelpernull_String{/* contains filtered or unexported fields */}, ShopKana: whereHelpernull_String{/* contains filtered or unexported fields */}, ShopNameEng: whereHelpernull_String{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, GoodTraded: whereHelpernull_String{/* contains filtered or unexported fields */}, Message: whereHelpernull_String{/* contains filtered or unexported fields */}, DeliveryFreeAmount: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, DeliveryFreeQuantity: whereHelpernull_Uint{/* contains filtered or unexported fields */}, OptionMypageOrderStatusDisplay: whereHelperbool{/* contains filtered or unexported fields */}, OptionNostockHidden: whereHelperbool{/* contains filtered or unexported fields */}, OptionFavoriteProduct: whereHelperbool{/* contains filtered or unexported fields */}, OptionProductDeliveryFee: whereHelperbool{/* contains filtered or unexported fields */}, OptionProductTaxRule: whereHelperbool{/* contains filtered or unexported fields */}, OptionCustomerActivate: whereHelperbool{/* contains filtered or unexported fields */}, OptionRememberMe: whereHelperbool{/* contains filtered or unexported fields */}, AuthenticationKey: whereHelpernull_String{/* contains filtered or unexported fields */}, PHPPath: whereHelpernull_String{/* contains filtered or unexported fields */}, OptionPoint: whereHelperbool{/* contains filtered or unexported fields */}, BasicPointRate: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, PointConversionRate: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBBlockColumns = struct { ID string DeviceTypeID string BlockName string FileName string UseController string Deletable string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", DeviceTypeID: "device_type_id", BlockName: "block_name", FileName: "file_name", UseController: "use_controller", Deletable: "deletable", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBBlockPositionColumns = struct { Section string BlockID string LayoutID string BlockRow string DiscriminatorType string }{ Section: "section", BlockID: "block_id", LayoutID: "layout_id", BlockRow: "block_row", DiscriminatorType: "discriminator_type", }
var DTBBlockPositionRels = struct { Layout string Block string }{ Layout: "Layout", Block: "Block", }
DTBBlockPositionRels is where relationship names are stored.
var DTBBlockPositionWhere = struct { Section whereHelperuint BlockID whereHelperuint LayoutID whereHelperuint BlockRow whereHelpernull_Uint DiscriminatorType whereHelperstring }{ Section: whereHelperuint{/* contains filtered or unexported fields */}, BlockID: whereHelperuint{/* contains filtered or unexported fields */}, LayoutID: whereHelperuint{/* contains filtered or unexported fields */}, BlockRow: whereHelpernull_Uint{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBBlockRels = struct { DeviceType string BlockDTBBlockPositions string }{ DeviceType: "DeviceType", BlockDTBBlockPositions: "BlockDTBBlockPositions", }
DTBBlockRels is where relationship names are stored.
var DTBBlockWhere = struct { ID whereHelperuint DeviceTypeID whereHelpernull_Uint16 BlockName whereHelpernull_String FileName whereHelperstring UseController whereHelperbool Deletable whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, DeviceTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, BlockName: whereHelpernull_String{/* contains filtered or unexported fields */}, FileName: whereHelperstring{/* contains filtered or unexported fields */}, UseController: whereHelperbool{/* contains filtered or unexported fields */}, Deletable: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCSVColumns = struct { ID string CSVTypeID string CreatorID string EntityName string FieldName string ReferenceFieldName string DispName string SortNo string Enabled string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CSVTypeID: "csv_type_id", CreatorID: "creator_id", EntityName: "entity_name", FieldName: "field_name", ReferenceFieldName: "reference_field_name", DispName: "disp_name", SortNo: "sort_no", Enabled: "enabled", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBCSVRels = struct { CSVType string }{ CSVType: "CSVType", }
DTBCSVRels is where relationship names are stored.
var DTBCSVWhere = struct { ID whereHelperuint CSVTypeID whereHelpernull_Uint16 CreatorID whereHelpernull_Uint EntityName whereHelperstring FieldName whereHelperstring ReferenceFieldName whereHelpernull_String DispName whereHelperstring SortNo whereHelperuint16 Enabled whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CSVTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, EntityName: whereHelperstring{/* contains filtered or unexported fields */}, FieldName: whereHelperstring{/* contains filtered or unexported fields */}, ReferenceFieldName: whereHelpernull_String{/* contains filtered or unexported fields */}, DispName: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, Enabled: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCartColumns = struct { ID string CustomerID string CartKey string PreOrderID string TotalPrice string DeliveryFeeTotal string SortNo string CreateDate string UpdateDate string AddPoint string UsePoint string DiscriminatorType string }{ ID: "id", CustomerID: "customer_id", CartKey: "cart_key", PreOrderID: "pre_order_id", TotalPrice: "total_price", DeliveryFeeTotal: "delivery_fee_total", SortNo: "sort_no", CreateDate: "create_date", UpdateDate: "update_date", AddPoint: "add_point", UsePoint: "use_point", DiscriminatorType: "discriminator_type", }
var DTBCartItemColumns = struct { ID string ProductClassID string CartID string Price string Quantity string PointRate string DiscriminatorType string }{ ID: "id", ProductClassID: "product_class_id", CartID: "cart_id", Price: "price", Quantity: "quantity", PointRate: "point_rate", DiscriminatorType: "discriminator_type", }
var DTBCartItemRels = struct { Cart string }{ Cart: "Cart", }
DTBCartItemRels is where relationship names are stored.
var DTBCartItemWhere = struct { ID whereHelperuint ProductClassID whereHelpernull_Uint CartID whereHelpernull_Uint Price whereHelpertypes_Decimal Quantity whereHelpertypes_Decimal PointRate whereHelpertypes_NullDecimal DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ProductClassID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CartID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, PointRate: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCartRels = struct { Customer string CartDTBCartItems string }{ Customer: "Customer", CartDTBCartItems: "CartDTBCartItems", }
DTBCartRels is where relationship names are stored.
var DTBCartWhere = struct { ID whereHelperuint CustomerID whereHelpernull_Uint CartKey whereHelpernull_String PreOrderID whereHelpernull_String TotalPrice whereHelpertypes_Decimal DeliveryFeeTotal whereHelpertypes_Decimal SortNo whereHelpernull_Uint16 CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time AddPoint whereHelpertypes_Decimal UsePoint whereHelpertypes_Decimal DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CustomerID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CartKey: whereHelpernull_String{/* contains filtered or unexported fields */}, PreOrderID: whereHelpernull_String{/* contains filtered or unexported fields */}, TotalPrice: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, DeliveryFeeTotal: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, SortNo: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, AddPoint: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, UsePoint: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCategoryColumns = struct { ID string ParentCategoryID string CreatorID string CategoryName string Hierarchy string SortNo string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", ParentCategoryID: "parent_category_id", CreatorID: "creator_id", CategoryName: "category_name", Hierarchy: "hierarchy", SortNo: "sort_no", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBCategoryRels = struct { ParentCategory string ParentCategoryDTBCategories string CategoryDTBProductCategories string }{ ParentCategory: "ParentCategory", ParentCategoryDTBCategories: "ParentCategoryDTBCategories", CategoryDTBProductCategories: "CategoryDTBProductCategories", }
DTBCategoryRels is where relationship names are stored.
var DTBCategoryWhere = struct { ID whereHelperuint ParentCategoryID whereHelpernull_Uint CreatorID whereHelpernull_Uint CategoryName whereHelperstring Hierarchy whereHelperuint SortNo whereHelperint CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ParentCategoryID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CategoryName: whereHelperstring{/* contains filtered or unexported fields */}, Hierarchy: whereHelperuint{/* contains filtered or unexported fields */}, SortNo: whereHelperint{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBClassCategoryColumns = struct { ID string ClassNameID string CreatorID string BackendName string Name string SortNo string Visible string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", ClassNameID: "class_name_id", CreatorID: "creator_id", BackendName: "backend_name", Name: "name", SortNo: "sort_no", Visible: "visible", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBClassCategoryRels = struct { ClassName string }{ ClassName: "ClassName", }
DTBClassCategoryRels is where relationship names are stored.
var DTBClassCategoryWhere = struct { ID whereHelperuint ClassNameID whereHelpernull_Uint CreatorID whereHelpernull_Uint BackendName whereHelpernull_String Name whereHelperstring SortNo whereHelperuint Visible whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ClassNameID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, BackendName: whereHelpernull_String{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint{/* contains filtered or unexported fields */}, Visible: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBClassNameColumns = struct { ID string CreatorID string BackendName string Name string SortNo string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CreatorID: "creator_id", BackendName: "backend_name", Name: "name", SortNo: "sort_no", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBClassNameRels = struct { ClassNameDTBClassCategories string }{ ClassNameDTBClassCategories: "ClassNameDTBClassCategories", }
DTBClassNameRels is where relationship names are stored.
var DTBClassNameWhere = struct { ID whereHelperuint CreatorID whereHelpernull_Uint BackendName whereHelpernull_String Name whereHelperstring SortNo whereHelperuint CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, BackendName: whereHelpernull_String{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCustomerAddressColumns = struct { ID string CustomerID string CountryID string PrefID string Name01 string Name02 string Kana01 string Kana02 string CompanyName string PostalCode string Addr01 string Addr02 string PhoneNumber string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CustomerID: "customer_id", CountryID: "country_id", PrefID: "pref_id", Name01: "name01", Name02: "name02", Kana01: "kana01", Kana02: "kana02", CompanyName: "company_name", PostalCode: "postal_code", Addr01: "addr01", Addr02: "addr02", PhoneNumber: "phone_number", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBCustomerAddressRels = struct { Customer string Pref string Country string }{ Customer: "Customer", Pref: "Pref", Country: "Country", }
DTBCustomerAddressRels is where relationship names are stored.
var DTBCustomerAddressWhere = struct { ID whereHelperuint CustomerID whereHelpernull_Uint CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 Name01 whereHelperstring Name02 whereHelperstring Kana01 whereHelpernull_String Kana02 whereHelpernull_String CompanyName whereHelpernull_String PostalCode whereHelpernull_String Addr01 whereHelpernull_String Addr02 whereHelpernull_String PhoneNumber whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CustomerID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Name01: whereHelperstring{/* contains filtered or unexported fields */}, Name02: whereHelperstring{/* contains filtered or unexported fields */}, Kana01: whereHelpernull_String{/* contains filtered or unexported fields */}, Kana02: whereHelpernull_String{/* contains filtered or unexported fields */}, CompanyName: whereHelpernull_String{/* contains filtered or unexported fields */}, PostalCode: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr01: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr02: whereHelpernull_String{/* contains filtered or unexported fields */}, PhoneNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCustomerColumns = struct { ID string CustomerStatusID string SexID string JobID string CountryID string PrefID string Name01 string Name02 string Kana01 string Kana02 string CompanyName string PostalCode string Addr01 string Addr02 string Email string PhoneNumber string Birth string Password string Salt string SecretKey string FirstBuyDate string LastBuyDate string BuyTimes string BuyTotal string Note string ResetKey string ResetExpire string Point string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CustomerStatusID: "customer_status_id", SexID: "sex_id", JobID: "job_id", CountryID: "country_id", PrefID: "pref_id", Name01: "name01", Name02: "name02", Kana01: "kana01", Kana02: "kana02", CompanyName: "company_name", PostalCode: "postal_code", Addr01: "addr01", Addr02: "addr02", Email: "email", PhoneNumber: "phone_number", Birth: "birth", Password: "password", Salt: "salt", SecretKey: "secret_key", FirstBuyDate: "first_buy_date", LastBuyDate: "last_buy_date", BuyTimes: "buy_times", BuyTotal: "buy_total", Note: "note", ResetKey: "reset_key", ResetExpire: "reset_expire", Point: "point", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBCustomerFavoriteProductColumns = struct { ID string CustomerID string ProductID string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CustomerID: "customer_id", ProductID: "product_id", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBCustomerFavoriteProductRels = struct { Product string Customer string }{ Product: "Product", Customer: "Customer", }
DTBCustomerFavoriteProductRels is where relationship names are stored.
var DTBCustomerFavoriteProductWhere = struct { ID whereHelperuint CustomerID whereHelpernull_Uint ProductID whereHelpernull_Uint CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CustomerID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, ProductID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBCustomerRels = struct { Sex string Job string CustomerStatus string Pref string Country string CustomerDTBCarts string CustomerDTBCustomerAddresses string CustomerDTBCustomerFavoriteProducts string CustomerDTBOrders string }{ Sex: "Sex", Job: "Job", CustomerStatus: "CustomerStatus", Pref: "Pref", Country: "Country", CustomerDTBCarts: "CustomerDTBCarts", CustomerDTBCustomerAddresses: "CustomerDTBCustomerAddresses", CustomerDTBCustomerFavoriteProducts: "CustomerDTBCustomerFavoriteProducts", CustomerDTBOrders: "CustomerDTBOrders", }
DTBCustomerRels is where relationship names are stored.
var DTBCustomerWhere = struct { ID whereHelperuint CustomerStatusID whereHelpernull_Uint16 SexID whereHelpernull_Uint16 JobID whereHelpernull_Uint16 CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 Name01 whereHelperstring Name02 whereHelperstring Kana01 whereHelpernull_String Kana02 whereHelpernull_String CompanyName whereHelpernull_String PostalCode whereHelpernull_String Addr01 whereHelpernull_String Addr02 whereHelpernull_String Email whereHelperstring PhoneNumber whereHelpernull_String Birth whereHelpernull_Time Password whereHelperstring Salt whereHelpernull_String SecretKey whereHelperstring FirstBuyDate whereHelpernull_Time LastBuyDate whereHelpernull_Time BuyTimes whereHelpertypes_NullDecimal BuyTotal whereHelpertypes_NullDecimal Note whereHelpernull_String ResetKey whereHelpernull_String ResetExpire whereHelpernull_Time Point whereHelpertypes_Decimal CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CustomerStatusID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, SexID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, JobID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Name01: whereHelperstring{/* contains filtered or unexported fields */}, Name02: whereHelperstring{/* contains filtered or unexported fields */}, Kana01: whereHelpernull_String{/* contains filtered or unexported fields */}, Kana02: whereHelpernull_String{/* contains filtered or unexported fields */}, CompanyName: whereHelpernull_String{/* contains filtered or unexported fields */}, PostalCode: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr01: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr02: whereHelpernull_String{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, PhoneNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, Birth: whereHelpernull_Time{/* contains filtered or unexported fields */}, Password: whereHelperstring{/* contains filtered or unexported fields */}, Salt: whereHelpernull_String{/* contains filtered or unexported fields */}, SecretKey: whereHelperstring{/* contains filtered or unexported fields */}, FirstBuyDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, LastBuyDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, BuyTimes: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, BuyTotal: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, Note: whereHelpernull_String{/* contains filtered or unexported fields */}, ResetKey: whereHelpernull_String{/* contains filtered or unexported fields */}, ResetExpire: whereHelpernull_Time{/* contains filtered or unexported fields */}, Point: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBDeliveryColumns = struct { ID string CreatorID string SaleTypeID string Name string ServiceName string Description string ConfirmURL string SortNo string Visible string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CreatorID: "creator_id", SaleTypeID: "sale_type_id", Name: "name", ServiceName: "service_name", Description: "description", ConfirmURL: "confirm_url", SortNo: "sort_no", Visible: "visible", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBDeliveryDurationColumns = struct { ID string Name string Duration string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", Duration: "duration", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var DTBDeliveryDurationRels = struct {
}{}
DTBDeliveryDurationRels is where relationship names are stored.
var DTBDeliveryDurationWhere = struct { ID whereHelperuint Name whereHelpernull_String Duration whereHelperuint16 SortNo whereHelperuint DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelpernull_String{/* contains filtered or unexported fields */}, Duration: whereHelperuint16{/* contains filtered or unexported fields */}, SortNo: whereHelperuint{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBDeliveryFeeColumns = struct { ID string DeliveryID string PrefID string Fee string DiscriminatorType string }{ ID: "id", DeliveryID: "delivery_id", PrefID: "pref_id", Fee: "fee", DiscriminatorType: "discriminator_type", }
var DTBDeliveryFeeRels = struct { Delivery string Pref string }{ Delivery: "Delivery", Pref: "Pref", }
DTBDeliveryFeeRels is where relationship names are stored.
var DTBDeliveryFeeWhere = struct { ID whereHelperuint DeliveryID whereHelpernull_Uint PrefID whereHelpernull_Uint16 Fee whereHelpertypes_Decimal DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, DeliveryID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Fee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBDeliveryRels = struct { SaleType string DeliveryDTBDeliveryFees string DeliveryDTBDeliveryTimes string DeliveryDTBPaymentOptions string DeliveryDTBShippings string }{ SaleType: "SaleType", DeliveryDTBDeliveryFees: "DeliveryDTBDeliveryFees", DeliveryDTBDeliveryTimes: "DeliveryDTBDeliveryTimes", DeliveryDTBPaymentOptions: "DeliveryDTBPaymentOptions", DeliveryDTBShippings: "DeliveryDTBShippings", }
DTBDeliveryRels is where relationship names are stored.
var DTBDeliveryTimeColumns = struct { ID string DeliveryID string DeliveryTime string SortNo string Visible string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", DeliveryID: "delivery_id", DeliveryTime: "delivery_time", SortNo: "sort_no", Visible: "visible", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBDeliveryTimeRels = struct { Delivery string }{ Delivery: "Delivery", }
DTBDeliveryTimeRels is where relationship names are stored.
var DTBDeliveryTimeWhere = struct { ID whereHelperuint DeliveryID whereHelpernull_Uint DeliveryTime whereHelperstring SortNo whereHelperuint16 Visible whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, DeliveryID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, DeliveryTime: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, Visible: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBDeliveryWhere = struct { ID whereHelperuint CreatorID whereHelpernull_Uint SaleTypeID whereHelpernull_Uint16 Name whereHelpernull_String ServiceName whereHelpernull_String Description whereHelpernull_String ConfirmURL whereHelpernull_String SortNo whereHelpernull_Uint Visible whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, SaleTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Name: whereHelpernull_String{/* contains filtered or unexported fields */}, ServiceName: whereHelpernull_String{/* contains filtered or unexported fields */}, Description: whereHelpernull_String{/* contains filtered or unexported fields */}, ConfirmURL: whereHelpernull_String{/* contains filtered or unexported fields */}, SortNo: whereHelpernull_Uint{/* contains filtered or unexported fields */}, Visible: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBLayoutColumns = struct { ID string DeviceTypeID string LayoutName string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", DeviceTypeID: "device_type_id", LayoutName: "layout_name", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBLayoutRels = struct { DeviceType string LayoutDTBBlockPositions string LayoutDTBPageLayouts string }{ DeviceType: "DeviceType", LayoutDTBBlockPositions: "LayoutDTBBlockPositions", LayoutDTBPageLayouts: "LayoutDTBPageLayouts", }
DTBLayoutRels is where relationship names are stored.
var DTBLayoutWhere = struct { ID whereHelperuint DeviceTypeID whereHelpernull_Uint16 LayoutName whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, DeviceTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, LayoutName: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBMailHistoryColumns = struct { ID string OrderID string CreatorID string SendDate string MailSubject string MailBody string MailHTMLBody string DiscriminatorType string }{ ID: "id", OrderID: "order_id", CreatorID: "creator_id", SendDate: "send_date", MailSubject: "mail_subject", MailBody: "mail_body", MailHTMLBody: "mail_html_body", DiscriminatorType: "discriminator_type", }
var DTBMailHistoryRels = struct { Order string }{ Order: "Order", }
DTBMailHistoryRels is where relationship names are stored.
var DTBMailHistoryWhere = struct { ID whereHelperuint OrderID whereHelpernull_Uint CreatorID whereHelpernull_Uint SendDate whereHelpernull_Time MailSubject whereHelpernull_String MailBody whereHelpernull_String MailHTMLBody whereHelpernull_String DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, OrderID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, SendDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, MailSubject: whereHelpernull_String{/* contains filtered or unexported fields */}, MailBody: whereHelpernull_String{/* contains filtered or unexported fields */}, MailHTMLBody: whereHelpernull_String{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBMailTemplateColumns = struct { ID string CreatorID string Name string FileName string MailSubject string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CreatorID: "creator_id", Name: "name", FileName: "file_name", MailSubject: "mail_subject", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBMailTemplateRels = struct {
}{}
DTBMailTemplateRels is where relationship names are stored.
var DTBMailTemplateWhere = struct { ID whereHelperuint CreatorID whereHelpernull_Uint Name whereHelpernull_String FileName whereHelpernull_String MailSubject whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, Name: whereHelpernull_String{/* contains filtered or unexported fields */}, FileName: whereHelpernull_String{/* contains filtered or unexported fields */}, MailSubject: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBOrderColumns = struct { ID string CustomerID string CountryID string PrefID string SexID string JobID string PaymentID string DeviceTypeID string PreOrderID string OrderNo string Message string Name01 string Name02 string Kana01 string Kana02 string CompanyName string Email string PhoneNumber string PostalCode string Addr01 string Addr02 string Birth string Subtotal string Discount string DeliveryFeeTotal string Charge string Tax string Total string PaymentTotal string PaymentMethod string Note string CreateDate string UpdateDate string OrderDate string PaymentDate string CurrencyCode string CompleteMessage string CompleteMailMessage string AddPoint string UsePoint string OrderStatusID string DiscriminatorType string }{ ID: "id", CustomerID: "customer_id", CountryID: "country_id", PrefID: "pref_id", SexID: "sex_id", JobID: "job_id", PaymentID: "payment_id", DeviceTypeID: "device_type_id", PreOrderID: "pre_order_id", OrderNo: "order_no", Message: "message", Name01: "name01", Name02: "name02", Kana01: "kana01", Kana02: "kana02", CompanyName: "company_name", Email: "email", PhoneNumber: "phone_number", PostalCode: "postal_code", Addr01: "addr01", Addr02: "addr02", Birth: "birth", Subtotal: "subtotal", Discount: "discount", DeliveryFeeTotal: "delivery_fee_total", Charge: "charge", Tax: "tax", Total: "total", PaymentTotal: "payment_total", PaymentMethod: "payment_method", Note: "note", CreateDate: "create_date", UpdateDate: "update_date", OrderDate: "order_date", PaymentDate: "payment_date", CurrencyCode: "currency_code", CompleteMessage: "complete_message", CompleteMailMessage: "complete_mail_message", AddPoint: "add_point", UsePoint: "use_point", OrderStatusID: "order_status_id", DiscriminatorType: "discriminator_type", }
var DTBOrderItemColumns = struct { ID string OrderID string ProductID string ProductClassID string ShippingID string RoundingTypeID string TaxTypeID string TaxDisplayTypeID string OrderItemTypeID string ProductName string ProductCode string ClassName1 string ClassName2 string ClassCategoryName1 string ClassCategoryName2 string Price string Quantity string Tax string TaxRate string TaxRuleID string CurrencyCode string ProcessorName string PointRate string DiscriminatorType string }{ ID: "id", OrderID: "order_id", ProductID: "product_id", ProductClassID: "product_class_id", ShippingID: "shipping_id", RoundingTypeID: "rounding_type_id", TaxTypeID: "tax_type_id", TaxDisplayTypeID: "tax_display_type_id", OrderItemTypeID: "order_item_type_id", ProductName: "product_name", ProductCode: "product_code", ClassName1: "class_name1", ClassName2: "class_name2", ClassCategoryName1: "class_category_name1", ClassCategoryName2: "class_category_name2", Price: "price", Quantity: "quantity", Tax: "tax", TaxRate: "tax_rate", TaxRuleID: "tax_rule_id", CurrencyCode: "currency_code", ProcessorName: "processor_name", PointRate: "point_rate", DiscriminatorType: "discriminator_type", }
var DTBOrderItemRels = struct { RoundingType string Product string Shipping string TaxType string Order string TaxDisplayType string OrderItemType string }{ RoundingType: "RoundingType", Product: "Product", Shipping: "Shipping", TaxType: "TaxType", Order: "Order", TaxDisplayType: "TaxDisplayType", OrderItemType: "OrderItemType", }
DTBOrderItemRels is where relationship names are stored.
var DTBOrderItemWhere = struct { ID whereHelperuint OrderID whereHelpernull_Uint ProductID whereHelpernull_Uint ProductClassID whereHelpernull_Uint ShippingID whereHelpernull_Uint RoundingTypeID whereHelpernull_Uint16 TaxTypeID whereHelpernull_Uint16 TaxDisplayTypeID whereHelpernull_Uint16 OrderItemTypeID whereHelpernull_Uint16 ProductName whereHelperstring ProductCode whereHelpernull_String ClassName1 whereHelpernull_String ClassName2 whereHelpernull_String ClassCategoryName1 whereHelpernull_String ClassCategoryName2 whereHelpernull_String Price whereHelpertypes_Decimal Quantity whereHelpertypes_Decimal Tax whereHelpertypes_Decimal TaxRate whereHelpertypes_Decimal TaxRuleID whereHelpernull_Uint16 CurrencyCode whereHelpernull_String ProcessorName whereHelpernull_String PointRate whereHelpertypes_NullDecimal DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, OrderID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, ProductID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, ProductClassID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, ShippingID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, RoundingTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, TaxTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, TaxDisplayTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, OrderItemTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, ProductName: whereHelperstring{/* contains filtered or unexported fields */}, ProductCode: whereHelpernull_String{/* contains filtered or unexported fields */}, ClassName1: whereHelpernull_String{/* contains filtered or unexported fields */}, ClassName2: whereHelpernull_String{/* contains filtered or unexported fields */}, ClassCategoryName1: whereHelpernull_String{/* contains filtered or unexported fields */}, ClassCategoryName2: whereHelpernull_String{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Tax: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, TaxRate: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, TaxRuleID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CurrencyCode: whereHelpernull_String{/* contains filtered or unexported fields */}, ProcessorName: whereHelpernull_String{/* contains filtered or unexported fields */}, PointRate: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBOrderPDFColumns = struct { MemberID string Title string Message1 string Message2 string Message3 string Note1 string Note2 string Note3 string CreateDate string UpdateDate string Visible string DiscriminatorType string }{ MemberID: "member_id", Title: "title", Message1: "message1", Message2: "message2", Message3: "message3", Note1: "note1", Note2: "note2", Note3: "note3", CreateDate: "create_date", UpdateDate: "update_date", Visible: "visible", DiscriminatorType: "discriminator_type", }
var DTBOrderPDFRels = struct {
}{}
DTBOrderPDFRels is where relationship names are stored.
var DTBOrderPDFWhere = struct { MemberID whereHelperuint Title whereHelpernull_String Message1 whereHelpernull_String Message2 whereHelpernull_String Message3 whereHelpernull_String Note1 whereHelpernull_String Note2 whereHelpernull_String Note3 whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time Visible whereHelperbool DiscriminatorType whereHelperstring }{ MemberID: whereHelperuint{/* contains filtered or unexported fields */}, Title: whereHelpernull_String{/* contains filtered or unexported fields */}, Message1: whereHelpernull_String{/* contains filtered or unexported fields */}, Message2: whereHelpernull_String{/* contains filtered or unexported fields */}, Message3: whereHelpernull_String{/* contains filtered or unexported fields */}, Note1: whereHelpernull_String{/* contains filtered or unexported fields */}, Note2: whereHelpernull_String{/* contains filtered or unexported fields */}, Note3: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, Visible: whereHelperbool{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBOrderRels = struct { Payment string DeviceType string Sex string Customer string Job string Pref string Country string OrderDTBMailHistories string OrderDTBOrderItems string OrderDTBShippings string }{ Payment: "Payment", DeviceType: "DeviceType", Sex: "Sex", Customer: "Customer", Job: "Job", Pref: "Pref", Country: "Country", OrderDTBMailHistories: "OrderDTBMailHistories", OrderDTBOrderItems: "OrderDTBOrderItems", OrderDTBShippings: "OrderDTBShippings", }
DTBOrderRels is where relationship names are stored.
var DTBOrderWhere = struct { ID whereHelperuint CustomerID whereHelpernull_Uint CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 SexID whereHelpernull_Uint16 JobID whereHelpernull_Uint16 PaymentID whereHelpernull_Uint DeviceTypeID whereHelpernull_Uint16 PreOrderID whereHelpernull_String OrderNo whereHelpernull_String Message whereHelpernull_String Name01 whereHelperstring Name02 whereHelperstring Kana01 whereHelpernull_String Kana02 whereHelpernull_String CompanyName whereHelpernull_String Email whereHelpernull_String PhoneNumber whereHelpernull_String PostalCode whereHelpernull_String Addr01 whereHelpernull_String Addr02 whereHelpernull_String Birth whereHelpernull_Time Subtotal whereHelpertypes_Decimal Discount whereHelpertypes_Decimal DeliveryFeeTotal whereHelpertypes_Decimal Charge whereHelpertypes_Decimal Tax whereHelpertypes_Decimal Total whereHelpertypes_Decimal PaymentTotal whereHelpertypes_Decimal PaymentMethod whereHelpernull_String Note whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time OrderDate whereHelpernull_Time PaymentDate whereHelpernull_Time CurrencyCode whereHelpernull_String CompleteMessage whereHelpernull_String CompleteMailMessage whereHelpernull_String AddPoint whereHelpertypes_Decimal UsePoint whereHelpertypes_Decimal OrderStatusID whereHelpernull_Uint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CustomerID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, SexID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, JobID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PaymentID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, DeviceTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PreOrderID: whereHelpernull_String{/* contains filtered or unexported fields */}, OrderNo: whereHelpernull_String{/* contains filtered or unexported fields */}, Message: whereHelpernull_String{/* contains filtered or unexported fields */}, Name01: whereHelperstring{/* contains filtered or unexported fields */}, Name02: whereHelperstring{/* contains filtered or unexported fields */}, Kana01: whereHelpernull_String{/* contains filtered or unexported fields */}, Kana02: whereHelpernull_String{/* contains filtered or unexported fields */}, CompanyName: whereHelpernull_String{/* contains filtered or unexported fields */}, Email: whereHelpernull_String{/* contains filtered or unexported fields */}, PhoneNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, PostalCode: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr01: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr02: whereHelpernull_String{/* contains filtered or unexported fields */}, Birth: whereHelpernull_Time{/* contains filtered or unexported fields */}, Subtotal: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Discount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, DeliveryFeeTotal: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Charge: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Tax: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Total: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, PaymentTotal: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, PaymentMethod: whereHelpernull_String{/* contains filtered or unexported fields */}, Note: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, OrderDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, PaymentDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, CurrencyCode: whereHelpernull_String{/* contains filtered or unexported fields */}, CompleteMessage: whereHelpernull_String{/* contains filtered or unexported fields */}, CompleteMailMessage: whereHelpernull_String{/* contains filtered or unexported fields */}, AddPoint: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, UsePoint: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, OrderStatusID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBPageColumns = struct { ID string MasterPageID string PageName string URL string FileName string EditType string Author string Description string Keyword string CreateDate string UpdateDate string MetaRobots string MetaTags string DiscriminatorType string }{ ID: "id", MasterPageID: "master_page_id", PageName: "page_name", URL: "url", FileName: "file_name", EditType: "edit_type", Author: "author", Description: "description", Keyword: "keyword", CreateDate: "create_date", UpdateDate: "update_date", MetaRobots: "meta_robots", MetaTags: "meta_tags", DiscriminatorType: "discriminator_type", }
var DTBPageLayoutColumns = struct { PageID string LayoutID string SortNo string DiscriminatorType string }{ PageID: "page_id", LayoutID: "layout_id", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var DTBPageLayoutRels = struct { Layout string Page string }{ Layout: "Layout", Page: "Page", }
DTBPageLayoutRels is where relationship names are stored.
var DTBPageLayoutWhere = struct { PageID whereHelperuint LayoutID whereHelperuint SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ PageID: whereHelperuint{/* contains filtered or unexported fields */}, LayoutID: whereHelperuint{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBPageRels = struct { MasterPage string MasterPageDTBPages string PageDTBPageLayouts string }{ MasterPage: "MasterPage", MasterPageDTBPages: "MasterPageDTBPages", PageDTBPageLayouts: "PageDTBPageLayouts", }
DTBPageRels is where relationship names are stored.
var DTBPageWhere = struct { ID whereHelperuint MasterPageID whereHelpernull_Uint PageName whereHelpernull_String URL whereHelperstring FileName whereHelpernull_String EditType whereHelperuint16 Author whereHelpernull_String Description whereHelpernull_String Keyword whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time MetaRobots whereHelpernull_String MetaTags whereHelpernull_String DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, MasterPageID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, PageName: whereHelpernull_String{/* contains filtered or unexported fields */}, URL: whereHelperstring{/* contains filtered or unexported fields */}, FileName: whereHelpernull_String{/* contains filtered or unexported fields */}, EditType: whereHelperuint16{/* contains filtered or unexported fields */}, Author: whereHelpernull_String{/* contains filtered or unexported fields */}, Description: whereHelpernull_String{/* contains filtered or unexported fields */}, Keyword: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, MetaRobots: whereHelpernull_String{/* contains filtered or unexported fields */}, MetaTags: whereHelpernull_String{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBPaymentColumns = struct { ID string CreatorID string PaymentMethod string Charge string RuleMax string SortNo string Fixed string PaymentImage string RuleMin string MethodClass string Visible string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CreatorID: "creator_id", PaymentMethod: "payment_method", Charge: "charge", RuleMax: "rule_max", SortNo: "sort_no", Fixed: "fixed", PaymentImage: "payment_image", RuleMin: "rule_min", MethodClass: "method_class", Visible: "visible", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBPaymentOptionColumns = struct { DeliveryID string PaymentID string DiscriminatorType string }{ DeliveryID: "delivery_id", PaymentID: "payment_id", DiscriminatorType: "discriminator_type", }
var DTBPaymentOptionRels = struct { Delivery string Payment string }{ Delivery: "Delivery", Payment: "Payment", }
DTBPaymentOptionRels is where relationship names are stored.
var DTBPaymentOptionWhere = struct { DeliveryID whereHelperuint PaymentID whereHelperuint DiscriminatorType whereHelperstring }{ DeliveryID: whereHelperuint{/* contains filtered or unexported fields */}, PaymentID: whereHelperuint{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBPaymentRels = struct { PaymentDTBOrders string PaymentDTBPaymentOptions string }{ PaymentDTBOrders: "PaymentDTBOrders", PaymentDTBPaymentOptions: "PaymentDTBPaymentOptions", }
DTBPaymentRels is where relationship names are stored.
var DTBPaymentWhere = struct { ID whereHelperuint CreatorID whereHelpernull_Uint PaymentMethod whereHelpernull_String Charge whereHelpertypes_NullDecimal RuleMax whereHelpertypes_NullDecimal SortNo whereHelpernull_Uint16 Fixed whereHelperbool PaymentImage whereHelpernull_String RuleMin whereHelpertypes_NullDecimal MethodClass whereHelpernull_String Visible whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, PaymentMethod: whereHelpernull_String{/* contains filtered or unexported fields */}, Charge: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, RuleMax: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, SortNo: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Fixed: whereHelperbool{/* contains filtered or unexported fields */}, PaymentImage: whereHelpernull_String{/* contains filtered or unexported fields */}, RuleMin: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, MethodClass: whereHelpernull_String{/* contains filtered or unexported fields */}, Visible: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBPluginColumns = struct { ID string Name string Code string Enabled string Version string Source string Initialized string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", Name: "name", Code: "code", Enabled: "enabled", Version: "version", Source: "source", Initialized: "initialized", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBPluginRels = struct {
}{}
DTBPluginRels is where relationship names are stored.
var DTBPluginWhere = struct { ID whereHelperuint Name whereHelperstring Code whereHelperstring Enabled whereHelperbool Version whereHelperstring Source whereHelperstring Initialized whereHelperbool CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Code: whereHelperstring{/* contains filtered or unexported fields */}, Enabled: whereHelperbool{/* contains filtered or unexported fields */}, Version: whereHelperstring{/* contains filtered or unexported fields */}, Source: whereHelperstring{/* contains filtered or unexported fields */}, Initialized: whereHelperbool{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBProductCategoryColumns = struct { ProductID string CategoryID string DiscriminatorType string }{ ProductID: "product_id", CategoryID: "category_id", DiscriminatorType: "discriminator_type", }
var DTBProductCategoryRels = struct { Category string Product string }{ Category: "Category", Product: "Product", }
DTBProductCategoryRels is where relationship names are stored.
var DTBProductCategoryWhere = struct { ProductID whereHelperuint CategoryID whereHelperuint DiscriminatorType whereHelperstring }{ ProductID: whereHelperuint{/* contains filtered or unexported fields */}, CategoryID: whereHelperuint{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBProductColumns = struct { ID string CreatorID string ProductStatusID string Name string Note string DescriptionList string DescriptionDetail string SearchWord string FreeArea string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", CreatorID: "creator_id", ProductStatusID: "product_status_id", Name: "name", Note: "note", DescriptionList: "description_list", DescriptionDetail: "description_detail", SearchWord: "search_word", FreeArea: "free_area", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBProductImageColumns = struct { ID string ProductID string CreatorID string FileName string SortNo string CreateDate string DiscriminatorType string }{ ID: "id", ProductID: "product_id", CreatorID: "creator_id", FileName: "file_name", SortNo: "sort_no", CreateDate: "create_date", DiscriminatorType: "discriminator_type", }
var DTBProductImageRels = struct { Product string }{ Product: "Product", }
DTBProductImageRels is where relationship names are stored.
var DTBProductImageWhere = struct { ID whereHelperuint ProductID whereHelpernull_Uint CreatorID whereHelpernull_Uint FileName whereHelperstring SortNo whereHelperuint16 CreateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ProductID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, FileName: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBProductRels = struct { ProductStatus string ProductDTBCustomerFavoriteProducts string ProductDTBOrderItems string ProductDTBProductCategories string ProductDTBProductImages string ProductDTBProductTags string ProductDTBTaxRules string }{ ProductStatus: "ProductStatus", ProductDTBCustomerFavoriteProducts: "ProductDTBCustomerFavoriteProducts", ProductDTBOrderItems: "ProductDTBOrderItems", ProductDTBProductCategories: "ProductDTBProductCategories", ProductDTBProductImages: "ProductDTBProductImages", ProductDTBProductTags: "ProductDTBProductTags", ProductDTBTaxRules: "ProductDTBTaxRules", }
DTBProductRels is where relationship names are stored.
var DTBProductStockColumns = struct { ID string ProductClassID string CreatorID string Stock string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", ProductClassID: "product_class_id", CreatorID: "creator_id", Stock: "stock", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBProductStockRels = struct {
}{}
DTBProductStockRels is where relationship names are stored.
var DTBProductStockWhere = struct { ID whereHelperuint ProductClassID whereHelpernull_Uint CreatorID whereHelpernull_Uint Stock whereHelpertypes_NullDecimal CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ProductClassID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, Stock: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBProductTagColumns = struct { ID string ProductID string TagID string CreatorID string CreateDate string DiscriminatorType string }{ ID: "id", ProductID: "product_id", TagID: "tag_id", CreatorID: "creator_id", CreateDate: "create_date", DiscriminatorType: "discriminator_type", }
var DTBProductTagRels = struct { Product string Tag string }{ Product: "Product", Tag: "Tag", }
DTBProductTagRels is where relationship names are stored.
var DTBProductTagWhere = struct { ID whereHelperuint ProductID whereHelpernull_Uint TagID whereHelpernull_Uint CreatorID whereHelpernull_Uint CreateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ProductID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, TagID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBProductWhere = struct { ID whereHelperuint CreatorID whereHelpernull_Uint ProductStatusID whereHelpernull_Uint16 Name whereHelperstring Note whereHelpernull_String DescriptionList whereHelpernull_String DescriptionDetail whereHelpernull_String SearchWord whereHelpernull_String FreeArea whereHelpernull_String CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, ProductStatusID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Note: whereHelpernull_String{/* contains filtered or unexported fields */}, DescriptionList: whereHelpernull_String{/* contains filtered or unexported fields */}, DescriptionDetail: whereHelpernull_String{/* contains filtered or unexported fields */}, SearchWord: whereHelpernull_String{/* contains filtered or unexported fields */}, FreeArea: whereHelpernull_String{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBShippingColumns = struct { ID string OrderID string CountryID string PrefID string DeliveryID string CreatorID string Name01 string Name02 string Kana01 string Kana02 string CompanyName string PhoneNumber string PostalCode string Addr01 string Addr02 string DeliveryName string TimeID string DeliveryTime string DeliveryDate string ShippingDate string TrackingNumber string Note string SortNo string CreateDate string UpdateDate string MailSendDate string DiscriminatorType string }{ ID: "id", OrderID: "order_id", CountryID: "country_id", PrefID: "pref_id", DeliveryID: "delivery_id", CreatorID: "creator_id", Name01: "name01", Name02: "name02", Kana01: "kana01", Kana02: "kana02", CompanyName: "company_name", PhoneNumber: "phone_number", PostalCode: "postal_code", Addr01: "addr01", Addr02: "addr02", DeliveryName: "delivery_name", TimeID: "time_id", DeliveryTime: "delivery_time", DeliveryDate: "delivery_date", ShippingDate: "shipping_date", TrackingNumber: "tracking_number", Note: "note", SortNo: "sort_no", CreateDate: "create_date", UpdateDate: "update_date", MailSendDate: "mail_send_date", DiscriminatorType: "discriminator_type", }
var DTBShippingRels = struct { Delivery string Order string Pref string Country string ShippingDTBOrderItems string }{ Delivery: "Delivery", Order: "Order", Pref: "Pref", Country: "Country", ShippingDTBOrderItems: "ShippingDTBOrderItems", }
DTBShippingRels is where relationship names are stored.
var DTBShippingWhere = struct { ID whereHelperuint OrderID whereHelpernull_Uint CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 DeliveryID whereHelpernull_Uint CreatorID whereHelpernull_Uint Name01 whereHelperstring Name02 whereHelperstring Kana01 whereHelpernull_String Kana02 whereHelpernull_String CompanyName whereHelpernull_String PhoneNumber whereHelpernull_String PostalCode whereHelpernull_String Addr01 whereHelpernull_String Addr02 whereHelpernull_String DeliveryName whereHelpernull_String TimeID whereHelpernull_Uint DeliveryTime whereHelpernull_String DeliveryDate whereHelpernull_Time ShippingDate whereHelpernull_Time TrackingNumber whereHelpernull_String Note whereHelpernull_String SortNo whereHelpernull_Uint16 CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time MailSendDate whereHelpernull_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, OrderID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, DeliveryID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, Name01: whereHelperstring{/* contains filtered or unexported fields */}, Name02: whereHelperstring{/* contains filtered or unexported fields */}, Kana01: whereHelpernull_String{/* contains filtered or unexported fields */}, Kana02: whereHelpernull_String{/* contains filtered or unexported fields */}, CompanyName: whereHelpernull_String{/* contains filtered or unexported fields */}, PhoneNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, PostalCode: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr01: whereHelpernull_String{/* contains filtered or unexported fields */}, Addr02: whereHelpernull_String{/* contains filtered or unexported fields */}, DeliveryName: whereHelpernull_String{/* contains filtered or unexported fields */}, TimeID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, DeliveryTime: whereHelpernull_String{/* contains filtered or unexported fields */}, DeliveryDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, ShippingDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, TrackingNumber: whereHelpernull_String{/* contains filtered or unexported fields */}, Note: whereHelpernull_String{/* contains filtered or unexported fields */}, SortNo: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, MailSendDate: whereHelpernull_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBTagColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var DTBTagRels = struct { TagDTBProductTags string }{ TagDTBProductTags: "TagDTBProductTags", }
DTBTagRels is where relationship names are stored.
var DTBTagWhere = struct { ID whereHelperuint Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBTaxRuleColumns = struct { ID string ProductClassID string CreatorID string CountryID string PrefID string ProductID string RoundingTypeID string TaxRate string TaxAdjust string ApplyDate string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", ProductClassID: "product_class_id", CreatorID: "creator_id", CountryID: "country_id", PrefID: "pref_id", ProductID: "product_id", RoundingTypeID: "rounding_type_id", TaxRate: "tax_rate", TaxAdjust: "tax_adjust", ApplyDate: "apply_date", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBTaxRuleRels = struct { RoundingType string Product string Pref string Country string }{ RoundingType: "RoundingType", Product: "Product", Pref: "Pref", Country: "Country", }
DTBTaxRuleRels is where relationship names are stored.
var DTBTaxRuleWhere = struct { ID whereHelperuint ProductClassID whereHelpernull_Uint CreatorID whereHelpernull_Uint CountryID whereHelpernull_Uint16 PrefID whereHelpernull_Uint16 ProductID whereHelpernull_Uint RoundingTypeID whereHelpernull_Uint16 TaxRate whereHelpertypes_Decimal TaxAdjust whereHelpertypes_Decimal ApplyDate whereHelpertime_Time CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, ProductClassID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CreatorID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, CountryID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, PrefID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, ProductID: whereHelpernull_Uint{/* contains filtered or unexported fields */}, RoundingTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, TaxRate: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, TaxAdjust: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, ApplyDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var DTBTemplateColumns = struct { ID string DeviceTypeID string TemplateCode string TemplateName string CreateDate string UpdateDate string DiscriminatorType string }{ ID: "id", DeviceTypeID: "device_type_id", TemplateCode: "template_code", TemplateName: "template_name", CreateDate: "create_date", UpdateDate: "update_date", DiscriminatorType: "discriminator_type", }
var DTBTemplateRels = struct { DeviceType string }{ DeviceType: "DeviceType", }
DTBTemplateRels is where relationship names are stored.
var DTBTemplateWhere = struct { ID whereHelperuint DeviceTypeID whereHelpernull_Uint16 TemplateCode whereHelperstring TemplateName whereHelperstring CreateDate whereHelpertime_Time UpdateDate whereHelpertime_Time DiscriminatorType whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, DeviceTypeID: whereHelpernull_Uint16{/* contains filtered or unexported fields */}, TemplateCode: whereHelperstring{/* contains filtered or unexported fields */}, TemplateName: whereHelperstring{/* contains filtered or unexported fields */}, CreateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdateDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("model: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var MTBAuthorityColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBAuthorityRels = struct { AuthorityDTBAuthorityRoles string }{ AuthorityDTBAuthorityRoles: "AuthorityDTBAuthorityRoles", }
MTBAuthorityRels is where relationship names are stored.
var MTBAuthorityWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBCSVTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBCSVTypeRels = struct { CSVTypeDTBCSVS string }{ CSVTypeDTBCSVS: "CSVTypeDTBCSVS", }
MTBCSVTypeRels is where relationship names are stored.
var MTBCSVTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBCountryColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBCountryRels = struct { CountryDTBBaseInfos string CountryDTBCustomers string CountryDTBCustomerAddresses string CountryDTBOrders string CountryDTBShippings string CountryDTBTaxRules string }{ CountryDTBBaseInfos: "CountryDTBBaseInfos", CountryDTBCustomers: "CountryDTBCustomers", CountryDTBCustomerAddresses: "CountryDTBCustomerAddresses", CountryDTBOrders: "CountryDTBOrders", CountryDTBShippings: "CountryDTBShippings", CountryDTBTaxRules: "CountryDTBTaxRules", }
MTBCountryRels is where relationship names are stored.
var MTBCountryWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBCustomerOrderStatusColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBCustomerOrderStatusRels = struct {
}{}
MTBCustomerOrderStatusRels is where relationship names are stored.
var MTBCustomerOrderStatusWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBCustomerStatusColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBCustomerStatusRels = struct { CustomerStatusDTBCustomers string }{ CustomerStatusDTBCustomers: "CustomerStatusDTBCustomers", }
MTBCustomerStatusRels is where relationship names are stored.
var MTBCustomerStatusWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBDeviceTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBDeviceTypeRels = struct { DeviceTypeDTBBlocks string DeviceTypeDTBLayouts string DeviceTypeDTBOrders string DeviceTypeDTBTemplates string }{ DeviceTypeDTBBlocks: "DeviceTypeDTBBlocks", DeviceTypeDTBLayouts: "DeviceTypeDTBLayouts", DeviceTypeDTBOrders: "DeviceTypeDTBOrders", DeviceTypeDTBTemplates: "DeviceTypeDTBTemplates", }
MTBDeviceTypeRels is where relationship names are stored.
var MTBDeviceTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBJobColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBJobRels = struct { JobDTBCustomers string JobDTBOrders string }{ JobDTBCustomers: "JobDTBCustomers", JobDTBOrders: "JobDTBOrders", }
MTBJobRels is where relationship names are stored.
var MTBJobWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBOrderItemTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBOrderItemTypeRels = struct { OrderItemTypeDTBOrderItems string }{ OrderItemTypeDTBOrderItems: "OrderItemTypeDTBOrderItems", }
MTBOrderItemTypeRels is where relationship names are stored.
var MTBOrderItemTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBOrderStatusColorColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBOrderStatusColorRels = struct {
}{}
MTBOrderStatusColorRels is where relationship names are stored.
var MTBOrderStatusColorWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBOrderStatusColumns = struct { ID string DisplayOrderCount string Name string SortNo string DiscriminatorType string }{ ID: "id", DisplayOrderCount: "display_order_count", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBOrderStatusRels = struct {
}{}
MTBOrderStatusRels is where relationship names are stored.
var MTBOrderStatusWhere = struct { ID whereHelperuint16 DisplayOrderCount whereHelperbool Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, DisplayOrderCount: whereHelperbool{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBPageMaxColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBPageMaxRels = struct {
}{}
MTBPageMaxRels is where relationship names are stored.
var MTBPageMaxWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBPrefColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBPrefRels = struct { PrefDTBBaseInfos string PrefDTBCustomers string PrefDTBCustomerAddresses string PrefDTBDeliveryFees string PrefDTBOrders string PrefDTBShippings string PrefDTBTaxRules string }{ PrefDTBBaseInfos: "PrefDTBBaseInfos", PrefDTBCustomers: "PrefDTBCustomers", PrefDTBCustomerAddresses: "PrefDTBCustomerAddresses", PrefDTBDeliveryFees: "PrefDTBDeliveryFees", PrefDTBOrders: "PrefDTBOrders", PrefDTBShippings: "PrefDTBShippings", PrefDTBTaxRules: "PrefDTBTaxRules", }
MTBPrefRels is where relationship names are stored.
var MTBPrefWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBProductListMaxColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBProductListMaxRels = struct {
}{}
MTBProductListMaxRels is where relationship names are stored.
var MTBProductListMaxWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBProductListOrderByColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBProductListOrderByRels = struct {
}{}
MTBProductListOrderByRels is where relationship names are stored.
var MTBProductListOrderByWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBProductStatusColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBProductStatusRels = struct { ProductStatusDTBProducts string }{ ProductStatusDTBProducts: "ProductStatusDTBProducts", }
MTBProductStatusRels is where relationship names are stored.
var MTBProductStatusWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBRoundingTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBRoundingTypeRels = struct { RoundingTypeDTBOrderItems string RoundingTypeDTBTaxRules string }{ RoundingTypeDTBOrderItems: "RoundingTypeDTBOrderItems", RoundingTypeDTBTaxRules: "RoundingTypeDTBTaxRules", }
MTBRoundingTypeRels is where relationship names are stored.
var MTBRoundingTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBSaleTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBSaleTypeRels = struct { SaleTypeDTBDeliveries string }{ SaleTypeDTBDeliveries: "SaleTypeDTBDeliveries", }
MTBSaleTypeRels is where relationship names are stored.
var MTBSaleTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBSexColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBSexRels = struct { SexDTBCustomers string SexDTBOrders string }{ SexDTBCustomers: "SexDTBCustomers", SexDTBOrders: "SexDTBOrders", }
MTBSexRels is where relationship names are stored.
var MTBSexWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBTaxDisplayTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBTaxDisplayTypeRels = struct { TaxDisplayTypeDTBOrderItems string }{ TaxDisplayTypeDTBOrderItems: "TaxDisplayTypeDTBOrderItems", }
MTBTaxDisplayTypeRels is where relationship names are stored.
var MTBTaxDisplayTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBTaxTypeColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBTaxTypeRels = struct { TaxTypeDTBOrderItems string }{ TaxTypeDTBOrderItems: "TaxTypeDTBOrderItems", }
MTBTaxTypeRels is where relationship names are stored.
var MTBTaxTypeWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MTBWorkColumns = struct { ID string Name string SortNo string DiscriminatorType string }{ ID: "id", Name: "name", SortNo: "sort_no", DiscriminatorType: "discriminator_type", }
var MTBWorkRels = struct {
}{}
MTBWorkRels is where relationship names are stored.
var MTBWorkWhere = struct { ID whereHelperuint16 Name whereHelperstring SortNo whereHelperuint16 DiscriminatorType whereHelperstring }{ ID: whereHelperuint16{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, SortNo: whereHelperuint16{/* contains filtered or unexported fields */}, DiscriminatorType: whereHelperstring{/* contains filtered or unexported fields */}, }
var MigrationVersionColumns = struct { Version string }{ Version: "version", }
var MigrationVersionRels = struct {
}{}
MigrationVersionRels is where relationship names are stored.
var MigrationVersionWhere = struct { Version whereHelperstring }{ Version: whereHelperstring{/* contains filtered or unexported fields */}, }
var TableNames = struct { DTBAuthorityRole string DTBBaseInfo string DTBBlock string DTBBlockPosition string DTBCart string DTBCartItem string DTBCategory string DTBClassCategory string DTBClassName string DTBCSV string DTBCustomer string DTBCustomerAddress string DTBCustomerFavoriteProduct string DTBDelivery string DTBDeliveryDuration string DTBDeliveryFee string DTBDeliveryTime string DTBLayout string DTBMailHistory string DTBMailTemplate string DTBOrder string DTBOrderItem string DTBOrderPDF string DTBPage string DTBPageLayout string DTBPayment string DTBPaymentOption string DTBPlugin string DTBProduct string DTBProductCategory string DTBProductImage string DTBProductStock string DTBProductTag string DTBShipping string DTBTag string DTBTaxRule string DTBTemplate string MigrationVersions string MTBAuthority string MTBCountry string MTBCSVType string MTBCustomerOrderStatus string MTBCustomerStatus string MTBDeviceType string MTBJob string MTBOrderItemType string MTBOrderStatus string MTBOrderStatusColor string MTBPageMax string MTBPref string MTBProductListMax string MTBProductListOrderBy string MTBProductStatus string MTBRoundingType string MTBSaleType string MTBSex string MTBTaxDisplayType string MTBTaxType string MTBWork string }{ DTBAuthorityRole: "dtb_authority_role", DTBBaseInfo: "dtb_base_info", DTBBlock: "dtb_block", DTBBlockPosition: "dtb_block_position", DTBCart: "dtb_cart", DTBCartItem: "dtb_cart_item", DTBCategory: "dtb_category", DTBClassCategory: "dtb_class_category", DTBClassName: "dtb_class_name", DTBCSV: "dtb_csv", DTBCustomer: "dtb_customer", DTBCustomerAddress: "dtb_customer_address", DTBCustomerFavoriteProduct: "dtb_customer_favorite_product", DTBDelivery: "dtb_delivery", DTBDeliveryDuration: "dtb_delivery_duration", DTBDeliveryFee: "dtb_delivery_fee", DTBDeliveryTime: "dtb_delivery_time", DTBLayout: "dtb_layout", DTBMailHistory: "dtb_mail_history", DTBMailTemplate: "dtb_mail_template", DTBOrder: "dtb_order", DTBOrderItem: "dtb_order_item", DTBOrderPDF: "dtb_order_pdf", DTBPage: "dtb_page", DTBPageLayout: "dtb_page_layout", DTBPayment: "dtb_payment", DTBPaymentOption: "dtb_payment_option", DTBPlugin: "dtb_plugin", DTBProduct: "dtb_product", DTBProductCategory: "dtb_product_category", DTBProductImage: "dtb_product_image", DTBProductStock: "dtb_product_stock", DTBProductTag: "dtb_product_tag", DTBShipping: "dtb_shipping", DTBTag: "dtb_tag", DTBTaxRule: "dtb_tax_rule", DTBTemplate: "dtb_template", MigrationVersions: "migration_versions", MTBAuthority: "mtb_authority", MTBCountry: "mtb_country", MTBCSVType: "mtb_csv_type", MTBCustomerOrderStatus: "mtb_customer_order_status", MTBCustomerStatus: "mtb_customer_status", MTBDeviceType: "mtb_device_type", MTBJob: "mtb_job", MTBOrderItemType: "mtb_order_item_type", MTBOrderStatus: "mtb_order_status", MTBOrderStatusColor: "mtb_order_status_color", MTBPageMax: "mtb_page_max", MTBPref: "mtb_pref", MTBProductListMax: "mtb_product_list_max", MTBProductListOrderBy: "mtb_product_list_order_by", MTBProductStatus: "mtb_product_status", MTBRoundingType: "mtb_rounding_type", MTBSaleType: "mtb_sale_type", MTBSex: "mtb_sex", MTBTaxDisplayType: "mtb_tax_display_type", MTBTaxType: "mtb_tax_type", MTBWork: "mtb_work", }
Functions ¶
func AddDTBAuthorityRoleHook ¶
func AddDTBAuthorityRoleHook(hookPoint boil.HookPoint, dtbAuthorityRoleHook DTBAuthorityRoleHook)
AddDTBAuthorityRoleHook registers your hook function for all future operations.
func AddDTBBaseInfoHook ¶
func AddDTBBaseInfoHook(hookPoint boil.HookPoint, dtbBaseInfoHook DTBBaseInfoHook)
AddDTBBaseInfoHook registers your hook function for all future operations.
func AddDTBBlockHook ¶
func AddDTBBlockHook(hookPoint boil.HookPoint, dtbBlockHook DTBBlockHook)
AddDTBBlockHook registers your hook function for all future operations.
func AddDTBBlockPositionHook ¶
func AddDTBBlockPositionHook(hookPoint boil.HookPoint, dtbBlockPositionHook DTBBlockPositionHook)
AddDTBBlockPositionHook registers your hook function for all future operations.
func AddDTBCSVHook ¶
func AddDTBCSVHook(hookPoint boil.HookPoint, dtbCSVHook DTBCSVHook)
AddDTBCSVHook registers your hook function for all future operations.
func AddDTBCartHook ¶
func AddDTBCartHook(hookPoint boil.HookPoint, dtbCartHook DTBCartHook)
AddDTBCartHook registers your hook function for all future operations.
func AddDTBCartItemHook ¶
func AddDTBCartItemHook(hookPoint boil.HookPoint, dtbCartItemHook DTBCartItemHook)
AddDTBCartItemHook registers your hook function for all future operations.
func AddDTBCategoryHook ¶
func AddDTBCategoryHook(hookPoint boil.HookPoint, dtbCategoryHook DTBCategoryHook)
AddDTBCategoryHook registers your hook function for all future operations.
func AddDTBClassCategoryHook ¶
func AddDTBClassCategoryHook(hookPoint boil.HookPoint, dtbClassCategoryHook DTBClassCategoryHook)
AddDTBClassCategoryHook registers your hook function for all future operations.
func AddDTBClassNameHook ¶
func AddDTBClassNameHook(hookPoint boil.HookPoint, dtbClassNameHook DTBClassNameHook)
AddDTBClassNameHook registers your hook function for all future operations.
func AddDTBCustomerAddressHook ¶
func AddDTBCustomerAddressHook(hookPoint boil.HookPoint, dtbCustomerAddressHook DTBCustomerAddressHook)
AddDTBCustomerAddressHook registers your hook function for all future operations.
func AddDTBCustomerFavoriteProductHook ¶
func AddDTBCustomerFavoriteProductHook(hookPoint boil.HookPoint, dtbCustomerFavoriteProductHook DTBCustomerFavoriteProductHook)
AddDTBCustomerFavoriteProductHook registers your hook function for all future operations.
func AddDTBCustomerHook ¶
func AddDTBCustomerHook(hookPoint boil.HookPoint, dtbCustomerHook DTBCustomerHook)
AddDTBCustomerHook registers your hook function for all future operations.
func AddDTBDeliveryDurationHook ¶
func AddDTBDeliveryDurationHook(hookPoint boil.HookPoint, dtbDeliveryDurationHook DTBDeliveryDurationHook)
AddDTBDeliveryDurationHook registers your hook function for all future operations.
func AddDTBDeliveryFeeHook ¶
func AddDTBDeliveryFeeHook(hookPoint boil.HookPoint, dtbDeliveryFeeHook DTBDeliveryFeeHook)
AddDTBDeliveryFeeHook registers your hook function for all future operations.
func AddDTBDeliveryHook ¶
func AddDTBDeliveryHook(hookPoint boil.HookPoint, dtbDeliveryHook DTBDeliveryHook)
AddDTBDeliveryHook registers your hook function for all future operations.
func AddDTBDeliveryTimeHook ¶
func AddDTBDeliveryTimeHook(hookPoint boil.HookPoint, dtbDeliveryTimeHook DTBDeliveryTimeHook)
AddDTBDeliveryTimeHook registers your hook function for all future operations.
func AddDTBLayoutHook ¶
func AddDTBLayoutHook(hookPoint boil.HookPoint, dtbLayoutHook DTBLayoutHook)
AddDTBLayoutHook registers your hook function for all future operations.
func AddDTBMailHistoryHook ¶
func AddDTBMailHistoryHook(hookPoint boil.HookPoint, dtbMailHistoryHook DTBMailHistoryHook)
AddDTBMailHistoryHook registers your hook function for all future operations.
func AddDTBMailTemplateHook ¶
func AddDTBMailTemplateHook(hookPoint boil.HookPoint, dtbMailTemplateHook DTBMailTemplateHook)
AddDTBMailTemplateHook registers your hook function for all future operations.
func AddDTBOrderHook ¶
func AddDTBOrderHook(hookPoint boil.HookPoint, dtbOrderHook DTBOrderHook)
AddDTBOrderHook registers your hook function for all future operations.
func AddDTBOrderItemHook ¶
func AddDTBOrderItemHook(hookPoint boil.HookPoint, dtbOrderItemHook DTBOrderItemHook)
AddDTBOrderItemHook registers your hook function for all future operations.
func AddDTBOrderPDFHook ¶
func AddDTBOrderPDFHook(hookPoint boil.HookPoint, dtbOrderPDFHook DTBOrderPDFHook)
AddDTBOrderPDFHook registers your hook function for all future operations.
func AddDTBPageHook ¶
func AddDTBPageHook(hookPoint boil.HookPoint, dtbPageHook DTBPageHook)
AddDTBPageHook registers your hook function for all future operations.
func AddDTBPageLayoutHook ¶
func AddDTBPageLayoutHook(hookPoint boil.HookPoint, dtbPageLayoutHook DTBPageLayoutHook)
AddDTBPageLayoutHook registers your hook function for all future operations.
func AddDTBPaymentHook ¶
func AddDTBPaymentHook(hookPoint boil.HookPoint, dtbPaymentHook DTBPaymentHook)
AddDTBPaymentHook registers your hook function for all future operations.
func AddDTBPaymentOptionHook ¶
func AddDTBPaymentOptionHook(hookPoint boil.HookPoint, dtbPaymentOptionHook DTBPaymentOptionHook)
AddDTBPaymentOptionHook registers your hook function for all future operations.
func AddDTBPluginHook ¶
func AddDTBPluginHook(hookPoint boil.HookPoint, dtbPluginHook DTBPluginHook)
AddDTBPluginHook registers your hook function for all future operations.
func AddDTBProductCategoryHook ¶
func AddDTBProductCategoryHook(hookPoint boil.HookPoint, dtbProductCategoryHook DTBProductCategoryHook)
AddDTBProductCategoryHook registers your hook function for all future operations.
func AddDTBProductHook ¶
func AddDTBProductHook(hookPoint boil.HookPoint, dtbProductHook DTBProductHook)
AddDTBProductHook registers your hook function for all future operations.
func AddDTBProductImageHook ¶
func AddDTBProductImageHook(hookPoint boil.HookPoint, dtbProductImageHook DTBProductImageHook)
AddDTBProductImageHook registers your hook function for all future operations.
func AddDTBProductStockHook ¶
func AddDTBProductStockHook(hookPoint boil.HookPoint, dtbProductStockHook DTBProductStockHook)
AddDTBProductStockHook registers your hook function for all future operations.
func AddDTBProductTagHook ¶
func AddDTBProductTagHook(hookPoint boil.HookPoint, dtbProductTagHook DTBProductTagHook)
AddDTBProductTagHook registers your hook function for all future operations.
func AddDTBShippingHook ¶
func AddDTBShippingHook(hookPoint boil.HookPoint, dtbShippingHook DTBShippingHook)
AddDTBShippingHook registers your hook function for all future operations.
func AddDTBTagHook ¶
func AddDTBTagHook(hookPoint boil.HookPoint, dtbTagHook DTBTagHook)
AddDTBTagHook registers your hook function for all future operations.
func AddDTBTaxRuleHook ¶
func AddDTBTaxRuleHook(hookPoint boil.HookPoint, dtbTaxRuleHook DTBTaxRuleHook)
AddDTBTaxRuleHook registers your hook function for all future operations.
func AddDTBTemplateHook ¶
func AddDTBTemplateHook(hookPoint boil.HookPoint, dtbTemplateHook DTBTemplateHook)
AddDTBTemplateHook registers your hook function for all future operations.
func AddMTBAuthorityHook ¶
func AddMTBAuthorityHook(hookPoint boil.HookPoint, mtbAuthorityHook MTBAuthorityHook)
AddMTBAuthorityHook registers your hook function for all future operations.
func AddMTBCSVTypeHook ¶
func AddMTBCSVTypeHook(hookPoint boil.HookPoint, mtbCSVTypeHook MTBCSVTypeHook)
AddMTBCSVTypeHook registers your hook function for all future operations.
func AddMTBCountryHook ¶
func AddMTBCountryHook(hookPoint boil.HookPoint, mtbCountryHook MTBCountryHook)
AddMTBCountryHook registers your hook function for all future operations.
func AddMTBCustomerOrderStatusHook ¶
func AddMTBCustomerOrderStatusHook(hookPoint boil.HookPoint, mtbCustomerOrderStatusHook MTBCustomerOrderStatusHook)
AddMTBCustomerOrderStatusHook registers your hook function for all future operations.
func AddMTBCustomerStatusHook ¶
func AddMTBCustomerStatusHook(hookPoint boil.HookPoint, mtbCustomerStatusHook MTBCustomerStatusHook)
AddMTBCustomerStatusHook registers your hook function for all future operations.
func AddMTBDeviceTypeHook ¶
func AddMTBDeviceTypeHook(hookPoint boil.HookPoint, mtbDeviceTypeHook MTBDeviceTypeHook)
AddMTBDeviceTypeHook registers your hook function for all future operations.
func AddMTBJobHook ¶
func AddMTBJobHook(hookPoint boil.HookPoint, mtbJobHook MTBJobHook)
AddMTBJobHook registers your hook function for all future operations.
func AddMTBOrderItemTypeHook ¶
func AddMTBOrderItemTypeHook(hookPoint boil.HookPoint, mtbOrderItemTypeHook MTBOrderItemTypeHook)
AddMTBOrderItemTypeHook registers your hook function for all future operations.
func AddMTBOrderStatusColorHook ¶
func AddMTBOrderStatusColorHook(hookPoint boil.HookPoint, mtbOrderStatusColorHook MTBOrderStatusColorHook)
AddMTBOrderStatusColorHook registers your hook function for all future operations.
func AddMTBOrderStatusHook ¶
func AddMTBOrderStatusHook(hookPoint boil.HookPoint, mtbOrderStatusHook MTBOrderStatusHook)
AddMTBOrderStatusHook registers your hook function for all future operations.
func AddMTBPageMaxHook ¶
func AddMTBPageMaxHook(hookPoint boil.HookPoint, mtbPageMaxHook MTBPageMaxHook)
AddMTBPageMaxHook registers your hook function for all future operations.
func AddMTBPrefHook ¶
func AddMTBPrefHook(hookPoint boil.HookPoint, mtbPrefHook MTBPrefHook)
AddMTBPrefHook registers your hook function for all future operations.
func AddMTBProductListMaxHook ¶
func AddMTBProductListMaxHook(hookPoint boil.HookPoint, mtbProductListMaxHook MTBProductListMaxHook)
AddMTBProductListMaxHook registers your hook function for all future operations.
func AddMTBProductListOrderByHook ¶
func AddMTBProductListOrderByHook(hookPoint boil.HookPoint, mtbProductListOrderByHook MTBProductListOrderByHook)
AddMTBProductListOrderByHook registers your hook function for all future operations.
func AddMTBProductStatusHook ¶
func AddMTBProductStatusHook(hookPoint boil.HookPoint, mtbProductStatusHook MTBProductStatusHook)
AddMTBProductStatusHook registers your hook function for all future operations.
func AddMTBRoundingTypeHook ¶
func AddMTBRoundingTypeHook(hookPoint boil.HookPoint, mtbRoundingTypeHook MTBRoundingTypeHook)
AddMTBRoundingTypeHook registers your hook function for all future operations.
func AddMTBSaleTypeHook ¶
func AddMTBSaleTypeHook(hookPoint boil.HookPoint, mtbSaleTypeHook MTBSaleTypeHook)
AddMTBSaleTypeHook registers your hook function for all future operations.
func AddMTBSexHook ¶
func AddMTBSexHook(hookPoint boil.HookPoint, mtbSexHook MTBSexHook)
AddMTBSexHook registers your hook function for all future operations.
func AddMTBTaxDisplayTypeHook ¶
func AddMTBTaxDisplayTypeHook(hookPoint boil.HookPoint, mtbTaxDisplayTypeHook MTBTaxDisplayTypeHook)
AddMTBTaxDisplayTypeHook registers your hook function for all future operations.
func AddMTBTaxTypeHook ¶
func AddMTBTaxTypeHook(hookPoint boil.HookPoint, mtbTaxTypeHook MTBTaxTypeHook)
AddMTBTaxTypeHook registers your hook function for all future operations.
func AddMTBWorkHook ¶
func AddMTBWorkHook(hookPoint boil.HookPoint, mtbWorkHook MTBWorkHook)
AddMTBWorkHook registers your hook function for all future operations.
func AddMigrationVersionHook ¶
func AddMigrationVersionHook(hookPoint boil.HookPoint, migrationVersionHook MigrationVersionHook)
AddMigrationVersionHook registers your hook function for all future operations.
func DTBAuthorityRoleExists ¶
DTBAuthorityRoleExists checks if the DTBAuthorityRole row exists.
func DTBAuthorityRoles ¶
DTBAuthorityRoles retrieves all the records using an executor.
func DTBBaseInfoExists ¶
DTBBaseInfoExists checks if the DTBBaseInfo row exists.
func DTBBaseInfos ¶
DTBBaseInfos retrieves all the records using an executor.
func DTBBlockExists ¶
DTBBlockExists checks if the DTBBlock row exists.
func DTBBlockPositionExists ¶
func DTBBlockPositionExists(ctx context.Context, exec boil.ContextExecutor, section uint, blockID uint, layoutID uint) (bool, error)
DTBBlockPositionExists checks if the DTBBlockPosition row exists.
func DTBBlockPositions ¶
DTBBlockPositions retrieves all the records using an executor.
func DTBCSVExists ¶
DTBCSVExists checks if the DTBCSV row exists.
func DTBCartExists ¶
DTBCartExists checks if the DTBCart row exists.
func DTBCartItemExists ¶
DTBCartItemExists checks if the DTBCartItem row exists.
func DTBCartItems ¶
DTBCartItems retrieves all the records using an executor.
func DTBCategories ¶
DTBCategories retrieves all the records using an executor.
func DTBCategoryExists ¶
DTBCategoryExists checks if the DTBCategory row exists.
func DTBClassCategories ¶
DTBClassCategories retrieves all the records using an executor.
func DTBClassCategoryExists ¶
DTBClassCategoryExists checks if the DTBClassCategory row exists.
func DTBClassNameExists ¶
DTBClassNameExists checks if the DTBClassName row exists.
func DTBClassNames ¶
DTBClassNames retrieves all the records using an executor.
func DTBCustomerAddressExists ¶
func DTBCustomerAddressExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
DTBCustomerAddressExists checks if the DTBCustomerAddress row exists.
func DTBCustomerAddresses ¶
DTBCustomerAddresses retrieves all the records using an executor.
func DTBCustomerExists ¶
DTBCustomerExists checks if the DTBCustomer row exists.
func DTBCustomerFavoriteProductExists ¶
func DTBCustomerFavoriteProductExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
DTBCustomerFavoriteProductExists checks if the DTBCustomerFavoriteProduct row exists.
func DTBCustomerFavoriteProducts ¶
DTBCustomerFavoriteProducts retrieves all the records using an executor.
func DTBCustomers ¶
DTBCustomers retrieves all the records using an executor.
func DTBDeliveries ¶
DTBDeliveries retrieves all the records using an executor.
func DTBDeliveryDurationExists ¶
func DTBDeliveryDurationExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
DTBDeliveryDurationExists checks if the DTBDeliveryDuration row exists.
func DTBDeliveryDurations ¶
DTBDeliveryDurations retrieves all the records using an executor.
func DTBDeliveryExists ¶
DTBDeliveryExists checks if the DTBDelivery row exists.
func DTBDeliveryFeeExists ¶
DTBDeliveryFeeExists checks if the DTBDeliveryFee row exists.
func DTBDeliveryFees ¶
DTBDeliveryFees retrieves all the records using an executor.
func DTBDeliveryTimeExists ¶
DTBDeliveryTimeExists checks if the DTBDeliveryTime row exists.
func DTBDeliveryTimes ¶
DTBDeliveryTimes retrieves all the records using an executor.
func DTBLayoutExists ¶
DTBLayoutExists checks if the DTBLayout row exists.
func DTBLayouts ¶
DTBLayouts retrieves all the records using an executor.
func DTBMailHistories ¶
DTBMailHistories retrieves all the records using an executor.
func DTBMailHistoryExists ¶
DTBMailHistoryExists checks if the DTBMailHistory row exists.
func DTBMailTemplateExists ¶
DTBMailTemplateExists checks if the DTBMailTemplate row exists.
func DTBMailTemplates ¶
DTBMailTemplates retrieves all the records using an executor.
func DTBOrderExists ¶
DTBOrderExists checks if the DTBOrder row exists.
func DTBOrderItemExists ¶
DTBOrderItemExists checks if the DTBOrderItem row exists.
func DTBOrderItems ¶
DTBOrderItems retrieves all the records using an executor.
func DTBOrderPDFExists ¶
DTBOrderPDFExists checks if the DTBOrderPDF row exists.
func DTBOrderPDFS ¶
DTBOrderPDFS retrieves all the records using an executor.
func DTBPageExists ¶
DTBPageExists checks if the DTBPage row exists.
func DTBPageLayoutExists ¶
func DTBPageLayoutExists(ctx context.Context, exec boil.ContextExecutor, pageID uint, layoutID uint) (bool, error)
DTBPageLayoutExists checks if the DTBPageLayout row exists.
func DTBPageLayouts ¶
DTBPageLayouts retrieves all the records using an executor.
func DTBPaymentExists ¶
DTBPaymentExists checks if the DTBPayment row exists.
func DTBPaymentOptionExists ¶
func DTBPaymentOptionExists(ctx context.Context, exec boil.ContextExecutor, deliveryID uint, paymentID uint) (bool, error)
DTBPaymentOptionExists checks if the DTBPaymentOption row exists.
func DTBPaymentOptions ¶
DTBPaymentOptions retrieves all the records using an executor.
func DTBPayments ¶
DTBPayments retrieves all the records using an executor.
func DTBPluginExists ¶
DTBPluginExists checks if the DTBPlugin row exists.
func DTBPlugins ¶
DTBPlugins retrieves all the records using an executor.
func DTBProductCategories ¶
DTBProductCategories retrieves all the records using an executor.
func DTBProductCategoryExists ¶
func DTBProductCategoryExists(ctx context.Context, exec boil.ContextExecutor, productID uint, categoryID uint) (bool, error)
DTBProductCategoryExists checks if the DTBProductCategory row exists.
func DTBProductExists ¶
DTBProductExists checks if the DTBProduct row exists.
func DTBProductImageExists ¶
DTBProductImageExists checks if the DTBProductImage row exists.
func DTBProductImages ¶
DTBProductImages retrieves all the records using an executor.
func DTBProductStockExists ¶
DTBProductStockExists checks if the DTBProductStock row exists.
func DTBProductStocks ¶
DTBProductStocks retrieves all the records using an executor.
func DTBProductTagExists ¶
DTBProductTagExists checks if the DTBProductTag row exists.
func DTBProductTags ¶
DTBProductTags retrieves all the records using an executor.
func DTBProducts ¶
DTBProducts retrieves all the records using an executor.
func DTBShippingExists ¶
DTBShippingExists checks if the DTBShipping row exists.
func DTBShippings ¶
DTBShippings retrieves all the records using an executor.
func DTBTagExists ¶
DTBTagExists checks if the DTBTag row exists.
func DTBTaxRuleExists ¶
DTBTaxRuleExists checks if the DTBTaxRule row exists.
func DTBTaxRules ¶
DTBTaxRules retrieves all the records using an executor.
func DTBTemplateExists ¶
DTBTemplateExists checks if the DTBTemplate row exists.
func DTBTemplates ¶
DTBTemplates retrieves all the records using an executor.
func MTBAuthorities ¶
MTBAuthorities retrieves all the records using an executor.
func MTBAuthorityExists ¶
MTBAuthorityExists checks if the MTBAuthority row exists.
func MTBCSVTypeExists ¶
MTBCSVTypeExists checks if the MTBCSVType row exists.
func MTBCSVTypes ¶
MTBCSVTypes retrieves all the records using an executor.
func MTBCountries ¶
MTBCountries retrieves all the records using an executor.
func MTBCountryExists ¶
MTBCountryExists checks if the MTBCountry row exists.
func MTBCustomerOrderStatusExists ¶
func MTBCustomerOrderStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBCustomerOrderStatusExists checks if the MTBCustomerOrderStatus row exists.
func MTBCustomerOrderStatuses ¶
MTBCustomerOrderStatuses retrieves all the records using an executor.
func MTBCustomerStatusExists ¶
func MTBCustomerStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBCustomerStatusExists checks if the MTBCustomerStatus row exists.
func MTBCustomerStatuses ¶
MTBCustomerStatuses retrieves all the records using an executor.
func MTBDeviceTypeExists ¶
MTBDeviceTypeExists checks if the MTBDeviceType row exists.
func MTBDeviceTypes ¶
MTBDeviceTypes retrieves all the records using an executor.
func MTBJobExists ¶
MTBJobExists checks if the MTBJob row exists.
func MTBOrderItemTypeExists ¶
func MTBOrderItemTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBOrderItemTypeExists checks if the MTBOrderItemType row exists.
func MTBOrderItemTypes ¶
MTBOrderItemTypes retrieves all the records using an executor.
func MTBOrderStatusColorExists ¶
func MTBOrderStatusColorExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBOrderStatusColorExists checks if the MTBOrderStatusColor row exists.
func MTBOrderStatusColors ¶
MTBOrderStatusColors retrieves all the records using an executor.
func MTBOrderStatusExists ¶
MTBOrderStatusExists checks if the MTBOrderStatus row exists.
func MTBOrderStatuses ¶
MTBOrderStatuses retrieves all the records using an executor.
func MTBPageMaxExists ¶
MTBPageMaxExists checks if the MTBPageMax row exists.
func MTBPageMaxes ¶
MTBPageMaxes retrieves all the records using an executor.
func MTBPrefExists ¶
MTBPrefExists checks if the MTBPref row exists.
func MTBProductListMaxExists ¶
func MTBProductListMaxExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBProductListMaxExists checks if the MTBProductListMax row exists.
func MTBProductListMaxes ¶
MTBProductListMaxes retrieves all the records using an executor.
func MTBProductListOrderBies ¶
MTBProductListOrderBies retrieves all the records using an executor.
func MTBProductListOrderByExists ¶
func MTBProductListOrderByExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBProductListOrderByExists checks if the MTBProductListOrderBy row exists.
func MTBProductStatusExists ¶
func MTBProductStatusExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBProductStatusExists checks if the MTBProductStatus row exists.
func MTBProductStatuses ¶
MTBProductStatuses retrieves all the records using an executor.
func MTBRoundingTypeExists ¶
MTBRoundingTypeExists checks if the MTBRoundingType row exists.
func MTBRoundingTypes ¶
MTBRoundingTypes retrieves all the records using an executor.
func MTBSaleTypeExists ¶
MTBSaleTypeExists checks if the MTBSaleType row exists.
func MTBSaleTypes ¶
MTBSaleTypes retrieves all the records using an executor.
func MTBSexExists ¶
MTBSexExists checks if the MTBSex row exists.
func MTBTaxDisplayTypeExists ¶
func MTBTaxDisplayTypeExists(ctx context.Context, exec boil.ContextExecutor, iD uint16) (bool, error)
MTBTaxDisplayTypeExists checks if the MTBTaxDisplayType row exists.
func MTBTaxDisplayTypes ¶
MTBTaxDisplayTypes retrieves all the records using an executor.
func MTBTaxTypeExists ¶
MTBTaxTypeExists checks if the MTBTaxType row exists.
func MTBTaxTypes ¶
MTBTaxTypes retrieves all the records using an executor.
func MTBWorkExists ¶
MTBWorkExists checks if the MTBWork row exists.
func MigrationVersionExists ¶
func MigrationVersionExists(ctx context.Context, exec boil.ContextExecutor, version string) (bool, error)
MigrationVersionExists checks if the MigrationVersion row exists.
func MigrationVersions ¶
MigrationVersions retrieves all the records using an executor.
Types ¶
type DTBAuthorityRole ¶
type DTBAuthorityRole struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` AuthorityID null.Uint16 `boil:"authority_id" json:"authority_id,omitempty" toml:"authority_id" yaml:"authority_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` DenyURL string `boil:"deny_url" json:"deny_url" toml:"deny_url" yaml:"deny_url"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbAuthorityRoleR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbAuthorityRoleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBAuthorityRole is an object representing the database table.
func FindDTBAuthorityRole ¶
func FindDTBAuthorityRole(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBAuthorityRole, error)
FindDTBAuthorityRole retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBAuthorityRole) Authority ¶
func (o *DTBAuthorityRole) Authority(mods ...qm.QueryMod) mtbAuthorityQuery
Authority pointed to by the foreign key.
func (*DTBAuthorityRole) Delete ¶
func (o *DTBAuthorityRole) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBAuthorityRole record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBAuthorityRole) Insert ¶
func (o *DTBAuthorityRole) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBAuthorityRole) Reload ¶
func (o *DTBAuthorityRole) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBAuthorityRole) RemoveAuthority ¶
func (o *DTBAuthorityRole) RemoveAuthority(ctx context.Context, exec boil.ContextExecutor, related *MTBAuthority) error
RemoveAuthority relationship. Sets o.R.Authority to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBAuthorityRole) SetAuthority ¶
func (o *DTBAuthorityRole) SetAuthority(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBAuthority) error
SetAuthority of the dtbAuthorityRole to the related item. Sets o.R.Authority to related. Adds o to related.R.AuthorityDTBAuthorityRoles.
func (*DTBAuthorityRole) Update ¶
func (o *DTBAuthorityRole) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBAuthorityRole. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBAuthorityRole) Upsert ¶
func (o *DTBAuthorityRole) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBAuthorityRoleHook ¶
type DTBAuthorityRoleHook func(context.Context, boil.ContextExecutor, *DTBAuthorityRole) error
DTBAuthorityRoleHook is the signature for custom DTBAuthorityRole hook methods
type DTBAuthorityRoleSlice ¶
type DTBAuthorityRoleSlice []*DTBAuthorityRole
DTBAuthorityRoleSlice is an alias for a slice of pointers to DTBAuthorityRole. This should generally be used opposed to []DTBAuthorityRole.
func (DTBAuthorityRoleSlice) DeleteAll ¶
func (o DTBAuthorityRoleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBAuthorityRoleSlice) ReloadAll ¶
func (o *DTBAuthorityRoleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBAuthorityRoleSlice) UpdateAll ¶
func (o DTBAuthorityRoleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBBaseInfo ¶
type DTBBaseInfo struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` CompanyName null.String `boil:"company_name" json:"company_name,omitempty" toml:"company_name" yaml:"company_name,omitempty"` CompanyKana null.String `boil:"company_kana" json:"company_kana,omitempty" toml:"company_kana" yaml:"company_kana,omitempty"` PostalCode null.String `boil:"postal_code" json:"postal_code,omitempty" toml:"postal_code" yaml:"postal_code,omitempty"` Addr01 null.String `boil:"addr01" json:"addr01,omitempty" toml:"addr01" yaml:"addr01,omitempty"` Addr02 null.String `boil:"addr02" json:"addr02,omitempty" toml:"addr02" yaml:"addr02,omitempty"` PhoneNumber null.String `boil:"phone_number" json:"phone_number,omitempty" toml:"phone_number" yaml:"phone_number,omitempty"` BusinessHour null.String `boil:"business_hour" json:"business_hour,omitempty" toml:"business_hour" yaml:"business_hour,omitempty"` Email01 null.String `boil:"email01" json:"email01,omitempty" toml:"email01" yaml:"email01,omitempty"` Email02 null.String `boil:"email02" json:"email02,omitempty" toml:"email02" yaml:"email02,omitempty"` Email03 null.String `boil:"email03" json:"email03,omitempty" toml:"email03" yaml:"email03,omitempty"` Email04 null.String `boil:"email04" json:"email04,omitempty" toml:"email04" yaml:"email04,omitempty"` ShopName null.String `boil:"shop_name" json:"shop_name,omitempty" toml:"shop_name" yaml:"shop_name,omitempty"` ShopKana null.String `boil:"shop_kana" json:"shop_kana,omitempty" toml:"shop_kana" yaml:"shop_kana,omitempty"` ShopNameEng null.String `boil:"shop_name_eng" json:"shop_name_eng,omitempty" toml:"shop_name_eng" yaml:"shop_name_eng,omitempty"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` GoodTraded null.String `boil:"good_traded" json:"good_traded,omitempty" toml:"good_traded" yaml:"good_traded,omitempty"` Message null.String `boil:"message" json:"message,omitempty" toml:"message" yaml:"message,omitempty"` DeliveryFreeAmount types.NullDecimal `` /* 131-byte string literal not displayed */ DeliveryFreeQuantity null.Uint `` /* 139-byte string literal not displayed */ OptionMypageOrderStatusDisplay bool `` /* 167-byte string literal not displayed */ OptionNostockHidden bool `boil:"option_nostock_hidden" json:"option_nostock_hidden" toml:"option_nostock_hidden" yaml:"option_nostock_hidden"` OptionFavoriteProduct bool `boil:"option_favorite_product" json:"option_favorite_product" toml:"option_favorite_product" yaml:"option_favorite_product"` OptionProductDeliveryFee bool `` /* 139-byte string literal not displayed */ OptionProductTaxRule bool `boil:"option_product_tax_rule" json:"option_product_tax_rule" toml:"option_product_tax_rule" yaml:"option_product_tax_rule"` OptionCustomerActivate bool `` /* 127-byte string literal not displayed */ OptionRememberMe bool `boil:"option_remember_me" json:"option_remember_me" toml:"option_remember_me" yaml:"option_remember_me"` AuthenticationKey null.String `boil:"authentication_key" json:"authentication_key,omitempty" toml:"authentication_key" yaml:"authentication_key,omitempty"` PHPPath null.String `boil:"php_path" json:"php_path,omitempty" toml:"php_path" yaml:"php_path,omitempty"` OptionPoint bool `boil:"option_point" json:"option_point" toml:"option_point" yaml:"option_point"` BasicPointRate types.NullDecimal `boil:"basic_point_rate" json:"basic_point_rate,omitempty" toml:"basic_point_rate" yaml:"basic_point_rate,omitempty"` PointConversionRate types.NullDecimal `` /* 135-byte string literal not displayed */ DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbBaseInfoR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbBaseInfoL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBBaseInfo is an object representing the database table.
func FindDTBBaseInfo ¶
func FindDTBBaseInfo(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBBaseInfo, error)
FindDTBBaseInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBBaseInfo) Country ¶
func (o *DTBBaseInfo) Country(mods ...qm.QueryMod) mtbCountryQuery
Country pointed to by the foreign key.
func (*DTBBaseInfo) Delete ¶
func (o *DTBBaseInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBBaseInfo record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBBaseInfo) Insert ¶
func (o *DTBBaseInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBBaseInfo) Pref ¶
func (o *DTBBaseInfo) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBBaseInfo) Reload ¶
func (o *DTBBaseInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBBaseInfo) RemoveCountry ¶
func (o *DTBBaseInfo) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBBaseInfo) RemovePref ¶
func (o *DTBBaseInfo) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBBaseInfo) SetCountry ¶
func (o *DTBBaseInfo) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbBaseInfo to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBBaseInfos.
func (*DTBBaseInfo) SetPref ¶
func (o *DTBBaseInfo) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbBaseInfo to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBBaseInfos.
func (*DTBBaseInfo) Update ¶
func (o *DTBBaseInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBBaseInfo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBBaseInfo) Upsert ¶
func (o *DTBBaseInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBBaseInfoHook ¶
type DTBBaseInfoHook func(context.Context, boil.ContextExecutor, *DTBBaseInfo) error
DTBBaseInfoHook is the signature for custom DTBBaseInfo hook methods
type DTBBaseInfoSlice ¶
type DTBBaseInfoSlice []*DTBBaseInfo
DTBBaseInfoSlice is an alias for a slice of pointers to DTBBaseInfo. This should generally be used opposed to []DTBBaseInfo.
func (DTBBaseInfoSlice) DeleteAll ¶
func (o DTBBaseInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBBaseInfoSlice) ReloadAll ¶
func (o *DTBBaseInfoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBBaseInfoSlice) UpdateAll ¶
func (o DTBBaseInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBBlock ¶
type DTBBlock struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` DeviceTypeID null.Uint16 `boil:"device_type_id" json:"device_type_id,omitempty" toml:"device_type_id" yaml:"device_type_id,omitempty"` BlockName null.String `boil:"block_name" json:"block_name,omitempty" toml:"block_name" yaml:"block_name,omitempty"` FileName string `boil:"file_name" json:"file_name" toml:"file_name" yaml:"file_name"` UseController bool `boil:"use_controller" json:"use_controller" toml:"use_controller" yaml:"use_controller"` Deletable bool `boil:"deletable" json:"deletable" toml:"deletable" yaml:"deletable"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbBlockR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbBlockL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBBlock is an object representing the database table.
func FindDTBBlock ¶
func FindDTBBlock(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBBlock, error)
FindDTBBlock retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBBlock) AddBlockDTBBlockPositions ¶
func (o *DTBBlock) AddBlockDTBBlockPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBlockPosition) error
AddBlockDTBBlockPositions adds the given related objects to the existing relationships of the dtb_block, optionally inserting them as new records. Appends related to o.R.BlockDTBBlockPositions. Sets related.R.Block appropriately.
func (*DTBBlock) BlockDTBBlockPositions ¶
BlockDTBBlockPositions retrieves all the dtb_block_position's DTBBlockPositions with an executor via block_id column.
func (*DTBBlock) Delete ¶
Delete deletes a single DTBBlock record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBBlock) DeviceType ¶
DeviceType pointed to by the foreign key.
func (*DTBBlock) Insert ¶
func (o *DTBBlock) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBBlock) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBBlock) RemoveDeviceType ¶
func (o *DTBBlock) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
RemoveDeviceType relationship. Sets o.R.DeviceType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBBlock) SetDeviceType ¶
func (o *DTBBlock) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBDeviceType) error
SetDeviceType of the dtbBlock to the related item. Sets o.R.DeviceType to related. Adds o to related.R.DeviceTypeDTBBlocks.
func (*DTBBlock) Update ¶
func (o *DTBBlock) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBBlock. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBBlock) Upsert ¶
func (o *DTBBlock) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBBlockHook ¶
DTBBlockHook is the signature for custom DTBBlock hook methods
type DTBBlockPosition ¶
type DTBBlockPosition struct { Section uint `boil:"section" json:"section" toml:"section" yaml:"section"` BlockID uint `boil:"block_id" json:"block_id" toml:"block_id" yaml:"block_id"` LayoutID uint `boil:"layout_id" json:"layout_id" toml:"layout_id" yaml:"layout_id"` BlockRow null.Uint `boil:"block_row" json:"block_row,omitempty" toml:"block_row" yaml:"block_row,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbBlockPositionR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbBlockPositionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBBlockPosition is an object representing the database table.
func FindDTBBlockPosition ¶
func FindDTBBlockPosition(ctx context.Context, exec boil.ContextExecutor, section uint, blockID uint, layoutID uint, selectCols ...string) (*DTBBlockPosition, error)
FindDTBBlockPosition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBBlockPosition) Block ¶
func (o *DTBBlockPosition) Block(mods ...qm.QueryMod) dtbBlockQuery
Block pointed to by the foreign key.
func (*DTBBlockPosition) Delete ¶
func (o *DTBBlockPosition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBBlockPosition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBBlockPosition) Insert ¶
func (o *DTBBlockPosition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBBlockPosition) Layout ¶
func (o *DTBBlockPosition) Layout(mods ...qm.QueryMod) dtbLayoutQuery
Layout pointed to by the foreign key.
func (*DTBBlockPosition) Reload ¶
func (o *DTBBlockPosition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBBlockPosition) SetBlock ¶
func (o *DTBBlockPosition) SetBlock(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBBlock) error
SetBlock of the dtbBlockPosition to the related item. Sets o.R.Block to related. Adds o to related.R.BlockDTBBlockPositions.
func (*DTBBlockPosition) SetLayout ¶
func (o *DTBBlockPosition) SetLayout(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBLayout) error
SetLayout of the dtbBlockPosition to the related item. Sets o.R.Layout to related. Adds o to related.R.LayoutDTBBlockPositions.
func (*DTBBlockPosition) Update ¶
func (o *DTBBlockPosition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBBlockPosition. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBBlockPosition) Upsert ¶
func (o *DTBBlockPosition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBBlockPositionHook ¶
type DTBBlockPositionHook func(context.Context, boil.ContextExecutor, *DTBBlockPosition) error
DTBBlockPositionHook is the signature for custom DTBBlockPosition hook methods
type DTBBlockPositionSlice ¶
type DTBBlockPositionSlice []*DTBBlockPosition
DTBBlockPositionSlice is an alias for a slice of pointers to DTBBlockPosition. This should generally be used opposed to []DTBBlockPosition.
func (DTBBlockPositionSlice) DeleteAll ¶
func (o DTBBlockPositionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBBlockPositionSlice) ReloadAll ¶
func (o *DTBBlockPositionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBBlockPositionSlice) UpdateAll ¶
func (o DTBBlockPositionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBBlockSlice ¶
type DTBBlockSlice []*DTBBlock
DTBBlockSlice is an alias for a slice of pointers to DTBBlock. This should generally be used opposed to []DTBBlock.
func (DTBBlockSlice) DeleteAll ¶
func (o DTBBlockSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBBlockSlice) ReloadAll ¶
func (o *DTBBlockSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBBlockSlice) UpdateAll ¶
func (o DTBBlockSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCSV ¶
type DTBCSV struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CSVTypeID null.Uint16 `boil:"csv_type_id" json:"csv_type_id,omitempty" toml:"csv_type_id" yaml:"csv_type_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` EntityName string `boil:"entity_name" json:"entity_name" toml:"entity_name" yaml:"entity_name"` FieldName string `boil:"field_name" json:"field_name" toml:"field_name" yaml:"field_name"` ReferenceFieldName null.String `` /* 131-byte string literal not displayed */ DispName string `boil:"disp_name" json:"disp_name" toml:"disp_name" yaml:"disp_name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` Enabled bool `boil:"enabled" json:"enabled" toml:"enabled" yaml:"enabled"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCSVR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCSVL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCSV is an object representing the database table.
func FindDTBCSV ¶
func FindDTBCSV(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCSV, error)
FindDTBCSV retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCSV) Delete ¶
Delete deletes a single DTBCSV record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCSV) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCSV) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCSV) RemoveCSVType ¶
func (o *DTBCSV) RemoveCSVType(ctx context.Context, exec boil.ContextExecutor, related *MTBCSVType) error
RemoveCSVType relationship. Sets o.R.CSVType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCSV) SetCSVType ¶
func (o *DTBCSV) SetCSVType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCSVType) error
SetCSVType of the dtbCSV to the related item. Sets o.R.CSVType to related. Adds o to related.R.CSVTypeDTBCSVS.
func (*DTBCSV) Update ¶
func (o *DTBCSV) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCSV. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCSV) Upsert ¶
func (o *DTBCSV) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCSVHook ¶
DTBCSVHook is the signature for custom DTBCSV hook methods
type DTBCSVSlice ¶
type DTBCSVSlice []*DTBCSV
DTBCSVSlice is an alias for a slice of pointers to DTBCSV. This should generally be used opposed to []DTBCSV.
func (DTBCSVSlice) DeleteAll ¶
func (o DTBCSVSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCSVSlice) ReloadAll ¶
func (o *DTBCSVSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCSVSlice) UpdateAll ¶
func (o DTBCSVSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCart ¶
type DTBCart struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CustomerID null.Uint `boil:"customer_id" json:"customer_id,omitempty" toml:"customer_id" yaml:"customer_id,omitempty"` CartKey null.String `boil:"cart_key" json:"cart_key,omitempty" toml:"cart_key" yaml:"cart_key,omitempty"` PreOrderID null.String `boil:"pre_order_id" json:"pre_order_id,omitempty" toml:"pre_order_id" yaml:"pre_order_id,omitempty"` TotalPrice types.Decimal `boil:"total_price" json:"total_price" toml:"total_price" yaml:"total_price"` DeliveryFeeTotal types.Decimal `boil:"delivery_fee_total" json:"delivery_fee_total" toml:"delivery_fee_total" yaml:"delivery_fee_total"` SortNo null.Uint16 `boil:"sort_no" json:"sort_no,omitempty" toml:"sort_no" yaml:"sort_no,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` AddPoint types.Decimal `boil:"add_point" json:"add_point" toml:"add_point" yaml:"add_point"` UsePoint types.Decimal `boil:"use_point" json:"use_point" toml:"use_point" yaml:"use_point"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCartR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCartL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCart is an object representing the database table.
func FindDTBCart ¶
func FindDTBCart(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCart, error)
FindDTBCart retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCart) AddCartDTBCartItems ¶
func (o *DTBCart) AddCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCartItem) error
AddCartDTBCartItems adds the given related objects to the existing relationships of the dtb_cart, optionally inserting them as new records. Appends related to o.R.CartDTBCartItems. Sets related.R.Cart appropriately.
func (*DTBCart) CartDTBCartItems ¶
CartDTBCartItems retrieves all the dtb_cart_item's DTBCartItems with an executor via cart_id column.
func (*DTBCart) Delete ¶
Delete deletes a single DTBCart record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCart) Insert ¶
func (o *DTBCart) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCart) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCart) RemoveCartDTBCartItems ¶
func (o *DTBCart) RemoveCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCartItem) error
RemoveCartDTBCartItems relationships from objects passed in. Removes related items from R.CartDTBCartItems (uses pointer comparison, removal does not keep order) Sets related.R.Cart.
func (*DTBCart) RemoveCustomer ¶
func (o *DTBCart) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
RemoveCustomer relationship. Sets o.R.Customer to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCart) SetCartDTBCartItems ¶
func (o *DTBCart) SetCartDTBCartItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCartItem) error
SetCartDTBCartItems removes all previously related items of the dtb_cart replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Cart's CartDTBCartItems accordingly. Replaces o.R.CartDTBCartItems with related. Sets related.R.Cart's CartDTBCartItems accordingly.
func (*DTBCart) SetCustomer ¶
func (o *DTBCart) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCustomer) error
SetCustomer of the dtbCart to the related item. Sets o.R.Customer to related. Adds o to related.R.CustomerDTBCarts.
func (*DTBCart) Update ¶
func (o *DTBCart) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCart. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCart) Upsert ¶
func (o *DTBCart) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCartHook ¶
DTBCartHook is the signature for custom DTBCart hook methods
type DTBCartItem ¶
type DTBCartItem struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ProductClassID null.Uint `boil:"product_class_id" json:"product_class_id,omitempty" toml:"product_class_id" yaml:"product_class_id,omitempty"` CartID null.Uint `boil:"cart_id" json:"cart_id,omitempty" toml:"cart_id" yaml:"cart_id,omitempty"` Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` PointRate types.NullDecimal `boil:"point_rate" json:"point_rate,omitempty" toml:"point_rate" yaml:"point_rate,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCartItemR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCartItemL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCartItem is an object representing the database table.
func FindDTBCartItem ¶
func FindDTBCartItem(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCartItem, error)
FindDTBCartItem retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCartItem) Cart ¶
func (o *DTBCartItem) Cart(mods ...qm.QueryMod) dtbCartQuery
Cart pointed to by the foreign key.
func (*DTBCartItem) Delete ¶
func (o *DTBCartItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBCartItem record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCartItem) Insert ¶
func (o *DTBCartItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCartItem) Reload ¶
func (o *DTBCartItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCartItem) RemoveCart ¶
func (o *DTBCartItem) RemoveCart(ctx context.Context, exec boil.ContextExecutor, related *DTBCart) error
RemoveCart relationship. Sets o.R.Cart to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCartItem) SetCart ¶
func (o *DTBCartItem) SetCart(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCart) error
SetCart of the dtbCartItem to the related item. Sets o.R.Cart to related. Adds o to related.R.CartDTBCartItems.
func (*DTBCartItem) Update ¶
func (o *DTBCartItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCartItem. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCartItem) Upsert ¶
func (o *DTBCartItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCartItemHook ¶
type DTBCartItemHook func(context.Context, boil.ContextExecutor, *DTBCartItem) error
DTBCartItemHook is the signature for custom DTBCartItem hook methods
type DTBCartItemSlice ¶
type DTBCartItemSlice []*DTBCartItem
DTBCartItemSlice is an alias for a slice of pointers to DTBCartItem. This should generally be used opposed to []DTBCartItem.
func (DTBCartItemSlice) DeleteAll ¶
func (o DTBCartItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCartItemSlice) ReloadAll ¶
func (o *DTBCartItemSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCartItemSlice) UpdateAll ¶
func (o DTBCartItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCartSlice ¶
type DTBCartSlice []*DTBCart
DTBCartSlice is an alias for a slice of pointers to DTBCart. This should generally be used opposed to []DTBCart.
func (DTBCartSlice) DeleteAll ¶
func (o DTBCartSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCartSlice) ReloadAll ¶
func (o *DTBCartSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCartSlice) UpdateAll ¶
func (o DTBCartSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCategory ¶
type DTBCategory struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ParentCategoryID null.Uint `boil:"parent_category_id" json:"parent_category_id,omitempty" toml:"parent_category_id" yaml:"parent_category_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` CategoryName string `boil:"category_name" json:"category_name" toml:"category_name" yaml:"category_name"` Hierarchy uint `boil:"hierarchy" json:"hierarchy" toml:"hierarchy" yaml:"hierarchy"` SortNo int `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCategoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCategoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCategory is an object representing the database table.
func FindDTBCategory ¶
func FindDTBCategory(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCategory, error)
FindDTBCategory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCategory) AddCategoryDTBProductCategories ¶
func (o *DTBCategory) AddCategoryDTBProductCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductCategory) error
AddCategoryDTBProductCategories adds the given related objects to the existing relationships of the dtb_category, optionally inserting them as new records. Appends related to o.R.CategoryDTBProductCategories. Sets related.R.Category appropriately.
func (*DTBCategory) AddParentCategoryDTBCategories ¶
func (o *DTBCategory) AddParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCategory) error
AddParentCategoryDTBCategories adds the given related objects to the existing relationships of the dtb_category, optionally inserting them as new records. Appends related to o.R.ParentCategoryDTBCategories. Sets related.R.ParentCategory appropriately.
func (*DTBCategory) CategoryDTBProductCategories ¶
func (o *DTBCategory) CategoryDTBProductCategories(mods ...qm.QueryMod) dtbProductCategoryQuery
CategoryDTBProductCategories retrieves all the dtb_product_category's DTBProductCategories with an executor via category_id column.
func (*DTBCategory) Delete ¶
func (o *DTBCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBCategory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCategory) Insert ¶
func (o *DTBCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCategory) ParentCategory ¶
func (o *DTBCategory) ParentCategory(mods ...qm.QueryMod) dtbCategoryQuery
ParentCategory pointed to by the foreign key.
func (*DTBCategory) ParentCategoryDTBCategories ¶
func (o *DTBCategory) ParentCategoryDTBCategories(mods ...qm.QueryMod) dtbCategoryQuery
ParentCategoryDTBCategories retrieves all the dtb_category's DTBCategories with an executor via parent_category_id column.
func (*DTBCategory) Reload ¶
func (o *DTBCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCategory) RemoveParentCategory ¶
func (o *DTBCategory) RemoveParentCategory(ctx context.Context, exec boil.ContextExecutor, related *DTBCategory) error
RemoveParentCategory relationship. Sets o.R.ParentCategory to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCategory) RemoveParentCategoryDTBCategories ¶
func (o *DTBCategory) RemoveParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCategory) error
RemoveParentCategoryDTBCategories relationships from objects passed in. Removes related items from R.ParentCategoryDTBCategories (uses pointer comparison, removal does not keep order) Sets related.R.ParentCategory.
func (*DTBCategory) SetParentCategory ¶
func (o *DTBCategory) SetParentCategory(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCategory) error
SetParentCategory of the dtbCategory to the related item. Sets o.R.ParentCategory to related. Adds o to related.R.ParentCategoryDTBCategories.
func (*DTBCategory) SetParentCategoryDTBCategories ¶
func (o *DTBCategory) SetParentCategoryDTBCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCategory) error
SetParentCategoryDTBCategories removes all previously related items of the dtb_category replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentCategory's ParentCategoryDTBCategories accordingly. Replaces o.R.ParentCategoryDTBCategories with related. Sets related.R.ParentCategory's ParentCategoryDTBCategories accordingly.
func (*DTBCategory) Update ¶
func (o *DTBCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCategory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCategory) Upsert ¶
func (o *DTBCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCategoryHook ¶
type DTBCategoryHook func(context.Context, boil.ContextExecutor, *DTBCategory) error
DTBCategoryHook is the signature for custom DTBCategory hook methods
type DTBCategorySlice ¶
type DTBCategorySlice []*DTBCategory
DTBCategorySlice is an alias for a slice of pointers to DTBCategory. This should generally be used opposed to []DTBCategory.
func (DTBCategorySlice) DeleteAll ¶
func (o DTBCategorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCategorySlice) ReloadAll ¶
func (o *DTBCategorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCategorySlice) UpdateAll ¶
func (o DTBCategorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBClassCategory ¶
type DTBClassCategory struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ClassNameID null.Uint `boil:"class_name_id" json:"class_name_id,omitempty" toml:"class_name_id" yaml:"class_name_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` BackendName null.String `boil:"backend_name" json:"backend_name,omitempty" toml:"backend_name" yaml:"backend_name,omitempty"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` Visible bool `boil:"visible" json:"visible" toml:"visible" yaml:"visible"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbClassCategoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbClassCategoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBClassCategory is an object representing the database table.
func FindDTBClassCategory ¶
func FindDTBClassCategory(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBClassCategory, error)
FindDTBClassCategory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBClassCategory) ClassName ¶
func (o *DTBClassCategory) ClassName(mods ...qm.QueryMod) dtbClassNameQuery
ClassName pointed to by the foreign key.
func (*DTBClassCategory) Delete ¶
func (o *DTBClassCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBClassCategory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBClassCategory) Insert ¶
func (o *DTBClassCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBClassCategory) Reload ¶
func (o *DTBClassCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBClassCategory) RemoveClassName ¶
func (o *DTBClassCategory) RemoveClassName(ctx context.Context, exec boil.ContextExecutor, related *DTBClassName) error
RemoveClassName relationship. Sets o.R.ClassName to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBClassCategory) SetClassName ¶
func (o *DTBClassCategory) SetClassName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBClassName) error
SetClassName of the dtbClassCategory to the related item. Sets o.R.ClassName to related. Adds o to related.R.ClassNameDTBClassCategories.
func (*DTBClassCategory) Update ¶
func (o *DTBClassCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBClassCategory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBClassCategory) Upsert ¶
func (o *DTBClassCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBClassCategoryHook ¶
type DTBClassCategoryHook func(context.Context, boil.ContextExecutor, *DTBClassCategory) error
DTBClassCategoryHook is the signature for custom DTBClassCategory hook methods
type DTBClassCategorySlice ¶
type DTBClassCategorySlice []*DTBClassCategory
DTBClassCategorySlice is an alias for a slice of pointers to DTBClassCategory. This should generally be used opposed to []DTBClassCategory.
func (DTBClassCategorySlice) DeleteAll ¶
func (o DTBClassCategorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBClassCategorySlice) ReloadAll ¶
func (o *DTBClassCategorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBClassCategorySlice) UpdateAll ¶
func (o DTBClassCategorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBClassName ¶
type DTBClassName struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` BackendName null.String `boil:"backend_name" json:"backend_name,omitempty" toml:"backend_name" yaml:"backend_name,omitempty"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbClassNameR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbClassNameL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBClassName is an object representing the database table.
func FindDTBClassName ¶
func FindDTBClassName(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBClassName, error)
FindDTBClassName retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBClassName) AddClassNameDTBClassCategories ¶
func (o *DTBClassName) AddClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBClassCategory) error
AddClassNameDTBClassCategories adds the given related objects to the existing relationships of the dtb_class_name, optionally inserting them as new records. Appends related to o.R.ClassNameDTBClassCategories. Sets related.R.ClassName appropriately.
func (*DTBClassName) ClassNameDTBClassCategories ¶
func (o *DTBClassName) ClassNameDTBClassCategories(mods ...qm.QueryMod) dtbClassCategoryQuery
ClassNameDTBClassCategories retrieves all the dtb_class_category's DTBClassCategories with an executor via class_name_id column.
func (*DTBClassName) Delete ¶
func (o *DTBClassName) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBClassName record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBClassName) Insert ¶
func (o *DTBClassName) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBClassName) Reload ¶
func (o *DTBClassName) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBClassName) RemoveClassNameDTBClassCategories ¶
func (o *DTBClassName) RemoveClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBClassCategory) error
RemoveClassNameDTBClassCategories relationships from objects passed in. Removes related items from R.ClassNameDTBClassCategories (uses pointer comparison, removal does not keep order) Sets related.R.ClassName.
func (*DTBClassName) SetClassNameDTBClassCategories ¶
func (o *DTBClassName) SetClassNameDTBClassCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBClassCategory) error
SetClassNameDTBClassCategories removes all previously related items of the dtb_class_name replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ClassName's ClassNameDTBClassCategories accordingly. Replaces o.R.ClassNameDTBClassCategories with related. Sets related.R.ClassName's ClassNameDTBClassCategories accordingly.
func (*DTBClassName) Update ¶
func (o *DTBClassName) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBClassName. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBClassName) Upsert ¶
func (o *DTBClassName) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBClassNameHook ¶
type DTBClassNameHook func(context.Context, boil.ContextExecutor, *DTBClassName) error
DTBClassNameHook is the signature for custom DTBClassName hook methods
type DTBClassNameSlice ¶
type DTBClassNameSlice []*DTBClassName
DTBClassNameSlice is an alias for a slice of pointers to DTBClassName. This should generally be used opposed to []DTBClassName.
func (DTBClassNameSlice) DeleteAll ¶
func (o DTBClassNameSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBClassNameSlice) ReloadAll ¶
func (o *DTBClassNameSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBClassNameSlice) UpdateAll ¶
func (o DTBClassNameSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCustomer ¶
type DTBCustomer struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CustomerStatusID null.Uint16 `boil:"customer_status_id" json:"customer_status_id,omitempty" toml:"customer_status_id" yaml:"customer_status_id,omitempty"` SexID null.Uint16 `boil:"sex_id" json:"sex_id,omitempty" toml:"sex_id" yaml:"sex_id,omitempty"` JobID null.Uint16 `boil:"job_id" json:"job_id,omitempty" toml:"job_id" yaml:"job_id,omitempty"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` Name01 string `boil:"name01" json:"name01" toml:"name01" yaml:"name01"` Name02 string `boil:"name02" json:"name02" toml:"name02" yaml:"name02"` Kana01 null.String `boil:"kana01" json:"kana01,omitempty" toml:"kana01" yaml:"kana01,omitempty"` Kana02 null.String `boil:"kana02" json:"kana02,omitempty" toml:"kana02" yaml:"kana02,omitempty"` CompanyName null.String `boil:"company_name" json:"company_name,omitempty" toml:"company_name" yaml:"company_name,omitempty"` PostalCode null.String `boil:"postal_code" json:"postal_code,omitempty" toml:"postal_code" yaml:"postal_code,omitempty"` Addr01 null.String `boil:"addr01" json:"addr01,omitempty" toml:"addr01" yaml:"addr01,omitempty"` Addr02 null.String `boil:"addr02" json:"addr02,omitempty" toml:"addr02" yaml:"addr02,omitempty"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` PhoneNumber null.String `boil:"phone_number" json:"phone_number,omitempty" toml:"phone_number" yaml:"phone_number,omitempty"` Birth null.Time `boil:"birth" json:"birth,omitempty" toml:"birth" yaml:"birth,omitempty"` Password string `boil:"password" json:"password" toml:"password" yaml:"password"` Salt null.String `boil:"salt" json:"salt,omitempty" toml:"salt" yaml:"salt,omitempty"` SecretKey string `boil:"secret_key" json:"secret_key" toml:"secret_key" yaml:"secret_key"` FirstBuyDate null.Time `boil:"first_buy_date" json:"first_buy_date,omitempty" toml:"first_buy_date" yaml:"first_buy_date,omitempty"` LastBuyDate null.Time `boil:"last_buy_date" json:"last_buy_date,omitempty" toml:"last_buy_date" yaml:"last_buy_date,omitempty"` BuyTimes types.NullDecimal `boil:"buy_times" json:"buy_times,omitempty" toml:"buy_times" yaml:"buy_times,omitempty"` BuyTotal types.NullDecimal `boil:"buy_total" json:"buy_total,omitempty" toml:"buy_total" yaml:"buy_total,omitempty"` Note null.String `boil:"note" json:"note,omitempty" toml:"note" yaml:"note,omitempty"` ResetKey null.String `boil:"reset_key" json:"reset_key,omitempty" toml:"reset_key" yaml:"reset_key,omitempty"` ResetExpire null.Time `boil:"reset_expire" json:"reset_expire,omitempty" toml:"reset_expire" yaml:"reset_expire,omitempty"` Point types.Decimal `boil:"point" json:"point" toml:"point" yaml:"point"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCustomerR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCustomerL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCustomer is an object representing the database table.
func FindDTBCustomer ¶
func FindDTBCustomer(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCustomer, error)
FindDTBCustomer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCustomer) AddCustomerDTBCarts ¶
func (o *DTBCustomer) AddCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCart) error
AddCustomerDTBCarts adds the given related objects to the existing relationships of the dtb_customer, optionally inserting them as new records. Appends related to o.R.CustomerDTBCarts. Sets related.R.Customer appropriately.
func (*DTBCustomer) AddCustomerDTBCustomerAddresses ¶
func (o *DTBCustomer) AddCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
AddCustomerDTBCustomerAddresses adds the given related objects to the existing relationships of the dtb_customer, optionally inserting them as new records. Appends related to o.R.CustomerDTBCustomerAddresses. Sets related.R.Customer appropriately.
func (*DTBCustomer) AddCustomerDTBCustomerFavoriteProducts ¶
func (o *DTBCustomer) AddCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerFavoriteProduct) error
AddCustomerDTBCustomerFavoriteProducts adds the given related objects to the existing relationships of the dtb_customer, optionally inserting them as new records. Appends related to o.R.CustomerDTBCustomerFavoriteProducts. Sets related.R.Customer appropriately.
func (*DTBCustomer) AddCustomerDTBOrders ¶
func (o *DTBCustomer) AddCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddCustomerDTBOrders adds the given related objects to the existing relationships of the dtb_customer, optionally inserting them as new records. Appends related to o.R.CustomerDTBOrders. Sets related.R.Customer appropriately.
func (*DTBCustomer) Country ¶
func (o *DTBCustomer) Country(mods ...qm.QueryMod) mtbCountryQuery
Country pointed to by the foreign key.
func (*DTBCustomer) CustomerDTBCarts ¶
func (o *DTBCustomer) CustomerDTBCarts(mods ...qm.QueryMod) dtbCartQuery
CustomerDTBCarts retrieves all the dtb_cart's DTBCarts with an executor via customer_id column.
func (*DTBCustomer) CustomerDTBCustomerAddresses ¶
func (o *DTBCustomer) CustomerDTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
CustomerDTBCustomerAddresses retrieves all the dtb_customer_address's DTBCustomerAddresses with an executor via customer_id column.
func (*DTBCustomer) CustomerDTBCustomerFavoriteProducts ¶
func (o *DTBCustomer) CustomerDTBCustomerFavoriteProducts(mods ...qm.QueryMod) dtbCustomerFavoriteProductQuery
CustomerDTBCustomerFavoriteProducts retrieves all the dtb_customer_favorite_product's DTBCustomerFavoriteProducts with an executor via customer_id column.
func (*DTBCustomer) CustomerDTBOrders ¶
func (o *DTBCustomer) CustomerDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
CustomerDTBOrders retrieves all the dtb_order's DTBOrders with an executor via customer_id column.
func (*DTBCustomer) CustomerStatus ¶
func (o *DTBCustomer) CustomerStatus(mods ...qm.QueryMod) mtbCustomerStatusQuery
CustomerStatus pointed to by the foreign key.
func (*DTBCustomer) Delete ¶
func (o *DTBCustomer) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBCustomer record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCustomer) Insert ¶
func (o *DTBCustomer) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCustomer) Job ¶
func (o *DTBCustomer) Job(mods ...qm.QueryMod) mtbJobQuery
Job pointed to by the foreign key.
func (*DTBCustomer) Pref ¶
func (o *DTBCustomer) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBCustomer) Reload ¶
func (o *DTBCustomer) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCustomer) RemoveCountry ¶
func (o *DTBCustomer) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomer) RemoveCustomerDTBCarts ¶
func (o *DTBCustomer) RemoveCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCart) error
RemoveCustomerDTBCarts relationships from objects passed in. Removes related items from R.CustomerDTBCarts (uses pointer comparison, removal does not keep order) Sets related.R.Customer.
func (*DTBCustomer) RemoveCustomerDTBCustomerAddresses ¶
func (o *DTBCustomer) RemoveCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
RemoveCustomerDTBCustomerAddresses relationships from objects passed in. Removes related items from R.CustomerDTBCustomerAddresses (uses pointer comparison, removal does not keep order) Sets related.R.Customer.
func (*DTBCustomer) RemoveCustomerDTBCustomerFavoriteProducts ¶
func (o *DTBCustomer) RemoveCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerFavoriteProduct) error
RemoveCustomerDTBCustomerFavoriteProducts relationships from objects passed in. Removes related items from R.CustomerDTBCustomerFavoriteProducts (uses pointer comparison, removal does not keep order) Sets related.R.Customer.
func (*DTBCustomer) RemoveCustomerDTBOrders ¶
func (o *DTBCustomer) RemoveCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemoveCustomerDTBOrders relationships from objects passed in. Removes related items from R.CustomerDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Customer.
func (*DTBCustomer) RemoveCustomerStatus ¶
func (o *DTBCustomer) RemoveCustomerStatus(ctx context.Context, exec boil.ContextExecutor, related *MTBCustomerStatus) error
RemoveCustomerStatus relationship. Sets o.R.CustomerStatus to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomer) RemoveJob ¶
func (o *DTBCustomer) RemoveJob(ctx context.Context, exec boil.ContextExecutor, related *MTBJob) error
RemoveJob relationship. Sets o.R.Job to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomer) RemovePref ¶
func (o *DTBCustomer) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomer) RemoveSex ¶
func (o *DTBCustomer) RemoveSex(ctx context.Context, exec boil.ContextExecutor, related *MTBSex) error
RemoveSex relationship. Sets o.R.Sex to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomer) SetCountry ¶
func (o *DTBCustomer) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbCustomer to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBCustomers.
func (*DTBCustomer) SetCustomerDTBCarts ¶
func (o *DTBCustomer) SetCustomerDTBCarts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCart) error
SetCustomerDTBCarts removes all previously related items of the dtb_customer replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Customer's CustomerDTBCarts accordingly. Replaces o.R.CustomerDTBCarts with related. Sets related.R.Customer's CustomerDTBCarts accordingly.
func (*DTBCustomer) SetCustomerDTBCustomerAddresses ¶
func (o *DTBCustomer) SetCustomerDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
SetCustomerDTBCustomerAddresses removes all previously related items of the dtb_customer replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Customer's CustomerDTBCustomerAddresses accordingly. Replaces o.R.CustomerDTBCustomerAddresses with related. Sets related.R.Customer's CustomerDTBCustomerAddresses accordingly.
func (*DTBCustomer) SetCustomerDTBCustomerFavoriteProducts ¶
func (o *DTBCustomer) SetCustomerDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerFavoriteProduct) error
SetCustomerDTBCustomerFavoriteProducts removes all previously related items of the dtb_customer replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Customer's CustomerDTBCustomerFavoriteProducts accordingly. Replaces o.R.CustomerDTBCustomerFavoriteProducts with related. Sets related.R.Customer's CustomerDTBCustomerFavoriteProducts accordingly.
func (*DTBCustomer) SetCustomerDTBOrders ¶
func (o *DTBCustomer) SetCustomerDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetCustomerDTBOrders removes all previously related items of the dtb_customer replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Customer's CustomerDTBOrders accordingly. Replaces o.R.CustomerDTBOrders with related. Sets related.R.Customer's CustomerDTBOrders accordingly.
func (*DTBCustomer) SetCustomerStatus ¶
func (o *DTBCustomer) SetCustomerStatus(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCustomerStatus) error
SetCustomerStatus of the dtbCustomer to the related item. Sets o.R.CustomerStatus to related. Adds o to related.R.CustomerStatusDTBCustomers.
func (*DTBCustomer) SetJob ¶
func (o *DTBCustomer) SetJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBJob) error
SetJob of the dtbCustomer to the related item. Sets o.R.Job to related. Adds o to related.R.JobDTBCustomers.
func (*DTBCustomer) SetPref ¶
func (o *DTBCustomer) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbCustomer to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBCustomers.
func (*DTBCustomer) SetSex ¶
func (o *DTBCustomer) SetSex(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBSex) error
SetSex of the dtbCustomer to the related item. Sets o.R.Sex to related. Adds o to related.R.SexDTBCustomers.
func (*DTBCustomer) Sex ¶
func (o *DTBCustomer) Sex(mods ...qm.QueryMod) mtbSexQuery
Sex pointed to by the foreign key.
func (*DTBCustomer) Update ¶
func (o *DTBCustomer) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCustomer. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCustomer) Upsert ¶
func (o *DTBCustomer) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCustomerAddress ¶
type DTBCustomerAddress struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CustomerID null.Uint `boil:"customer_id" json:"customer_id,omitempty" toml:"customer_id" yaml:"customer_id,omitempty"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` Name01 string `boil:"name01" json:"name01" toml:"name01" yaml:"name01"` Name02 string `boil:"name02" json:"name02" toml:"name02" yaml:"name02"` Kana01 null.String `boil:"kana01" json:"kana01,omitempty" toml:"kana01" yaml:"kana01,omitempty"` Kana02 null.String `boil:"kana02" json:"kana02,omitempty" toml:"kana02" yaml:"kana02,omitempty"` CompanyName null.String `boil:"company_name" json:"company_name,omitempty" toml:"company_name" yaml:"company_name,omitempty"` PostalCode null.String `boil:"postal_code" json:"postal_code,omitempty" toml:"postal_code" yaml:"postal_code,omitempty"` Addr01 null.String `boil:"addr01" json:"addr01,omitempty" toml:"addr01" yaml:"addr01,omitempty"` Addr02 null.String `boil:"addr02" json:"addr02,omitempty" toml:"addr02" yaml:"addr02,omitempty"` PhoneNumber null.String `boil:"phone_number" json:"phone_number,omitempty" toml:"phone_number" yaml:"phone_number,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCustomerAddressR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCustomerAddressL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCustomerAddress is an object representing the database table.
func FindDTBCustomerAddress ¶
func FindDTBCustomerAddress(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCustomerAddress, error)
FindDTBCustomerAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCustomerAddress) Country ¶
func (o *DTBCustomerAddress) Country(mods ...qm.QueryMod) mtbCountryQuery
Country pointed to by the foreign key.
func (*DTBCustomerAddress) Customer ¶
func (o *DTBCustomerAddress) Customer(mods ...qm.QueryMod) dtbCustomerQuery
Customer pointed to by the foreign key.
func (*DTBCustomerAddress) Delete ¶
func (o *DTBCustomerAddress) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBCustomerAddress record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCustomerAddress) Insert ¶
func (o *DTBCustomerAddress) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCustomerAddress) Pref ¶
func (o *DTBCustomerAddress) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBCustomerAddress) Reload ¶
func (o *DTBCustomerAddress) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCustomerAddress) RemoveCountry ¶
func (o *DTBCustomerAddress) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomerAddress) RemoveCustomer ¶
func (o *DTBCustomerAddress) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
RemoveCustomer relationship. Sets o.R.Customer to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomerAddress) RemovePref ¶
func (o *DTBCustomerAddress) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomerAddress) SetCountry ¶
func (o *DTBCustomerAddress) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbCustomerAddress to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBCustomerAddresses.
func (*DTBCustomerAddress) SetCustomer ¶
func (o *DTBCustomerAddress) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCustomer) error
SetCustomer of the dtbCustomerAddress to the related item. Sets o.R.Customer to related. Adds o to related.R.CustomerDTBCustomerAddresses.
func (*DTBCustomerAddress) SetPref ¶
func (o *DTBCustomerAddress) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbCustomerAddress to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBCustomerAddresses.
func (*DTBCustomerAddress) Update ¶
func (o *DTBCustomerAddress) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCustomerAddress. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCustomerAddress) Upsert ¶
func (o *DTBCustomerAddress) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCustomerAddressHook ¶
type DTBCustomerAddressHook func(context.Context, boil.ContextExecutor, *DTBCustomerAddress) error
DTBCustomerAddressHook is the signature for custom DTBCustomerAddress hook methods
type DTBCustomerAddressSlice ¶
type DTBCustomerAddressSlice []*DTBCustomerAddress
DTBCustomerAddressSlice is an alias for a slice of pointers to DTBCustomerAddress. This should generally be used opposed to []DTBCustomerAddress.
func (DTBCustomerAddressSlice) DeleteAll ¶
func (o DTBCustomerAddressSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCustomerAddressSlice) ReloadAll ¶
func (o *DTBCustomerAddressSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCustomerAddressSlice) UpdateAll ¶
func (o DTBCustomerAddressSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCustomerFavoriteProduct ¶
type DTBCustomerFavoriteProduct struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CustomerID null.Uint `boil:"customer_id" json:"customer_id,omitempty" toml:"customer_id" yaml:"customer_id,omitempty"` ProductID null.Uint `boil:"product_id" json:"product_id,omitempty" toml:"product_id" yaml:"product_id,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbCustomerFavoriteProductR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbCustomerFavoriteProductL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBCustomerFavoriteProduct is an object representing the database table.
func FindDTBCustomerFavoriteProduct ¶
func FindDTBCustomerFavoriteProduct(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBCustomerFavoriteProduct, error)
FindDTBCustomerFavoriteProduct retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBCustomerFavoriteProduct) Customer ¶
func (o *DTBCustomerFavoriteProduct) Customer(mods ...qm.QueryMod) dtbCustomerQuery
Customer pointed to by the foreign key.
func (*DTBCustomerFavoriteProduct) Delete ¶
func (o *DTBCustomerFavoriteProduct) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBCustomerFavoriteProduct record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBCustomerFavoriteProduct) Insert ¶
func (o *DTBCustomerFavoriteProduct) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBCustomerFavoriteProduct) Product ¶
func (o *DTBCustomerFavoriteProduct) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBCustomerFavoriteProduct) Reload ¶
func (o *DTBCustomerFavoriteProduct) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBCustomerFavoriteProduct) RemoveCustomer ¶
func (o *DTBCustomerFavoriteProduct) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
RemoveCustomer relationship. Sets o.R.Customer to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomerFavoriteProduct) RemoveProduct ¶
func (o *DTBCustomerFavoriteProduct) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
RemoveProduct relationship. Sets o.R.Product to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBCustomerFavoriteProduct) SetCustomer ¶
func (o *DTBCustomerFavoriteProduct) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCustomer) error
SetCustomer of the dtbCustomerFavoriteProduct to the related item. Sets o.R.Customer to related. Adds o to related.R.CustomerDTBCustomerFavoriteProducts.
func (*DTBCustomerFavoriteProduct) SetProduct ¶
func (o *DTBCustomerFavoriteProduct) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbCustomerFavoriteProduct to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBCustomerFavoriteProducts.
func (*DTBCustomerFavoriteProduct) Update ¶
func (o *DTBCustomerFavoriteProduct) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBCustomerFavoriteProduct. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBCustomerFavoriteProduct) Upsert ¶
func (o *DTBCustomerFavoriteProduct) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBCustomerFavoriteProductHook ¶
type DTBCustomerFavoriteProductHook func(context.Context, boil.ContextExecutor, *DTBCustomerFavoriteProduct) error
DTBCustomerFavoriteProductHook is the signature for custom DTBCustomerFavoriteProduct hook methods
type DTBCustomerFavoriteProductSlice ¶
type DTBCustomerFavoriteProductSlice []*DTBCustomerFavoriteProduct
DTBCustomerFavoriteProductSlice is an alias for a slice of pointers to DTBCustomerFavoriteProduct. This should generally be used opposed to []DTBCustomerFavoriteProduct.
func (DTBCustomerFavoriteProductSlice) DeleteAll ¶
func (o DTBCustomerFavoriteProductSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCustomerFavoriteProductSlice) ReloadAll ¶
func (o *DTBCustomerFavoriteProductSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCustomerFavoriteProductSlice) UpdateAll ¶
func (o DTBCustomerFavoriteProductSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBCustomerHook ¶
type DTBCustomerHook func(context.Context, boil.ContextExecutor, *DTBCustomer) error
DTBCustomerHook is the signature for custom DTBCustomer hook methods
type DTBCustomerSlice ¶
type DTBCustomerSlice []*DTBCustomer
DTBCustomerSlice is an alias for a slice of pointers to DTBCustomer. This should generally be used opposed to []DTBCustomer.
func (DTBCustomerSlice) DeleteAll ¶
func (o DTBCustomerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBCustomerSlice) ReloadAll ¶
func (o *DTBCustomerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBCustomerSlice) UpdateAll ¶
func (o DTBCustomerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBDelivery ¶
type DTBDelivery struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` SaleTypeID null.Uint16 `boil:"sale_type_id" json:"sale_type_id,omitempty" toml:"sale_type_id" yaml:"sale_type_id,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` ServiceName null.String `boil:"service_name" json:"service_name,omitempty" toml:"service_name" yaml:"service_name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` ConfirmURL null.String `boil:"confirm_url" json:"confirm_url,omitempty" toml:"confirm_url" yaml:"confirm_url,omitempty"` SortNo null.Uint `boil:"sort_no" json:"sort_no,omitempty" toml:"sort_no" yaml:"sort_no,omitempty"` Visible bool `boil:"visible" json:"visible" toml:"visible" yaml:"visible"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbDeliveryR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbDeliveryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBDelivery is an object representing the database table.
func FindDTBDelivery ¶
func FindDTBDelivery(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBDelivery, error)
FindDTBDelivery retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBDelivery) AddDeliveryDTBDeliveryFees ¶
func (o *DTBDelivery) AddDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryFee) error
AddDeliveryDTBDeliveryFees adds the given related objects to the existing relationships of the dtb_delivery, optionally inserting them as new records. Appends related to o.R.DeliveryDTBDeliveryFees. Sets related.R.Delivery appropriately.
func (*DTBDelivery) AddDeliveryDTBDeliveryTimes ¶
func (o *DTBDelivery) AddDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryTime) error
AddDeliveryDTBDeliveryTimes adds the given related objects to the existing relationships of the dtb_delivery, optionally inserting them as new records. Appends related to o.R.DeliveryDTBDeliveryTimes. Sets related.R.Delivery appropriately.
func (*DTBDelivery) AddDeliveryDTBPaymentOptions ¶
func (o *DTBDelivery) AddDeliveryDTBPaymentOptions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPaymentOption) error
AddDeliveryDTBPaymentOptions adds the given related objects to the existing relationships of the dtb_delivery, optionally inserting them as new records. Appends related to o.R.DeliveryDTBPaymentOptions. Sets related.R.Delivery appropriately.
func (*DTBDelivery) AddDeliveryDTBShippings ¶
func (o *DTBDelivery) AddDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
AddDeliveryDTBShippings adds the given related objects to the existing relationships of the dtb_delivery, optionally inserting them as new records. Appends related to o.R.DeliveryDTBShippings. Sets related.R.Delivery appropriately.
func (*DTBDelivery) Delete ¶
func (o *DTBDelivery) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBDelivery record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBDelivery) DeliveryDTBDeliveryFees ¶
func (o *DTBDelivery) DeliveryDTBDeliveryFees(mods ...qm.QueryMod) dtbDeliveryFeeQuery
DeliveryDTBDeliveryFees retrieves all the dtb_delivery_fee's DTBDeliveryFees with an executor via delivery_id column.
func (*DTBDelivery) DeliveryDTBDeliveryTimes ¶
func (o *DTBDelivery) DeliveryDTBDeliveryTimes(mods ...qm.QueryMod) dtbDeliveryTimeQuery
DeliveryDTBDeliveryTimes retrieves all the dtb_delivery_time's DTBDeliveryTimes with an executor via delivery_id column.
func (*DTBDelivery) DeliveryDTBPaymentOptions ¶
func (o *DTBDelivery) DeliveryDTBPaymentOptions(mods ...qm.QueryMod) dtbPaymentOptionQuery
DeliveryDTBPaymentOptions retrieves all the dtb_payment_option's DTBPaymentOptions with an executor via delivery_id column.
func (*DTBDelivery) DeliveryDTBShippings ¶
func (o *DTBDelivery) DeliveryDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
DeliveryDTBShippings retrieves all the dtb_shipping's DTBShippings with an executor via delivery_id column.
func (*DTBDelivery) Insert ¶
func (o *DTBDelivery) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBDelivery) Reload ¶
func (o *DTBDelivery) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBDelivery) RemoveDeliveryDTBDeliveryFees ¶
func (o *DTBDelivery) RemoveDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryFee) error
RemoveDeliveryDTBDeliveryFees relationships from objects passed in. Removes related items from R.DeliveryDTBDeliveryFees (uses pointer comparison, removal does not keep order) Sets related.R.Delivery.
func (*DTBDelivery) RemoveDeliveryDTBDeliveryTimes ¶
func (o *DTBDelivery) RemoveDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryTime) error
RemoveDeliveryDTBDeliveryTimes relationships from objects passed in. Removes related items from R.DeliveryDTBDeliveryTimes (uses pointer comparison, removal does not keep order) Sets related.R.Delivery.
func (*DTBDelivery) RemoveDeliveryDTBShippings ¶
func (o *DTBDelivery) RemoveDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
RemoveDeliveryDTBShippings relationships from objects passed in. Removes related items from R.DeliveryDTBShippings (uses pointer comparison, removal does not keep order) Sets related.R.Delivery.
func (*DTBDelivery) RemoveSaleType ¶
func (o *DTBDelivery) RemoveSaleType(ctx context.Context, exec boil.ContextExecutor, related *MTBSaleType) error
RemoveSaleType relationship. Sets o.R.SaleType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBDelivery) SaleType ¶
func (o *DTBDelivery) SaleType(mods ...qm.QueryMod) mtbSaleTypeQuery
SaleType pointed to by the foreign key.
func (*DTBDelivery) SetDeliveryDTBDeliveryFees ¶
func (o *DTBDelivery) SetDeliveryDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryFee) error
SetDeliveryDTBDeliveryFees removes all previously related items of the dtb_delivery replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Delivery's DeliveryDTBDeliveryFees accordingly. Replaces o.R.DeliveryDTBDeliveryFees with related. Sets related.R.Delivery's DeliveryDTBDeliveryFees accordingly.
func (*DTBDelivery) SetDeliveryDTBDeliveryTimes ¶
func (o *DTBDelivery) SetDeliveryDTBDeliveryTimes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryTime) error
SetDeliveryDTBDeliveryTimes removes all previously related items of the dtb_delivery replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Delivery's DeliveryDTBDeliveryTimes accordingly. Replaces o.R.DeliveryDTBDeliveryTimes with related. Sets related.R.Delivery's DeliveryDTBDeliveryTimes accordingly.
func (*DTBDelivery) SetDeliveryDTBShippings ¶
func (o *DTBDelivery) SetDeliveryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
SetDeliveryDTBShippings removes all previously related items of the dtb_delivery replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Delivery's DeliveryDTBShippings accordingly. Replaces o.R.DeliveryDTBShippings with related. Sets related.R.Delivery's DeliveryDTBShippings accordingly.
func (*DTBDelivery) SetSaleType ¶
func (o *DTBDelivery) SetSaleType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBSaleType) error
SetSaleType of the dtbDelivery to the related item. Sets o.R.SaleType to related. Adds o to related.R.SaleTypeDTBDeliveries.
func (*DTBDelivery) Update ¶
func (o *DTBDelivery) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBDelivery. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBDelivery) Upsert ¶
func (o *DTBDelivery) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBDeliveryDuration ¶
type DTBDeliveryDuration struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Duration uint16 `boil:"duration" json:"duration" toml:"duration" yaml:"duration"` SortNo uint `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbDeliveryDurationR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbDeliveryDurationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBDeliveryDuration is an object representing the database table.
func FindDTBDeliveryDuration ¶
func FindDTBDeliveryDuration(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBDeliveryDuration, error)
FindDTBDeliveryDuration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBDeliveryDuration) Delete ¶
func (o *DTBDeliveryDuration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBDeliveryDuration record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBDeliveryDuration) Insert ¶
func (o *DTBDeliveryDuration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBDeliveryDuration) Reload ¶
func (o *DTBDeliveryDuration) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBDeliveryDuration) Update ¶
func (o *DTBDeliveryDuration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBDeliveryDuration. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBDeliveryDuration) Upsert ¶
func (o *DTBDeliveryDuration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBDeliveryDurationHook ¶
type DTBDeliveryDurationHook func(context.Context, boil.ContextExecutor, *DTBDeliveryDuration) error
DTBDeliveryDurationHook is the signature for custom DTBDeliveryDuration hook methods
type DTBDeliveryDurationSlice ¶
type DTBDeliveryDurationSlice []*DTBDeliveryDuration
DTBDeliveryDurationSlice is an alias for a slice of pointers to DTBDeliveryDuration. This should generally be used opposed to []DTBDeliveryDuration.
func (DTBDeliveryDurationSlice) DeleteAll ¶
func (o DTBDeliveryDurationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBDeliveryDurationSlice) ReloadAll ¶
func (o *DTBDeliveryDurationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBDeliveryDurationSlice) UpdateAll ¶
func (o DTBDeliveryDurationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBDeliveryFee ¶
type DTBDeliveryFee struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` DeliveryID null.Uint `boil:"delivery_id" json:"delivery_id,omitempty" toml:"delivery_id" yaml:"delivery_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` Fee types.Decimal `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbDeliveryFeeR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbDeliveryFeeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBDeliveryFee is an object representing the database table.
func FindDTBDeliveryFee ¶
func FindDTBDeliveryFee(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBDeliveryFee, error)
FindDTBDeliveryFee retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBDeliveryFee) Delete ¶
func (o *DTBDeliveryFee) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBDeliveryFee record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBDeliveryFee) Delivery ¶
func (o *DTBDeliveryFee) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
Delivery pointed to by the foreign key.
func (*DTBDeliveryFee) Insert ¶
func (o *DTBDeliveryFee) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBDeliveryFee) Pref ¶
func (o *DTBDeliveryFee) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBDeliveryFee) Reload ¶
func (o *DTBDeliveryFee) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBDeliveryFee) RemoveDelivery ¶
func (o *DTBDeliveryFee) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
RemoveDelivery relationship. Sets o.R.Delivery to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBDeliveryFee) RemovePref ¶
func (o *DTBDeliveryFee) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBDeliveryFee) SetDelivery ¶
func (o *DTBDeliveryFee) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBDelivery) error
SetDelivery of the dtbDeliveryFee to the related item. Sets o.R.Delivery to related. Adds o to related.R.DeliveryDTBDeliveryFees.
func (*DTBDeliveryFee) SetPref ¶
func (o *DTBDeliveryFee) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbDeliveryFee to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBDeliveryFees.
func (*DTBDeliveryFee) Update ¶
func (o *DTBDeliveryFee) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBDeliveryFee. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBDeliveryFee) Upsert ¶
func (o *DTBDeliveryFee) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBDeliveryFeeHook ¶
type DTBDeliveryFeeHook func(context.Context, boil.ContextExecutor, *DTBDeliveryFee) error
DTBDeliveryFeeHook is the signature for custom DTBDeliveryFee hook methods
type DTBDeliveryFeeSlice ¶
type DTBDeliveryFeeSlice []*DTBDeliveryFee
DTBDeliveryFeeSlice is an alias for a slice of pointers to DTBDeliveryFee. This should generally be used opposed to []DTBDeliveryFee.
func (DTBDeliveryFeeSlice) DeleteAll ¶
func (o DTBDeliveryFeeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBDeliveryFeeSlice) ReloadAll ¶
func (o *DTBDeliveryFeeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBDeliveryFeeSlice) UpdateAll ¶
func (o DTBDeliveryFeeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBDeliveryHook ¶
type DTBDeliveryHook func(context.Context, boil.ContextExecutor, *DTBDelivery) error
DTBDeliveryHook is the signature for custom DTBDelivery hook methods
type DTBDeliverySlice ¶
type DTBDeliverySlice []*DTBDelivery
DTBDeliverySlice is an alias for a slice of pointers to DTBDelivery. This should generally be used opposed to []DTBDelivery.
func (DTBDeliverySlice) DeleteAll ¶
func (o DTBDeliverySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBDeliverySlice) ReloadAll ¶
func (o *DTBDeliverySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBDeliverySlice) UpdateAll ¶
func (o DTBDeliverySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBDeliveryTime ¶
type DTBDeliveryTime struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` DeliveryID null.Uint `boil:"delivery_id" json:"delivery_id,omitempty" toml:"delivery_id" yaml:"delivery_id,omitempty"` DeliveryTime string `boil:"delivery_time" json:"delivery_time" toml:"delivery_time" yaml:"delivery_time"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` Visible bool `boil:"visible" json:"visible" toml:"visible" yaml:"visible"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbDeliveryTimeR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbDeliveryTimeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBDeliveryTime is an object representing the database table.
func FindDTBDeliveryTime ¶
func FindDTBDeliveryTime(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBDeliveryTime, error)
FindDTBDeliveryTime retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBDeliveryTime) Delete ¶
func (o *DTBDeliveryTime) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBDeliveryTime record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBDeliveryTime) Delivery ¶
func (o *DTBDeliveryTime) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
Delivery pointed to by the foreign key.
func (*DTBDeliveryTime) Insert ¶
func (o *DTBDeliveryTime) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBDeliveryTime) Reload ¶
func (o *DTBDeliveryTime) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBDeliveryTime) RemoveDelivery ¶
func (o *DTBDeliveryTime) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
RemoveDelivery relationship. Sets o.R.Delivery to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBDeliveryTime) SetDelivery ¶
func (o *DTBDeliveryTime) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBDelivery) error
SetDelivery of the dtbDeliveryTime to the related item. Sets o.R.Delivery to related. Adds o to related.R.DeliveryDTBDeliveryTimes.
func (*DTBDeliveryTime) Update ¶
func (o *DTBDeliveryTime) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBDeliveryTime. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBDeliveryTime) Upsert ¶
func (o *DTBDeliveryTime) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBDeliveryTimeHook ¶
type DTBDeliveryTimeHook func(context.Context, boil.ContextExecutor, *DTBDeliveryTime) error
DTBDeliveryTimeHook is the signature for custom DTBDeliveryTime hook methods
type DTBDeliveryTimeSlice ¶
type DTBDeliveryTimeSlice []*DTBDeliveryTime
DTBDeliveryTimeSlice is an alias for a slice of pointers to DTBDeliveryTime. This should generally be used opposed to []DTBDeliveryTime.
func (DTBDeliveryTimeSlice) DeleteAll ¶
func (o DTBDeliveryTimeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBDeliveryTimeSlice) ReloadAll ¶
func (o *DTBDeliveryTimeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBDeliveryTimeSlice) UpdateAll ¶
func (o DTBDeliveryTimeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBLayout ¶
type DTBLayout struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` DeviceTypeID null.Uint16 `boil:"device_type_id" json:"device_type_id,omitempty" toml:"device_type_id" yaml:"device_type_id,omitempty"` LayoutName null.String `boil:"layout_name" json:"layout_name,omitempty" toml:"layout_name" yaml:"layout_name,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbLayoutR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbLayoutL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBLayout is an object representing the database table.
func FindDTBLayout ¶
func FindDTBLayout(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBLayout, error)
FindDTBLayout retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBLayout) AddLayoutDTBBlockPositions ¶
func (o *DTBLayout) AddLayoutDTBBlockPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBlockPosition) error
AddLayoutDTBBlockPositions adds the given related objects to the existing relationships of the dtb_layout, optionally inserting them as new records. Appends related to o.R.LayoutDTBBlockPositions. Sets related.R.Layout appropriately.
func (*DTBLayout) AddLayoutDTBPageLayouts ¶
func (o *DTBLayout) AddLayoutDTBPageLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPageLayout) error
AddLayoutDTBPageLayouts adds the given related objects to the existing relationships of the dtb_layout, optionally inserting them as new records. Appends related to o.R.LayoutDTBPageLayouts. Sets related.R.Layout appropriately.
func (*DTBLayout) Delete ¶
Delete deletes a single DTBLayout record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBLayout) DeviceType ¶
DeviceType pointed to by the foreign key.
func (*DTBLayout) Insert ¶
func (o *DTBLayout) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBLayout) LayoutDTBBlockPositions ¶
LayoutDTBBlockPositions retrieves all the dtb_block_position's DTBBlockPositions with an executor via layout_id column.
func (*DTBLayout) LayoutDTBPageLayouts ¶
LayoutDTBPageLayouts retrieves all the dtb_page_layout's DTBPageLayouts with an executor via layout_id column.
func (*DTBLayout) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBLayout) RemoveDeviceType ¶
func (o *DTBLayout) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
RemoveDeviceType relationship. Sets o.R.DeviceType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBLayout) SetDeviceType ¶
func (o *DTBLayout) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBDeviceType) error
SetDeviceType of the dtbLayout to the related item. Sets o.R.DeviceType to related. Adds o to related.R.DeviceTypeDTBLayouts.
func (*DTBLayout) Update ¶
func (o *DTBLayout) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBLayout. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBLayout) Upsert ¶
func (o *DTBLayout) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBLayoutHook ¶
DTBLayoutHook is the signature for custom DTBLayout hook methods
type DTBLayoutSlice ¶
type DTBLayoutSlice []*DTBLayout
DTBLayoutSlice is an alias for a slice of pointers to DTBLayout. This should generally be used opposed to []DTBLayout.
func (DTBLayoutSlice) DeleteAll ¶
func (o DTBLayoutSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBLayoutSlice) ReloadAll ¶
func (o *DTBLayoutSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBLayoutSlice) UpdateAll ¶
func (o DTBLayoutSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBMailHistory ¶
type DTBMailHistory struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` OrderID null.Uint `boil:"order_id" json:"order_id,omitempty" toml:"order_id" yaml:"order_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` SendDate null.Time `boil:"send_date" json:"send_date,omitempty" toml:"send_date" yaml:"send_date,omitempty"` MailSubject null.String `boil:"mail_subject" json:"mail_subject,omitempty" toml:"mail_subject" yaml:"mail_subject,omitempty"` MailBody null.String `boil:"mail_body" json:"mail_body,omitempty" toml:"mail_body" yaml:"mail_body,omitempty"` MailHTMLBody null.String `boil:"mail_html_body" json:"mail_html_body,omitempty" toml:"mail_html_body" yaml:"mail_html_body,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbMailHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbMailHistoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBMailHistory is an object representing the database table.
func FindDTBMailHistory ¶
func FindDTBMailHistory(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBMailHistory, error)
FindDTBMailHistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBMailHistory) Delete ¶
func (o *DTBMailHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBMailHistory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBMailHistory) Insert ¶
func (o *DTBMailHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBMailHistory) Order ¶
func (o *DTBMailHistory) Order(mods ...qm.QueryMod) dtbOrderQuery
Order pointed to by the foreign key.
func (*DTBMailHistory) Reload ¶
func (o *DTBMailHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBMailHistory) RemoveOrder ¶
func (o *DTBMailHistory) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
RemoveOrder relationship. Sets o.R.Order to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBMailHistory) SetOrder ¶
func (o *DTBMailHistory) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
SetOrder of the dtbMailHistory to the related item. Sets o.R.Order to related. Adds o to related.R.OrderDTBMailHistories.
func (*DTBMailHistory) Update ¶
func (o *DTBMailHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBMailHistory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBMailHistory) Upsert ¶
func (o *DTBMailHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBMailHistoryHook ¶
type DTBMailHistoryHook func(context.Context, boil.ContextExecutor, *DTBMailHistory) error
DTBMailHistoryHook is the signature for custom DTBMailHistory hook methods
type DTBMailHistorySlice ¶
type DTBMailHistorySlice []*DTBMailHistory
DTBMailHistorySlice is an alias for a slice of pointers to DTBMailHistory. This should generally be used opposed to []DTBMailHistory.
func (DTBMailHistorySlice) DeleteAll ¶
func (o DTBMailHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBMailHistorySlice) ReloadAll ¶
func (o *DTBMailHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBMailHistorySlice) UpdateAll ¶
func (o DTBMailHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBMailTemplate ¶
type DTBMailTemplate struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` FileName null.String `boil:"file_name" json:"file_name,omitempty" toml:"file_name" yaml:"file_name,omitempty"` MailSubject null.String `boil:"mail_subject" json:"mail_subject,omitempty" toml:"mail_subject" yaml:"mail_subject,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbMailTemplateR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbMailTemplateL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBMailTemplate is an object representing the database table.
func FindDTBMailTemplate ¶
func FindDTBMailTemplate(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBMailTemplate, error)
FindDTBMailTemplate retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBMailTemplate) Delete ¶
func (o *DTBMailTemplate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBMailTemplate record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBMailTemplate) Insert ¶
func (o *DTBMailTemplate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBMailTemplate) Reload ¶
func (o *DTBMailTemplate) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBMailTemplate) Update ¶
func (o *DTBMailTemplate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBMailTemplate. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBMailTemplate) Upsert ¶
func (o *DTBMailTemplate) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBMailTemplateHook ¶
type DTBMailTemplateHook func(context.Context, boil.ContextExecutor, *DTBMailTemplate) error
DTBMailTemplateHook is the signature for custom DTBMailTemplate hook methods
type DTBMailTemplateSlice ¶
type DTBMailTemplateSlice []*DTBMailTemplate
DTBMailTemplateSlice is an alias for a slice of pointers to DTBMailTemplate. This should generally be used opposed to []DTBMailTemplate.
func (DTBMailTemplateSlice) DeleteAll ¶
func (o DTBMailTemplateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBMailTemplateSlice) ReloadAll ¶
func (o *DTBMailTemplateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBMailTemplateSlice) UpdateAll ¶
func (o DTBMailTemplateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBOrder ¶
type DTBOrder struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CustomerID null.Uint `boil:"customer_id" json:"customer_id,omitempty" toml:"customer_id" yaml:"customer_id,omitempty"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` SexID null.Uint16 `boil:"sex_id" json:"sex_id,omitempty" toml:"sex_id" yaml:"sex_id,omitempty"` JobID null.Uint16 `boil:"job_id" json:"job_id,omitempty" toml:"job_id" yaml:"job_id,omitempty"` PaymentID null.Uint `boil:"payment_id" json:"payment_id,omitempty" toml:"payment_id" yaml:"payment_id,omitempty"` DeviceTypeID null.Uint16 `boil:"device_type_id" json:"device_type_id,omitempty" toml:"device_type_id" yaml:"device_type_id,omitempty"` PreOrderID null.String `boil:"pre_order_id" json:"pre_order_id,omitempty" toml:"pre_order_id" yaml:"pre_order_id,omitempty"` OrderNo null.String `boil:"order_no" json:"order_no,omitempty" toml:"order_no" yaml:"order_no,omitempty"` Message null.String `boil:"message" json:"message,omitempty" toml:"message" yaml:"message,omitempty"` Name01 string `boil:"name01" json:"name01" toml:"name01" yaml:"name01"` Name02 string `boil:"name02" json:"name02" toml:"name02" yaml:"name02"` Kana01 null.String `boil:"kana01" json:"kana01,omitempty" toml:"kana01" yaml:"kana01,omitempty"` Kana02 null.String `boil:"kana02" json:"kana02,omitempty" toml:"kana02" yaml:"kana02,omitempty"` CompanyName null.String `boil:"company_name" json:"company_name,omitempty" toml:"company_name" yaml:"company_name,omitempty"` Email null.String `boil:"email" json:"email,omitempty" toml:"email" yaml:"email,omitempty"` PhoneNumber null.String `boil:"phone_number" json:"phone_number,omitempty" toml:"phone_number" yaml:"phone_number,omitempty"` PostalCode null.String `boil:"postal_code" json:"postal_code,omitempty" toml:"postal_code" yaml:"postal_code,omitempty"` Addr01 null.String `boil:"addr01" json:"addr01,omitempty" toml:"addr01" yaml:"addr01,omitempty"` Addr02 null.String `boil:"addr02" json:"addr02,omitempty" toml:"addr02" yaml:"addr02,omitempty"` Birth null.Time `boil:"birth" json:"birth,omitempty" toml:"birth" yaml:"birth,omitempty"` Subtotal types.Decimal `boil:"subtotal" json:"subtotal" toml:"subtotal" yaml:"subtotal"` Discount types.Decimal `boil:"discount" json:"discount" toml:"discount" yaml:"discount"` DeliveryFeeTotal types.Decimal `boil:"delivery_fee_total" json:"delivery_fee_total" toml:"delivery_fee_total" yaml:"delivery_fee_total"` Charge types.Decimal `boil:"charge" json:"charge" toml:"charge" yaml:"charge"` Tax types.Decimal `boil:"tax" json:"tax" toml:"tax" yaml:"tax"` Total types.Decimal `boil:"total" json:"total" toml:"total" yaml:"total"` PaymentTotal types.Decimal `boil:"payment_total" json:"payment_total" toml:"payment_total" yaml:"payment_total"` PaymentMethod null.String `boil:"payment_method" json:"payment_method,omitempty" toml:"payment_method" yaml:"payment_method,omitempty"` Note null.String `boil:"note" json:"note,omitempty" toml:"note" yaml:"note,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` OrderDate null.Time `boil:"order_date" json:"order_date,omitempty" toml:"order_date" yaml:"order_date,omitempty"` PaymentDate null.Time `boil:"payment_date" json:"payment_date,omitempty" toml:"payment_date" yaml:"payment_date,omitempty"` CurrencyCode null.String `boil:"currency_code" json:"currency_code,omitempty" toml:"currency_code" yaml:"currency_code,omitempty"` CompleteMessage null.String `boil:"complete_message" json:"complete_message,omitempty" toml:"complete_message" yaml:"complete_message,omitempty"` CompleteMailMessage null.String `` /* 135-byte string literal not displayed */ AddPoint types.Decimal `boil:"add_point" json:"add_point" toml:"add_point" yaml:"add_point"` UsePoint types.Decimal `boil:"use_point" json:"use_point" toml:"use_point" yaml:"use_point"` OrderStatusID null.Uint16 `boil:"order_status_id" json:"order_status_id,omitempty" toml:"order_status_id" yaml:"order_status_id,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbOrderR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbOrderL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBOrder is an object representing the database table.
func FindDTBOrder ¶
func FindDTBOrder(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBOrder, error)
FindDTBOrder retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBOrder) AddOrderDTBMailHistories ¶
func (o *DTBOrder) AddOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBMailHistory) error
AddOrderDTBMailHistories adds the given related objects to the existing relationships of the dtb_order, optionally inserting them as new records. Appends related to o.R.OrderDTBMailHistories. Sets related.R.Order appropriately.
func (*DTBOrder) AddOrderDTBOrderItems ¶
func (o *DTBOrder) AddOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddOrderDTBOrderItems adds the given related objects to the existing relationships of the dtb_order, optionally inserting them as new records. Appends related to o.R.OrderDTBOrderItems. Sets related.R.Order appropriately.
func (*DTBOrder) AddOrderDTBShippings ¶
func (o *DTBOrder) AddOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
AddOrderDTBShippings adds the given related objects to the existing relationships of the dtb_order, optionally inserting them as new records. Appends related to o.R.OrderDTBShippings. Sets related.R.Order appropriately.
func (*DTBOrder) Delete ¶
Delete deletes a single DTBOrder record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBOrder) DeviceType ¶
DeviceType pointed to by the foreign key.
func (*DTBOrder) Insert ¶
func (o *DTBOrder) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBOrder) OrderDTBMailHistories ¶
OrderDTBMailHistories retrieves all the dtb_mail_history's DTBMailHistories with an executor via order_id column.
func (*DTBOrder) OrderDTBOrderItems ¶
OrderDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via order_id column.
func (*DTBOrder) OrderDTBShippings ¶
OrderDTBShippings retrieves all the dtb_shipping's DTBShippings with an executor via order_id column.
func (*DTBOrder) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBOrder) RemoveCountry ¶
func (o *DTBOrder) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemoveCustomer ¶
func (o *DTBOrder) RemoveCustomer(ctx context.Context, exec boil.ContextExecutor, related *DTBCustomer) error
RemoveCustomer relationship. Sets o.R.Customer to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemoveDeviceType ¶
func (o *DTBOrder) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
RemoveDeviceType relationship. Sets o.R.DeviceType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemoveJob ¶
RemoveJob relationship. Sets o.R.Job to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemoveOrderDTBMailHistories ¶
func (o *DTBOrder) RemoveOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, related ...*DTBMailHistory) error
RemoveOrderDTBMailHistories relationships from objects passed in. Removes related items from R.OrderDTBMailHistories (uses pointer comparison, removal does not keep order) Sets related.R.Order.
func (*DTBOrder) RemoveOrderDTBOrderItems ¶
func (o *DTBOrder) RemoveOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveOrderDTBOrderItems relationships from objects passed in. Removes related items from R.OrderDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.Order.
func (*DTBOrder) RemoveOrderDTBShippings ¶
func (o *DTBOrder) RemoveOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
RemoveOrderDTBShippings relationships from objects passed in. Removes related items from R.OrderDTBShippings (uses pointer comparison, removal does not keep order) Sets related.R.Order.
func (*DTBOrder) RemovePayment ¶
func (o *DTBOrder) RemovePayment(ctx context.Context, exec boil.ContextExecutor, related *DTBPayment) error
RemovePayment relationship. Sets o.R.Payment to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemovePref ¶
func (o *DTBOrder) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) RemoveSex ¶
RemoveSex relationship. Sets o.R.Sex to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrder) SetCountry ¶
func (o *DTBOrder) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbOrder to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBOrders.
func (*DTBOrder) SetCustomer ¶
func (o *DTBOrder) SetCustomer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCustomer) error
SetCustomer of the dtbOrder to the related item. Sets o.R.Customer to related. Adds o to related.R.CustomerDTBOrders.
func (*DTBOrder) SetDeviceType ¶
func (o *DTBOrder) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBDeviceType) error
SetDeviceType of the dtbOrder to the related item. Sets o.R.DeviceType to related. Adds o to related.R.DeviceTypeDTBOrders.
func (*DTBOrder) SetJob ¶
func (o *DTBOrder) SetJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBJob) error
SetJob of the dtbOrder to the related item. Sets o.R.Job to related. Adds o to related.R.JobDTBOrders.
func (*DTBOrder) SetOrderDTBMailHistories ¶
func (o *DTBOrder) SetOrderDTBMailHistories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBMailHistory) error
SetOrderDTBMailHistories removes all previously related items of the dtb_order replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Order's OrderDTBMailHistories accordingly. Replaces o.R.OrderDTBMailHistories with related. Sets related.R.Order's OrderDTBMailHistories accordingly.
func (*DTBOrder) SetOrderDTBOrderItems ¶
func (o *DTBOrder) SetOrderDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetOrderDTBOrderItems removes all previously related items of the dtb_order replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Order's OrderDTBOrderItems accordingly. Replaces o.R.OrderDTBOrderItems with related. Sets related.R.Order's OrderDTBOrderItems accordingly.
func (*DTBOrder) SetOrderDTBShippings ¶
func (o *DTBOrder) SetOrderDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
SetOrderDTBShippings removes all previously related items of the dtb_order replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Order's OrderDTBShippings accordingly. Replaces o.R.OrderDTBShippings with related. Sets related.R.Order's OrderDTBShippings accordingly.
func (*DTBOrder) SetPayment ¶
func (o *DTBOrder) SetPayment(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPayment) error
SetPayment of the dtbOrder to the related item. Sets o.R.Payment to related. Adds o to related.R.PaymentDTBOrders.
func (*DTBOrder) SetPref ¶
func (o *DTBOrder) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbOrder to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBOrders.
func (*DTBOrder) SetSex ¶
func (o *DTBOrder) SetSex(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBSex) error
SetSex of the dtbOrder to the related item. Sets o.R.Sex to related. Adds o to related.R.SexDTBOrders.
func (*DTBOrder) Update ¶
func (o *DTBOrder) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBOrder. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBOrder) Upsert ¶
func (o *DTBOrder) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBOrderHook ¶
DTBOrderHook is the signature for custom DTBOrder hook methods
type DTBOrderItem ¶
type DTBOrderItem struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` OrderID null.Uint `boil:"order_id" json:"order_id,omitempty" toml:"order_id" yaml:"order_id,omitempty"` ProductID null.Uint `boil:"product_id" json:"product_id,omitempty" toml:"product_id" yaml:"product_id,omitempty"` ProductClassID null.Uint `boil:"product_class_id" json:"product_class_id,omitempty" toml:"product_class_id" yaml:"product_class_id,omitempty"` ShippingID null.Uint `boil:"shipping_id" json:"shipping_id,omitempty" toml:"shipping_id" yaml:"shipping_id,omitempty"` RoundingTypeID null.Uint16 `boil:"rounding_type_id" json:"rounding_type_id,omitempty" toml:"rounding_type_id" yaml:"rounding_type_id,omitempty"` TaxTypeID null.Uint16 `boil:"tax_type_id" json:"tax_type_id,omitempty" toml:"tax_type_id" yaml:"tax_type_id,omitempty"` TaxDisplayTypeID null.Uint16 `` /* 127-byte string literal not displayed */ OrderItemTypeID null.Uint16 `boil:"order_item_type_id" json:"order_item_type_id,omitempty" toml:"order_item_type_id" yaml:"order_item_type_id,omitempty"` ProductName string `boil:"product_name" json:"product_name" toml:"product_name" yaml:"product_name"` ProductCode null.String `boil:"product_code" json:"product_code,omitempty" toml:"product_code" yaml:"product_code,omitempty"` ClassName1 null.String `boil:"class_name1" json:"class_name1,omitempty" toml:"class_name1" yaml:"class_name1,omitempty"` ClassName2 null.String `boil:"class_name2" json:"class_name2,omitempty" toml:"class_name2" yaml:"class_name2,omitempty"` ClassCategoryName1 null.String `` /* 131-byte string literal not displayed */ ClassCategoryName2 null.String `` /* 131-byte string literal not displayed */ Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` Tax types.Decimal `boil:"tax" json:"tax" toml:"tax" yaml:"tax"` TaxRate types.Decimal `boil:"tax_rate" json:"tax_rate" toml:"tax_rate" yaml:"tax_rate"` TaxRuleID null.Uint16 `boil:"tax_rule_id" json:"tax_rule_id,omitempty" toml:"tax_rule_id" yaml:"tax_rule_id,omitempty"` CurrencyCode null.String `boil:"currency_code" json:"currency_code,omitempty" toml:"currency_code" yaml:"currency_code,omitempty"` ProcessorName null.String `boil:"processor_name" json:"processor_name,omitempty" toml:"processor_name" yaml:"processor_name,omitempty"` PointRate types.NullDecimal `boil:"point_rate" json:"point_rate,omitempty" toml:"point_rate" yaml:"point_rate,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbOrderItemR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbOrderItemL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBOrderItem is an object representing the database table.
func FindDTBOrderItem ¶
func FindDTBOrderItem(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBOrderItem, error)
FindDTBOrderItem retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBOrderItem) Delete ¶
func (o *DTBOrderItem) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBOrderItem record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBOrderItem) Insert ¶
func (o *DTBOrderItem) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBOrderItem) Order ¶
func (o *DTBOrderItem) Order(mods ...qm.QueryMod) dtbOrderQuery
Order pointed to by the foreign key.
func (*DTBOrderItem) OrderItemType ¶
func (o *DTBOrderItem) OrderItemType(mods ...qm.QueryMod) mtbOrderItemTypeQuery
OrderItemType pointed to by the foreign key.
func (*DTBOrderItem) Product ¶
func (o *DTBOrderItem) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBOrderItem) Reload ¶
func (o *DTBOrderItem) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBOrderItem) RemoveOrder ¶
func (o *DTBOrderItem) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
RemoveOrder relationship. Sets o.R.Order to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveOrderItemType ¶
func (o *DTBOrderItem) RemoveOrderItemType(ctx context.Context, exec boil.ContextExecutor, related *MTBOrderItemType) error
RemoveOrderItemType relationship. Sets o.R.OrderItemType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveProduct ¶
func (o *DTBOrderItem) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
RemoveProduct relationship. Sets o.R.Product to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveRoundingType ¶
func (o *DTBOrderItem) RemoveRoundingType(ctx context.Context, exec boil.ContextExecutor, related *MTBRoundingType) error
RemoveRoundingType relationship. Sets o.R.RoundingType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveShipping ¶
func (o *DTBOrderItem) RemoveShipping(ctx context.Context, exec boil.ContextExecutor, related *DTBShipping) error
RemoveShipping relationship. Sets o.R.Shipping to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveTaxDisplayType ¶
func (o *DTBOrderItem) RemoveTaxDisplayType(ctx context.Context, exec boil.ContextExecutor, related *MTBTaxDisplayType) error
RemoveTaxDisplayType relationship. Sets o.R.TaxDisplayType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RemoveTaxType ¶
func (o *DTBOrderItem) RemoveTaxType(ctx context.Context, exec boil.ContextExecutor, related *MTBTaxType) error
RemoveTaxType relationship. Sets o.R.TaxType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBOrderItem) RoundingType ¶
func (o *DTBOrderItem) RoundingType(mods ...qm.QueryMod) mtbRoundingTypeQuery
RoundingType pointed to by the foreign key.
func (*DTBOrderItem) SetOrder ¶
func (o *DTBOrderItem) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
SetOrder of the dtbOrderItem to the related item. Sets o.R.Order to related. Adds o to related.R.OrderDTBOrderItems.
func (*DTBOrderItem) SetOrderItemType ¶
func (o *DTBOrderItem) SetOrderItemType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBOrderItemType) error
SetOrderItemType of the dtbOrderItem to the related item. Sets o.R.OrderItemType to related. Adds o to related.R.OrderItemTypeDTBOrderItems.
func (*DTBOrderItem) SetProduct ¶
func (o *DTBOrderItem) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbOrderItem to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBOrderItems.
func (*DTBOrderItem) SetRoundingType ¶
func (o *DTBOrderItem) SetRoundingType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBRoundingType) error
SetRoundingType of the dtbOrderItem to the related item. Sets o.R.RoundingType to related. Adds o to related.R.RoundingTypeDTBOrderItems.
func (*DTBOrderItem) SetShipping ¶
func (o *DTBOrderItem) SetShipping(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBShipping) error
SetShipping of the dtbOrderItem to the related item. Sets o.R.Shipping to related. Adds o to related.R.ShippingDTBOrderItems.
func (*DTBOrderItem) SetTaxDisplayType ¶
func (o *DTBOrderItem) SetTaxDisplayType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBTaxDisplayType) error
SetTaxDisplayType of the dtbOrderItem to the related item. Sets o.R.TaxDisplayType to related. Adds o to related.R.TaxDisplayTypeDTBOrderItems.
func (*DTBOrderItem) SetTaxType ¶
func (o *DTBOrderItem) SetTaxType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBTaxType) error
SetTaxType of the dtbOrderItem to the related item. Sets o.R.TaxType to related. Adds o to related.R.TaxTypeDTBOrderItems.
func (*DTBOrderItem) Shipping ¶
func (o *DTBOrderItem) Shipping(mods ...qm.QueryMod) dtbShippingQuery
Shipping pointed to by the foreign key.
func (*DTBOrderItem) TaxDisplayType ¶
func (o *DTBOrderItem) TaxDisplayType(mods ...qm.QueryMod) mtbTaxDisplayTypeQuery
TaxDisplayType pointed to by the foreign key.
func (*DTBOrderItem) TaxType ¶
func (o *DTBOrderItem) TaxType(mods ...qm.QueryMod) mtbTaxTypeQuery
TaxType pointed to by the foreign key.
func (*DTBOrderItem) Update ¶
func (o *DTBOrderItem) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBOrderItem. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBOrderItem) Upsert ¶
func (o *DTBOrderItem) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBOrderItemHook ¶
type DTBOrderItemHook func(context.Context, boil.ContextExecutor, *DTBOrderItem) error
DTBOrderItemHook is the signature for custom DTBOrderItem hook methods
type DTBOrderItemSlice ¶
type DTBOrderItemSlice []*DTBOrderItem
DTBOrderItemSlice is an alias for a slice of pointers to DTBOrderItem. This should generally be used opposed to []DTBOrderItem.
func (DTBOrderItemSlice) DeleteAll ¶
func (o DTBOrderItemSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBOrderItemSlice) ReloadAll ¶
func (o *DTBOrderItemSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBOrderItemSlice) UpdateAll ¶
func (o DTBOrderItemSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBOrderPDF ¶
type DTBOrderPDF struct { MemberID uint `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` Title null.String `boil:"title" json:"title,omitempty" toml:"title" yaml:"title,omitempty"` Message1 null.String `boil:"message1" json:"message1,omitempty" toml:"message1" yaml:"message1,omitempty"` Message2 null.String `boil:"message2" json:"message2,omitempty" toml:"message2" yaml:"message2,omitempty"` Message3 null.String `boil:"message3" json:"message3,omitempty" toml:"message3" yaml:"message3,omitempty"` Note1 null.String `boil:"note1" json:"note1,omitempty" toml:"note1" yaml:"note1,omitempty"` Note2 null.String `boil:"note2" json:"note2,omitempty" toml:"note2" yaml:"note2,omitempty"` Note3 null.String `boil:"note3" json:"note3,omitempty" toml:"note3" yaml:"note3,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` Visible bool `boil:"visible" json:"visible" toml:"visible" yaml:"visible"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbOrderPDFR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbOrderPDFL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBOrderPDF is an object representing the database table.
func FindDTBOrderPDF ¶
func FindDTBOrderPDF(ctx context.Context, exec boil.ContextExecutor, memberID uint, selectCols ...string) (*DTBOrderPDF, error)
FindDTBOrderPDF retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBOrderPDF) Delete ¶
func (o *DTBOrderPDF) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBOrderPDF record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBOrderPDF) Insert ¶
func (o *DTBOrderPDF) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBOrderPDF) Reload ¶
func (o *DTBOrderPDF) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBOrderPDF) Update ¶
func (o *DTBOrderPDF) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBOrderPDF. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBOrderPDF) Upsert ¶
func (o *DTBOrderPDF) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBOrderPDFHook ¶
type DTBOrderPDFHook func(context.Context, boil.ContextExecutor, *DTBOrderPDF) error
DTBOrderPDFHook is the signature for custom DTBOrderPDF hook methods
type DTBOrderPDFSlice ¶
type DTBOrderPDFSlice []*DTBOrderPDF
DTBOrderPDFSlice is an alias for a slice of pointers to DTBOrderPDF. This should generally be used opposed to []DTBOrderPDF.
func (DTBOrderPDFSlice) DeleteAll ¶
func (o DTBOrderPDFSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBOrderPDFSlice) ReloadAll ¶
func (o *DTBOrderPDFSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBOrderPDFSlice) UpdateAll ¶
func (o DTBOrderPDFSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBOrderSlice ¶
type DTBOrderSlice []*DTBOrder
DTBOrderSlice is an alias for a slice of pointers to DTBOrder. This should generally be used opposed to []DTBOrder.
func (DTBOrderSlice) DeleteAll ¶
func (o DTBOrderSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBOrderSlice) ReloadAll ¶
func (o *DTBOrderSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBOrderSlice) UpdateAll ¶
func (o DTBOrderSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBPage ¶
type DTBPage struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` MasterPageID null.Uint `boil:"master_page_id" json:"master_page_id,omitempty" toml:"master_page_id" yaml:"master_page_id,omitempty"` PageName null.String `boil:"page_name" json:"page_name,omitempty" toml:"page_name" yaml:"page_name,omitempty"` URL string `boil:"url" json:"url" toml:"url" yaml:"url"` FileName null.String `boil:"file_name" json:"file_name,omitempty" toml:"file_name" yaml:"file_name,omitempty"` EditType uint16 `boil:"edit_type" json:"edit_type" toml:"edit_type" yaml:"edit_type"` Author null.String `boil:"author" json:"author,omitempty" toml:"author" yaml:"author,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` Keyword null.String `boil:"keyword" json:"keyword,omitempty" toml:"keyword" yaml:"keyword,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` MetaRobots null.String `boil:"meta_robots" json:"meta_robots,omitempty" toml:"meta_robots" yaml:"meta_robots,omitempty"` MetaTags null.String `boil:"meta_tags" json:"meta_tags,omitempty" toml:"meta_tags" yaml:"meta_tags,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbPageR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbPageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBPage is an object representing the database table.
func FindDTBPage ¶
func FindDTBPage(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBPage, error)
FindDTBPage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBPage) AddMasterPageDTBPages ¶
func (o *DTBPage) AddMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPage) error
AddMasterPageDTBPages adds the given related objects to the existing relationships of the dtb_page, optionally inserting them as new records. Appends related to o.R.MasterPageDTBPages. Sets related.R.MasterPage appropriately.
func (*DTBPage) AddPageDTBPageLayouts ¶
func (o *DTBPage) AddPageDTBPageLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPageLayout) error
AddPageDTBPageLayouts adds the given related objects to the existing relationships of the dtb_page, optionally inserting them as new records. Appends related to o.R.PageDTBPageLayouts. Sets related.R.Page appropriately.
func (*DTBPage) Delete ¶
Delete deletes a single DTBPage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBPage) Insert ¶
func (o *DTBPage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBPage) MasterPage ¶
MasterPage pointed to by the foreign key.
func (*DTBPage) MasterPageDTBPages ¶
MasterPageDTBPages retrieves all the dtb_page's DTBPages with an executor via master_page_id column.
func (*DTBPage) PageDTBPageLayouts ¶
PageDTBPageLayouts retrieves all the dtb_page_layout's DTBPageLayouts with an executor via page_id column.
func (*DTBPage) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBPage) RemoveMasterPage ¶
func (o *DTBPage) RemoveMasterPage(ctx context.Context, exec boil.ContextExecutor, related *DTBPage) error
RemoveMasterPage relationship. Sets o.R.MasterPage to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBPage) RemoveMasterPageDTBPages ¶
func (o *DTBPage) RemoveMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, related ...*DTBPage) error
RemoveMasterPageDTBPages relationships from objects passed in. Removes related items from R.MasterPageDTBPages (uses pointer comparison, removal does not keep order) Sets related.R.MasterPage.
func (*DTBPage) SetMasterPage ¶
func (o *DTBPage) SetMasterPage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPage) error
SetMasterPage of the dtbPage to the related item. Sets o.R.MasterPage to related. Adds o to related.R.MasterPageDTBPages.
func (*DTBPage) SetMasterPageDTBPages ¶
func (o *DTBPage) SetMasterPageDTBPages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPage) error
SetMasterPageDTBPages removes all previously related items of the dtb_page replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.MasterPage's MasterPageDTBPages accordingly. Replaces o.R.MasterPageDTBPages with related. Sets related.R.MasterPage's MasterPageDTBPages accordingly.
func (*DTBPage) Update ¶
func (o *DTBPage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBPage. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBPage) Upsert ¶
func (o *DTBPage) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBPageHook ¶
DTBPageHook is the signature for custom DTBPage hook methods
type DTBPageLayout ¶
type DTBPageLayout struct { PageID uint `boil:"page_id" json:"page_id" toml:"page_id" yaml:"page_id"` LayoutID uint `boil:"layout_id" json:"layout_id" toml:"layout_id" yaml:"layout_id"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbPageLayoutR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbPageLayoutL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBPageLayout is an object representing the database table.
func FindDTBPageLayout ¶
func FindDTBPageLayout(ctx context.Context, exec boil.ContextExecutor, pageID uint, layoutID uint, selectCols ...string) (*DTBPageLayout, error)
FindDTBPageLayout retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBPageLayout) Delete ¶
func (o *DTBPageLayout) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBPageLayout record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBPageLayout) Insert ¶
func (o *DTBPageLayout) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBPageLayout) Layout ¶
func (o *DTBPageLayout) Layout(mods ...qm.QueryMod) dtbLayoutQuery
Layout pointed to by the foreign key.
func (*DTBPageLayout) Page ¶
func (o *DTBPageLayout) Page(mods ...qm.QueryMod) dtbPageQuery
Page pointed to by the foreign key.
func (*DTBPageLayout) Reload ¶
func (o *DTBPageLayout) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBPageLayout) SetLayout ¶
func (o *DTBPageLayout) SetLayout(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBLayout) error
SetLayout of the dtbPageLayout to the related item. Sets o.R.Layout to related. Adds o to related.R.LayoutDTBPageLayouts.
func (*DTBPageLayout) SetPage ¶
func (o *DTBPageLayout) SetPage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPage) error
SetPage of the dtbPageLayout to the related item. Sets o.R.Page to related. Adds o to related.R.PageDTBPageLayouts.
func (*DTBPageLayout) Update ¶
func (o *DTBPageLayout) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBPageLayout. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBPageLayout) Upsert ¶
func (o *DTBPageLayout) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBPageLayoutHook ¶
type DTBPageLayoutHook func(context.Context, boil.ContextExecutor, *DTBPageLayout) error
DTBPageLayoutHook is the signature for custom DTBPageLayout hook methods
type DTBPageLayoutSlice ¶
type DTBPageLayoutSlice []*DTBPageLayout
DTBPageLayoutSlice is an alias for a slice of pointers to DTBPageLayout. This should generally be used opposed to []DTBPageLayout.
func (DTBPageLayoutSlice) DeleteAll ¶
func (o DTBPageLayoutSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBPageLayoutSlice) ReloadAll ¶
func (o *DTBPageLayoutSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBPageLayoutSlice) UpdateAll ¶
func (o DTBPageLayoutSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBPageSlice ¶
type DTBPageSlice []*DTBPage
DTBPageSlice is an alias for a slice of pointers to DTBPage. This should generally be used opposed to []DTBPage.
func (DTBPageSlice) DeleteAll ¶
func (o DTBPageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBPageSlice) ReloadAll ¶
func (o *DTBPageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBPageSlice) UpdateAll ¶
func (o DTBPageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBPayment ¶
type DTBPayment struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` PaymentMethod null.String `boil:"payment_method" json:"payment_method,omitempty" toml:"payment_method" yaml:"payment_method,omitempty"` Charge types.NullDecimal `boil:"charge" json:"charge,omitempty" toml:"charge" yaml:"charge,omitempty"` RuleMax types.NullDecimal `boil:"rule_max" json:"rule_max,omitempty" toml:"rule_max" yaml:"rule_max,omitempty"` SortNo null.Uint16 `boil:"sort_no" json:"sort_no,omitempty" toml:"sort_no" yaml:"sort_no,omitempty"` Fixed bool `boil:"fixed" json:"fixed" toml:"fixed" yaml:"fixed"` PaymentImage null.String `boil:"payment_image" json:"payment_image,omitempty" toml:"payment_image" yaml:"payment_image,omitempty"` RuleMin types.NullDecimal `boil:"rule_min" json:"rule_min,omitempty" toml:"rule_min" yaml:"rule_min,omitempty"` MethodClass null.String `boil:"method_class" json:"method_class,omitempty" toml:"method_class" yaml:"method_class,omitempty"` Visible bool `boil:"visible" json:"visible" toml:"visible" yaml:"visible"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbPaymentR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbPaymentL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBPayment is an object representing the database table.
func FindDTBPayment ¶
func FindDTBPayment(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBPayment, error)
FindDTBPayment retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBPayment) AddPaymentDTBOrders ¶
func (o *DTBPayment) AddPaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddPaymentDTBOrders adds the given related objects to the existing relationships of the dtb_payment, optionally inserting them as new records. Appends related to o.R.PaymentDTBOrders. Sets related.R.Payment appropriately.
func (*DTBPayment) AddPaymentDTBPaymentOptions ¶
func (o *DTBPayment) AddPaymentDTBPaymentOptions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBPaymentOption) error
AddPaymentDTBPaymentOptions adds the given related objects to the existing relationships of the dtb_payment, optionally inserting them as new records. Appends related to o.R.PaymentDTBPaymentOptions. Sets related.R.Payment appropriately.
func (*DTBPayment) Delete ¶
func (o *DTBPayment) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBPayment record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBPayment) Insert ¶
func (o *DTBPayment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBPayment) PaymentDTBOrders ¶
func (o *DTBPayment) PaymentDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
PaymentDTBOrders retrieves all the dtb_order's DTBOrders with an executor via payment_id column.
func (*DTBPayment) PaymentDTBPaymentOptions ¶
func (o *DTBPayment) PaymentDTBPaymentOptions(mods ...qm.QueryMod) dtbPaymentOptionQuery
PaymentDTBPaymentOptions retrieves all the dtb_payment_option's DTBPaymentOptions with an executor via payment_id column.
func (*DTBPayment) Reload ¶
func (o *DTBPayment) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBPayment) RemovePaymentDTBOrders ¶
func (o *DTBPayment) RemovePaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemovePaymentDTBOrders relationships from objects passed in. Removes related items from R.PaymentDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Payment.
func (*DTBPayment) SetPaymentDTBOrders ¶
func (o *DTBPayment) SetPaymentDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetPaymentDTBOrders removes all previously related items of the dtb_payment replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Payment's PaymentDTBOrders accordingly. Replaces o.R.PaymentDTBOrders with related. Sets related.R.Payment's PaymentDTBOrders accordingly.
func (*DTBPayment) Update ¶
func (o *DTBPayment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBPayment. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBPayment) Upsert ¶
func (o *DTBPayment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBPaymentHook ¶
type DTBPaymentHook func(context.Context, boil.ContextExecutor, *DTBPayment) error
DTBPaymentHook is the signature for custom DTBPayment hook methods
type DTBPaymentOption ¶
type DTBPaymentOption struct { DeliveryID uint `boil:"delivery_id" json:"delivery_id" toml:"delivery_id" yaml:"delivery_id"` PaymentID uint `boil:"payment_id" json:"payment_id" toml:"payment_id" yaml:"payment_id"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbPaymentOptionR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbPaymentOptionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBPaymentOption is an object representing the database table.
func FindDTBPaymentOption ¶
func FindDTBPaymentOption(ctx context.Context, exec boil.ContextExecutor, deliveryID uint, paymentID uint, selectCols ...string) (*DTBPaymentOption, error)
FindDTBPaymentOption retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBPaymentOption) Delete ¶
func (o *DTBPaymentOption) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBPaymentOption record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBPaymentOption) Delivery ¶
func (o *DTBPaymentOption) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
Delivery pointed to by the foreign key.
func (*DTBPaymentOption) Insert ¶
func (o *DTBPaymentOption) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBPaymentOption) Payment ¶
func (o *DTBPaymentOption) Payment(mods ...qm.QueryMod) dtbPaymentQuery
Payment pointed to by the foreign key.
func (*DTBPaymentOption) Reload ¶
func (o *DTBPaymentOption) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBPaymentOption) SetDelivery ¶
func (o *DTBPaymentOption) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBDelivery) error
SetDelivery of the dtbPaymentOption to the related item. Sets o.R.Delivery to related. Adds o to related.R.DeliveryDTBPaymentOptions.
func (*DTBPaymentOption) SetPayment ¶
func (o *DTBPaymentOption) SetPayment(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBPayment) error
SetPayment of the dtbPaymentOption to the related item. Sets o.R.Payment to related. Adds o to related.R.PaymentDTBPaymentOptions.
func (*DTBPaymentOption) Update ¶
func (o *DTBPaymentOption) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBPaymentOption. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBPaymentOption) Upsert ¶
func (o *DTBPaymentOption) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBPaymentOptionHook ¶
type DTBPaymentOptionHook func(context.Context, boil.ContextExecutor, *DTBPaymentOption) error
DTBPaymentOptionHook is the signature for custom DTBPaymentOption hook methods
type DTBPaymentOptionSlice ¶
type DTBPaymentOptionSlice []*DTBPaymentOption
DTBPaymentOptionSlice is an alias for a slice of pointers to DTBPaymentOption. This should generally be used opposed to []DTBPaymentOption.
func (DTBPaymentOptionSlice) DeleteAll ¶
func (o DTBPaymentOptionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBPaymentOptionSlice) ReloadAll ¶
func (o *DTBPaymentOptionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBPaymentOptionSlice) UpdateAll ¶
func (o DTBPaymentOptionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBPaymentSlice ¶
type DTBPaymentSlice []*DTBPayment
DTBPaymentSlice is an alias for a slice of pointers to DTBPayment. This should generally be used opposed to []DTBPayment.
func (DTBPaymentSlice) DeleteAll ¶
func (o DTBPaymentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBPaymentSlice) ReloadAll ¶
func (o *DTBPaymentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBPaymentSlice) UpdateAll ¶
func (o DTBPaymentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBPlugin ¶
type DTBPlugin struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Code string `boil:"code" json:"code" toml:"code" yaml:"code"` Enabled bool `boil:"enabled" json:"enabled" toml:"enabled" yaml:"enabled"` Version string `boil:"version" json:"version" toml:"version" yaml:"version"` Source string `boil:"source" json:"source" toml:"source" yaml:"source"` Initialized bool `boil:"initialized" json:"initialized" toml:"initialized" yaml:"initialized"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbPluginR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbPluginL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBPlugin is an object representing the database table.
func FindDTBPlugin ¶
func FindDTBPlugin(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBPlugin, error)
FindDTBPlugin retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBPlugin) Delete ¶
Delete deletes a single DTBPlugin record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBPlugin) Insert ¶
func (o *DTBPlugin) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBPlugin) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBPlugin) Update ¶
func (o *DTBPlugin) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBPlugin. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBPlugin) Upsert ¶
func (o *DTBPlugin) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBPluginHook ¶
DTBPluginHook is the signature for custom DTBPlugin hook methods
type DTBPluginSlice ¶
type DTBPluginSlice []*DTBPlugin
DTBPluginSlice is an alias for a slice of pointers to DTBPlugin. This should generally be used opposed to []DTBPlugin.
func (DTBPluginSlice) DeleteAll ¶
func (o DTBPluginSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBPluginSlice) ReloadAll ¶
func (o *DTBPluginSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBPluginSlice) UpdateAll ¶
func (o DTBPluginSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBProduct ¶
type DTBProduct struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` ProductStatusID null.Uint16 `boil:"product_status_id" json:"product_status_id,omitempty" toml:"product_status_id" yaml:"product_status_id,omitempty"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Note null.String `boil:"note" json:"note,omitempty" toml:"note" yaml:"note,omitempty"` DescriptionList null.String `boil:"description_list" json:"description_list,omitempty" toml:"description_list" yaml:"description_list,omitempty"` DescriptionDetail null.String `boil:"description_detail" json:"description_detail,omitempty" toml:"description_detail" yaml:"description_detail,omitempty"` SearchWord null.String `boil:"search_word" json:"search_word,omitempty" toml:"search_word" yaml:"search_word,omitempty"` FreeArea null.String `boil:"free_area" json:"free_area,omitempty" toml:"free_area" yaml:"free_area,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbProductR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbProductL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBProduct is an object representing the database table.
func FindDTBProduct ¶
func FindDTBProduct(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBProduct, error)
FindDTBProduct retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBProduct) AddProductDTBCustomerFavoriteProducts ¶
func (o *DTBProduct) AddProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerFavoriteProduct) error
AddProductDTBCustomerFavoriteProducts adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBCustomerFavoriteProducts. Sets related.R.Product appropriately.
func (*DTBProduct) AddProductDTBOrderItems ¶
func (o *DTBProduct) AddProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddProductDTBOrderItems adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBOrderItems. Sets related.R.Product appropriately.
func (*DTBProduct) AddProductDTBProductCategories ¶
func (o *DTBProduct) AddProductDTBProductCategories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductCategory) error
AddProductDTBProductCategories adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBProductCategories. Sets related.R.Product appropriately.
func (*DTBProduct) AddProductDTBProductImages ¶
func (o *DTBProduct) AddProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductImage) error
AddProductDTBProductImages adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBProductImages. Sets related.R.Product appropriately.
func (*DTBProduct) AddProductDTBProductTags ¶
func (o *DTBProduct) AddProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductTag) error
AddProductDTBProductTags adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBProductTags. Sets related.R.Product appropriately.
func (*DTBProduct) AddProductDTBTaxRules ¶
func (o *DTBProduct) AddProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
AddProductDTBTaxRules adds the given related objects to the existing relationships of the dtb_product, optionally inserting them as new records. Appends related to o.R.ProductDTBTaxRules. Sets related.R.Product appropriately.
func (*DTBProduct) Delete ¶
func (o *DTBProduct) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBProduct record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBProduct) Insert ¶
func (o *DTBProduct) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBProduct) ProductDTBCustomerFavoriteProducts ¶
func (o *DTBProduct) ProductDTBCustomerFavoriteProducts(mods ...qm.QueryMod) dtbCustomerFavoriteProductQuery
ProductDTBCustomerFavoriteProducts retrieves all the dtb_customer_favorite_product's DTBCustomerFavoriteProducts with an executor via product_id column.
func (*DTBProduct) ProductDTBOrderItems ¶
func (o *DTBProduct) ProductDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
ProductDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via product_id column.
func (*DTBProduct) ProductDTBProductCategories ¶
func (o *DTBProduct) ProductDTBProductCategories(mods ...qm.QueryMod) dtbProductCategoryQuery
ProductDTBProductCategories retrieves all the dtb_product_category's DTBProductCategories with an executor via product_id column.
func (*DTBProduct) ProductDTBProductImages ¶
func (o *DTBProduct) ProductDTBProductImages(mods ...qm.QueryMod) dtbProductImageQuery
ProductDTBProductImages retrieves all the dtb_product_image's DTBProductImages with an executor via product_id column.
func (*DTBProduct) ProductDTBProductTags ¶
func (o *DTBProduct) ProductDTBProductTags(mods ...qm.QueryMod) dtbProductTagQuery
ProductDTBProductTags retrieves all the dtb_product_tag's DTBProductTags with an executor via product_id column.
func (*DTBProduct) ProductDTBTaxRules ¶
func (o *DTBProduct) ProductDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
ProductDTBTaxRules retrieves all the dtb_tax_rule's DTBTaxRules with an executor via product_id column.
func (*DTBProduct) ProductStatus ¶
func (o *DTBProduct) ProductStatus(mods ...qm.QueryMod) mtbProductStatusQuery
ProductStatus pointed to by the foreign key.
func (*DTBProduct) Reload ¶
func (o *DTBProduct) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBProduct) RemoveProductDTBCustomerFavoriteProducts ¶
func (o *DTBProduct) RemoveProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerFavoriteProduct) error
RemoveProductDTBCustomerFavoriteProducts relationships from objects passed in. Removes related items from R.ProductDTBCustomerFavoriteProducts (uses pointer comparison, removal does not keep order) Sets related.R.Product.
func (*DTBProduct) RemoveProductDTBOrderItems ¶
func (o *DTBProduct) RemoveProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveProductDTBOrderItems relationships from objects passed in. Removes related items from R.ProductDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.Product.
func (*DTBProduct) RemoveProductDTBProductImages ¶
func (o *DTBProduct) RemoveProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductImage) error
RemoveProductDTBProductImages relationships from objects passed in. Removes related items from R.ProductDTBProductImages (uses pointer comparison, removal does not keep order) Sets related.R.Product.
func (*DTBProduct) RemoveProductDTBProductTags ¶
func (o *DTBProduct) RemoveProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductTag) error
RemoveProductDTBProductTags relationships from objects passed in. Removes related items from R.ProductDTBProductTags (uses pointer comparison, removal does not keep order) Sets related.R.Product.
func (*DTBProduct) RemoveProductDTBTaxRules ¶
func (o *DTBProduct) RemoveProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
RemoveProductDTBTaxRules relationships from objects passed in. Removes related items from R.ProductDTBTaxRules (uses pointer comparison, removal does not keep order) Sets related.R.Product.
func (*DTBProduct) RemoveProductStatus ¶
func (o *DTBProduct) RemoveProductStatus(ctx context.Context, exec boil.ContextExecutor, related *MTBProductStatus) error
RemoveProductStatus relationship. Sets o.R.ProductStatus to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBProduct) SetProductDTBCustomerFavoriteProducts ¶
func (o *DTBProduct) SetProductDTBCustomerFavoriteProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerFavoriteProduct) error
SetProductDTBCustomerFavoriteProducts removes all previously related items of the dtb_product replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Product's ProductDTBCustomerFavoriteProducts accordingly. Replaces o.R.ProductDTBCustomerFavoriteProducts with related. Sets related.R.Product's ProductDTBCustomerFavoriteProducts accordingly.
func (*DTBProduct) SetProductDTBOrderItems ¶
func (o *DTBProduct) SetProductDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetProductDTBOrderItems removes all previously related items of the dtb_product replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Product's ProductDTBOrderItems accordingly. Replaces o.R.ProductDTBOrderItems with related. Sets related.R.Product's ProductDTBOrderItems accordingly.
func (*DTBProduct) SetProductDTBProductImages ¶
func (o *DTBProduct) SetProductDTBProductImages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductImage) error
SetProductDTBProductImages removes all previously related items of the dtb_product replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Product's ProductDTBProductImages accordingly. Replaces o.R.ProductDTBProductImages with related. Sets related.R.Product's ProductDTBProductImages accordingly.
func (*DTBProduct) SetProductDTBProductTags ¶
func (o *DTBProduct) SetProductDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductTag) error
SetProductDTBProductTags removes all previously related items of the dtb_product replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Product's ProductDTBProductTags accordingly. Replaces o.R.ProductDTBProductTags with related. Sets related.R.Product's ProductDTBProductTags accordingly.
func (*DTBProduct) SetProductDTBTaxRules ¶
func (o *DTBProduct) SetProductDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
SetProductDTBTaxRules removes all previously related items of the dtb_product replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Product's ProductDTBTaxRules accordingly. Replaces o.R.ProductDTBTaxRules with related. Sets related.R.Product's ProductDTBTaxRules accordingly.
func (*DTBProduct) SetProductStatus ¶
func (o *DTBProduct) SetProductStatus(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBProductStatus) error
SetProductStatus of the dtbProduct to the related item. Sets o.R.ProductStatus to related. Adds o to related.R.ProductStatusDTBProducts.
func (*DTBProduct) Update ¶
func (o *DTBProduct) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBProduct. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBProduct) Upsert ¶
func (o *DTBProduct) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBProductCategory ¶
type DTBProductCategory struct { ProductID uint `boil:"product_id" json:"product_id" toml:"product_id" yaml:"product_id"` CategoryID uint `boil:"category_id" json:"category_id" toml:"category_id" yaml:"category_id"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbProductCategoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbProductCategoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBProductCategory is an object representing the database table.
func FindDTBProductCategory ¶
func FindDTBProductCategory(ctx context.Context, exec boil.ContextExecutor, productID uint, categoryID uint, selectCols ...string) (*DTBProductCategory, error)
FindDTBProductCategory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBProductCategory) Category ¶
func (o *DTBProductCategory) Category(mods ...qm.QueryMod) dtbCategoryQuery
Category pointed to by the foreign key.
func (*DTBProductCategory) Delete ¶
func (o *DTBProductCategory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBProductCategory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBProductCategory) Insert ¶
func (o *DTBProductCategory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBProductCategory) Product ¶
func (o *DTBProductCategory) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBProductCategory) Reload ¶
func (o *DTBProductCategory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBProductCategory) SetCategory ¶
func (o *DTBProductCategory) SetCategory(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBCategory) error
SetCategory of the dtbProductCategory to the related item. Sets o.R.Category to related. Adds o to related.R.CategoryDTBProductCategories.
func (*DTBProductCategory) SetProduct ¶
func (o *DTBProductCategory) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbProductCategory to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBProductCategories.
func (*DTBProductCategory) Update ¶
func (o *DTBProductCategory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBProductCategory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBProductCategory) Upsert ¶
func (o *DTBProductCategory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBProductCategoryHook ¶
type DTBProductCategoryHook func(context.Context, boil.ContextExecutor, *DTBProductCategory) error
DTBProductCategoryHook is the signature for custom DTBProductCategory hook methods
type DTBProductCategorySlice ¶
type DTBProductCategorySlice []*DTBProductCategory
DTBProductCategorySlice is an alias for a slice of pointers to DTBProductCategory. This should generally be used opposed to []DTBProductCategory.
func (DTBProductCategorySlice) DeleteAll ¶
func (o DTBProductCategorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBProductCategorySlice) ReloadAll ¶
func (o *DTBProductCategorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBProductCategorySlice) UpdateAll ¶
func (o DTBProductCategorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBProductHook ¶
type DTBProductHook func(context.Context, boil.ContextExecutor, *DTBProduct) error
DTBProductHook is the signature for custom DTBProduct hook methods
type DTBProductImage ¶
type DTBProductImage struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ProductID null.Uint `boil:"product_id" json:"product_id,omitempty" toml:"product_id" yaml:"product_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` FileName string `boil:"file_name" json:"file_name" toml:"file_name" yaml:"file_name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbProductImageR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbProductImageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBProductImage is an object representing the database table.
func FindDTBProductImage ¶
func FindDTBProductImage(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBProductImage, error)
FindDTBProductImage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBProductImage) Delete ¶
func (o *DTBProductImage) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBProductImage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBProductImage) Insert ¶
func (o *DTBProductImage) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBProductImage) Product ¶
func (o *DTBProductImage) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBProductImage) Reload ¶
func (o *DTBProductImage) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBProductImage) RemoveProduct ¶
func (o *DTBProductImage) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
RemoveProduct relationship. Sets o.R.Product to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBProductImage) SetProduct ¶
func (o *DTBProductImage) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbProductImage to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBProductImages.
func (*DTBProductImage) Update ¶
func (o *DTBProductImage) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBProductImage. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBProductImage) Upsert ¶
func (o *DTBProductImage) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBProductImageHook ¶
type DTBProductImageHook func(context.Context, boil.ContextExecutor, *DTBProductImage) error
DTBProductImageHook is the signature for custom DTBProductImage hook methods
type DTBProductImageSlice ¶
type DTBProductImageSlice []*DTBProductImage
DTBProductImageSlice is an alias for a slice of pointers to DTBProductImage. This should generally be used opposed to []DTBProductImage.
func (DTBProductImageSlice) DeleteAll ¶
func (o DTBProductImageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBProductImageSlice) ReloadAll ¶
func (o *DTBProductImageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBProductImageSlice) UpdateAll ¶
func (o DTBProductImageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBProductSlice ¶
type DTBProductSlice []*DTBProduct
DTBProductSlice is an alias for a slice of pointers to DTBProduct. This should generally be used opposed to []DTBProduct.
func (DTBProductSlice) DeleteAll ¶
func (o DTBProductSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBProductSlice) ReloadAll ¶
func (o *DTBProductSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBProductSlice) UpdateAll ¶
func (o DTBProductSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBProductStock ¶
type DTBProductStock struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ProductClassID null.Uint `boil:"product_class_id" json:"product_class_id,omitempty" toml:"product_class_id" yaml:"product_class_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` Stock types.NullDecimal `boil:"stock" json:"stock,omitempty" toml:"stock" yaml:"stock,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbProductStockR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbProductStockL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBProductStock is an object representing the database table.
func FindDTBProductStock ¶
func FindDTBProductStock(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBProductStock, error)
FindDTBProductStock retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBProductStock) Delete ¶
func (o *DTBProductStock) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBProductStock record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBProductStock) Insert ¶
func (o *DTBProductStock) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBProductStock) Reload ¶
func (o *DTBProductStock) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBProductStock) Update ¶
func (o *DTBProductStock) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBProductStock. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBProductStock) Upsert ¶
func (o *DTBProductStock) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBProductStockHook ¶
type DTBProductStockHook func(context.Context, boil.ContextExecutor, *DTBProductStock) error
DTBProductStockHook is the signature for custom DTBProductStock hook methods
type DTBProductStockSlice ¶
type DTBProductStockSlice []*DTBProductStock
DTBProductStockSlice is an alias for a slice of pointers to DTBProductStock. This should generally be used opposed to []DTBProductStock.
func (DTBProductStockSlice) DeleteAll ¶
func (o DTBProductStockSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBProductStockSlice) ReloadAll ¶
func (o *DTBProductStockSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBProductStockSlice) UpdateAll ¶
func (o DTBProductStockSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBProductTag ¶
type DTBProductTag struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ProductID null.Uint `boil:"product_id" json:"product_id,omitempty" toml:"product_id" yaml:"product_id,omitempty"` TagID null.Uint `boil:"tag_id" json:"tag_id,omitempty" toml:"tag_id" yaml:"tag_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbProductTagR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbProductTagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBProductTag is an object representing the database table.
func FindDTBProductTag ¶
func FindDTBProductTag(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBProductTag, error)
FindDTBProductTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBProductTag) Delete ¶
func (o *DTBProductTag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBProductTag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBProductTag) Insert ¶
func (o *DTBProductTag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBProductTag) Product ¶
func (o *DTBProductTag) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBProductTag) Reload ¶
func (o *DTBProductTag) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBProductTag) RemoveProduct ¶
func (o *DTBProductTag) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
RemoveProduct relationship. Sets o.R.Product to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBProductTag) RemoveTag ¶
func (o *DTBProductTag) RemoveTag(ctx context.Context, exec boil.ContextExecutor, related *DTBTag) error
RemoveTag relationship. Sets o.R.Tag to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBProductTag) SetProduct ¶
func (o *DTBProductTag) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbProductTag to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBProductTags.
func (*DTBProductTag) SetTag ¶
func (o *DTBProductTag) SetTag(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBTag) error
SetTag of the dtbProductTag to the related item. Sets o.R.Tag to related. Adds o to related.R.TagDTBProductTags.
func (*DTBProductTag) Tag ¶
func (o *DTBProductTag) Tag(mods ...qm.QueryMod) dtbTagQuery
Tag pointed to by the foreign key.
func (*DTBProductTag) Update ¶
func (o *DTBProductTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBProductTag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBProductTag) Upsert ¶
func (o *DTBProductTag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBProductTagHook ¶
type DTBProductTagHook func(context.Context, boil.ContextExecutor, *DTBProductTag) error
DTBProductTagHook is the signature for custom DTBProductTag hook methods
type DTBProductTagSlice ¶
type DTBProductTagSlice []*DTBProductTag
DTBProductTagSlice is an alias for a slice of pointers to DTBProductTag. This should generally be used opposed to []DTBProductTag.
func (DTBProductTagSlice) DeleteAll ¶
func (o DTBProductTagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBProductTagSlice) ReloadAll ¶
func (o *DTBProductTagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBProductTagSlice) UpdateAll ¶
func (o DTBProductTagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBShipping ¶
type DTBShipping struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` OrderID null.Uint `boil:"order_id" json:"order_id,omitempty" toml:"order_id" yaml:"order_id,omitempty"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` DeliveryID null.Uint `boil:"delivery_id" json:"delivery_id,omitempty" toml:"delivery_id" yaml:"delivery_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` Name01 string `boil:"name01" json:"name01" toml:"name01" yaml:"name01"` Name02 string `boil:"name02" json:"name02" toml:"name02" yaml:"name02"` Kana01 null.String `boil:"kana01" json:"kana01,omitempty" toml:"kana01" yaml:"kana01,omitempty"` Kana02 null.String `boil:"kana02" json:"kana02,omitempty" toml:"kana02" yaml:"kana02,omitempty"` CompanyName null.String `boil:"company_name" json:"company_name,omitempty" toml:"company_name" yaml:"company_name,omitempty"` PhoneNumber null.String `boil:"phone_number" json:"phone_number,omitempty" toml:"phone_number" yaml:"phone_number,omitempty"` PostalCode null.String `boil:"postal_code" json:"postal_code,omitempty" toml:"postal_code" yaml:"postal_code,omitempty"` Addr01 null.String `boil:"addr01" json:"addr01,omitempty" toml:"addr01" yaml:"addr01,omitempty"` Addr02 null.String `boil:"addr02" json:"addr02,omitempty" toml:"addr02" yaml:"addr02,omitempty"` DeliveryName null.String `boil:"delivery_name" json:"delivery_name,omitempty" toml:"delivery_name" yaml:"delivery_name,omitempty"` TimeID null.Uint `boil:"time_id" json:"time_id,omitempty" toml:"time_id" yaml:"time_id,omitempty"` DeliveryTime null.String `boil:"delivery_time" json:"delivery_time,omitempty" toml:"delivery_time" yaml:"delivery_time,omitempty"` DeliveryDate null.Time `boil:"delivery_date" json:"delivery_date,omitempty" toml:"delivery_date" yaml:"delivery_date,omitempty"` ShippingDate null.Time `boil:"shipping_date" json:"shipping_date,omitempty" toml:"shipping_date" yaml:"shipping_date,omitempty"` TrackingNumber null.String `boil:"tracking_number" json:"tracking_number,omitempty" toml:"tracking_number" yaml:"tracking_number,omitempty"` Note null.String `boil:"note" json:"note,omitempty" toml:"note" yaml:"note,omitempty"` SortNo null.Uint16 `boil:"sort_no" json:"sort_no,omitempty" toml:"sort_no" yaml:"sort_no,omitempty"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` MailSendDate null.Time `boil:"mail_send_date" json:"mail_send_date,omitempty" toml:"mail_send_date" yaml:"mail_send_date,omitempty"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbShippingR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbShippingL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBShipping is an object representing the database table.
func FindDTBShipping ¶
func FindDTBShipping(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBShipping, error)
FindDTBShipping retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBShipping) AddShippingDTBOrderItems ¶
func (o *DTBShipping) AddShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddShippingDTBOrderItems adds the given related objects to the existing relationships of the dtb_shipping, optionally inserting them as new records. Appends related to o.R.ShippingDTBOrderItems. Sets related.R.Shipping appropriately.
func (*DTBShipping) Country ¶
func (o *DTBShipping) Country(mods ...qm.QueryMod) mtbCountryQuery
Country pointed to by the foreign key.
func (*DTBShipping) Delete ¶
func (o *DTBShipping) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBShipping record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBShipping) Delivery ¶
func (o *DTBShipping) Delivery(mods ...qm.QueryMod) dtbDeliveryQuery
Delivery pointed to by the foreign key.
func (*DTBShipping) Insert ¶
func (o *DTBShipping) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBShipping) Order ¶
func (o *DTBShipping) Order(mods ...qm.QueryMod) dtbOrderQuery
Order pointed to by the foreign key.
func (*DTBShipping) Pref ¶
func (o *DTBShipping) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBShipping) Reload ¶
func (o *DTBShipping) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBShipping) RemoveCountry ¶
func (o *DTBShipping) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBShipping) RemoveDelivery ¶
func (o *DTBShipping) RemoveDelivery(ctx context.Context, exec boil.ContextExecutor, related *DTBDelivery) error
RemoveDelivery relationship. Sets o.R.Delivery to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBShipping) RemoveOrder ¶
func (o *DTBShipping) RemoveOrder(ctx context.Context, exec boil.ContextExecutor, related *DTBOrder) error
RemoveOrder relationship. Sets o.R.Order to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBShipping) RemovePref ¶
func (o *DTBShipping) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBShipping) RemoveShippingDTBOrderItems ¶
func (o *DTBShipping) RemoveShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveShippingDTBOrderItems relationships from objects passed in. Removes related items from R.ShippingDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.Shipping.
func (*DTBShipping) SetCountry ¶
func (o *DTBShipping) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbShipping to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBShippings.
func (*DTBShipping) SetDelivery ¶
func (o *DTBShipping) SetDelivery(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBDelivery) error
SetDelivery of the dtbShipping to the related item. Sets o.R.Delivery to related. Adds o to related.R.DeliveryDTBShippings.
func (*DTBShipping) SetOrder ¶
func (o *DTBShipping) SetOrder(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBOrder) error
SetOrder of the dtbShipping to the related item. Sets o.R.Order to related. Adds o to related.R.OrderDTBShippings.
func (*DTBShipping) SetPref ¶
func (o *DTBShipping) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbShipping to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBShippings.
func (*DTBShipping) SetShippingDTBOrderItems ¶
func (o *DTBShipping) SetShippingDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetShippingDTBOrderItems removes all previously related items of the dtb_shipping replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Shipping's ShippingDTBOrderItems accordingly. Replaces o.R.ShippingDTBOrderItems with related. Sets related.R.Shipping's ShippingDTBOrderItems accordingly.
func (*DTBShipping) ShippingDTBOrderItems ¶
func (o *DTBShipping) ShippingDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
ShippingDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via shipping_id column.
func (*DTBShipping) Update ¶
func (o *DTBShipping) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBShipping. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBShipping) Upsert ¶
func (o *DTBShipping) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBShippingHook ¶
type DTBShippingHook func(context.Context, boil.ContextExecutor, *DTBShipping) error
DTBShippingHook is the signature for custom DTBShipping hook methods
type DTBShippingSlice ¶
type DTBShippingSlice []*DTBShipping
DTBShippingSlice is an alias for a slice of pointers to DTBShipping. This should generally be used opposed to []DTBShipping.
func (DTBShippingSlice) DeleteAll ¶
func (o DTBShippingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBShippingSlice) ReloadAll ¶
func (o *DTBShippingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBShippingSlice) UpdateAll ¶
func (o DTBShippingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBTag ¶
type DTBTag struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbTagR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbTagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBTag is an object representing the database table.
func FindDTBTag ¶
func FindDTBTag(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBTag, error)
FindDTBTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBTag) AddTagDTBProductTags ¶
func (o *DTBTag) AddTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductTag) error
AddTagDTBProductTags adds the given related objects to the existing relationships of the dtb_tag, optionally inserting them as new records. Appends related to o.R.TagDTBProductTags. Sets related.R.Tag appropriately.
func (*DTBTag) Delete ¶
Delete deletes a single DTBTag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBTag) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBTag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBTag) RemoveTagDTBProductTags ¶
func (o *DTBTag) RemoveTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProductTag) error
RemoveTagDTBProductTags relationships from objects passed in. Removes related items from R.TagDTBProductTags (uses pointer comparison, removal does not keep order) Sets related.R.Tag.
func (*DTBTag) SetTagDTBProductTags ¶
func (o *DTBTag) SetTagDTBProductTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProductTag) error
SetTagDTBProductTags removes all previously related items of the dtb_tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Tag's TagDTBProductTags accordingly. Replaces o.R.TagDTBProductTags with related. Sets related.R.Tag's TagDTBProductTags accordingly.
func (*DTBTag) TagDTBProductTags ¶
TagDTBProductTags retrieves all the dtb_product_tag's DTBProductTags with an executor via tag_id column.
func (*DTBTag) Update ¶
func (o *DTBTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBTag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBTag) Upsert ¶
func (o *DTBTag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBTagHook ¶
DTBTagHook is the signature for custom DTBTag hook methods
type DTBTagSlice ¶
type DTBTagSlice []*DTBTag
DTBTagSlice is an alias for a slice of pointers to DTBTag. This should generally be used opposed to []DTBTag.
func (DTBTagSlice) DeleteAll ¶
func (o DTBTagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBTagSlice) ReloadAll ¶
func (o *DTBTagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBTagSlice) UpdateAll ¶
func (o DTBTagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBTaxRule ¶
type DTBTaxRule struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` ProductClassID null.Uint `boil:"product_class_id" json:"product_class_id,omitempty" toml:"product_class_id" yaml:"product_class_id,omitempty"` CreatorID null.Uint `boil:"creator_id" json:"creator_id,omitempty" toml:"creator_id" yaml:"creator_id,omitempty"` CountryID null.Uint16 `boil:"country_id" json:"country_id,omitempty" toml:"country_id" yaml:"country_id,omitempty"` PrefID null.Uint16 `boil:"pref_id" json:"pref_id,omitempty" toml:"pref_id" yaml:"pref_id,omitempty"` ProductID null.Uint `boil:"product_id" json:"product_id,omitempty" toml:"product_id" yaml:"product_id,omitempty"` RoundingTypeID null.Uint16 `boil:"rounding_type_id" json:"rounding_type_id,omitempty" toml:"rounding_type_id" yaml:"rounding_type_id,omitempty"` TaxRate types.Decimal `boil:"tax_rate" json:"tax_rate" toml:"tax_rate" yaml:"tax_rate"` TaxAdjust types.Decimal `boil:"tax_adjust" json:"tax_adjust" toml:"tax_adjust" yaml:"tax_adjust"` ApplyDate time.Time `boil:"apply_date" json:"apply_date" toml:"apply_date" yaml:"apply_date"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbTaxRuleR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbTaxRuleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBTaxRule is an object representing the database table.
func FindDTBTaxRule ¶
func FindDTBTaxRule(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBTaxRule, error)
FindDTBTaxRule retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBTaxRule) Country ¶
func (o *DTBTaxRule) Country(mods ...qm.QueryMod) mtbCountryQuery
Country pointed to by the foreign key.
func (*DTBTaxRule) Delete ¶
func (o *DTBTaxRule) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBTaxRule record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBTaxRule) Insert ¶
func (o *DTBTaxRule) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBTaxRule) Pref ¶
func (o *DTBTaxRule) Pref(mods ...qm.QueryMod) mtbPrefQuery
Pref pointed to by the foreign key.
func (*DTBTaxRule) Product ¶
func (o *DTBTaxRule) Product(mods ...qm.QueryMod) dtbProductQuery
Product pointed to by the foreign key.
func (*DTBTaxRule) Reload ¶
func (o *DTBTaxRule) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBTaxRule) RemoveCountry ¶
func (o *DTBTaxRule) RemoveCountry(ctx context.Context, exec boil.ContextExecutor, related *MTBCountry) error
RemoveCountry relationship. Sets o.R.Country to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBTaxRule) RemovePref ¶
func (o *DTBTaxRule) RemovePref(ctx context.Context, exec boil.ContextExecutor, related *MTBPref) error
RemovePref relationship. Sets o.R.Pref to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBTaxRule) RemoveProduct ¶
func (o *DTBTaxRule) RemoveProduct(ctx context.Context, exec boil.ContextExecutor, related *DTBProduct) error
RemoveProduct relationship. Sets o.R.Product to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBTaxRule) RemoveRoundingType ¶
func (o *DTBTaxRule) RemoveRoundingType(ctx context.Context, exec boil.ContextExecutor, related *MTBRoundingType) error
RemoveRoundingType relationship. Sets o.R.RoundingType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBTaxRule) RoundingType ¶
func (o *DTBTaxRule) RoundingType(mods ...qm.QueryMod) mtbRoundingTypeQuery
RoundingType pointed to by the foreign key.
func (*DTBTaxRule) SetCountry ¶
func (o *DTBTaxRule) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBCountry) error
SetCountry of the dtbTaxRule to the related item. Sets o.R.Country to related. Adds o to related.R.CountryDTBTaxRules.
func (*DTBTaxRule) SetPref ¶
func (o *DTBTaxRule) SetPref(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBPref) error
SetPref of the dtbTaxRule to the related item. Sets o.R.Pref to related. Adds o to related.R.PrefDTBTaxRules.
func (*DTBTaxRule) SetProduct ¶
func (o *DTBTaxRule) SetProduct(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DTBProduct) error
SetProduct of the dtbTaxRule to the related item. Sets o.R.Product to related. Adds o to related.R.ProductDTBTaxRules.
func (*DTBTaxRule) SetRoundingType ¶
func (o *DTBTaxRule) SetRoundingType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBRoundingType) error
SetRoundingType of the dtbTaxRule to the related item. Sets o.R.RoundingType to related. Adds o to related.R.RoundingTypeDTBTaxRules.
func (*DTBTaxRule) Update ¶
func (o *DTBTaxRule) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBTaxRule. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBTaxRule) Upsert ¶
func (o *DTBTaxRule) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBTaxRuleHook ¶
type DTBTaxRuleHook func(context.Context, boil.ContextExecutor, *DTBTaxRule) error
DTBTaxRuleHook is the signature for custom DTBTaxRule hook methods
type DTBTaxRuleSlice ¶
type DTBTaxRuleSlice []*DTBTaxRule
DTBTaxRuleSlice is an alias for a slice of pointers to DTBTaxRule. This should generally be used opposed to []DTBTaxRule.
func (DTBTaxRuleSlice) DeleteAll ¶
func (o DTBTaxRuleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBTaxRuleSlice) ReloadAll ¶
func (o *DTBTaxRuleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBTaxRuleSlice) UpdateAll ¶
func (o DTBTaxRuleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DTBTemplate ¶
type DTBTemplate struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` DeviceTypeID null.Uint16 `boil:"device_type_id" json:"device_type_id,omitempty" toml:"device_type_id" yaml:"device_type_id,omitempty"` TemplateCode string `boil:"template_code" json:"template_code" toml:"template_code" yaml:"template_code"` TemplateName string `boil:"template_name" json:"template_name" toml:"template_name" yaml:"template_name"` CreateDate time.Time `boil:"create_date" json:"create_date" toml:"create_date" yaml:"create_date"` UpdateDate time.Time `boil:"update_date" json:"update_date" toml:"update_date" yaml:"update_date"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *dtbTemplateR `boil:"-" json:"-" toml:"-" yaml:"-"` L dtbTemplateL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DTBTemplate is an object representing the database table.
func FindDTBTemplate ¶
func FindDTBTemplate(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*DTBTemplate, error)
FindDTBTemplate retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DTBTemplate) Delete ¶
func (o *DTBTemplate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DTBTemplate record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DTBTemplate) DeviceType ¶
func (o *DTBTemplate) DeviceType(mods ...qm.QueryMod) mtbDeviceTypeQuery
DeviceType pointed to by the foreign key.
func (*DTBTemplate) Insert ¶
func (o *DTBTemplate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DTBTemplate) Reload ¶
func (o *DTBTemplate) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DTBTemplate) RemoveDeviceType ¶
func (o *DTBTemplate) RemoveDeviceType(ctx context.Context, exec boil.ContextExecutor, related *MTBDeviceType) error
RemoveDeviceType relationship. Sets o.R.DeviceType to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*DTBTemplate) SetDeviceType ¶
func (o *DTBTemplate) SetDeviceType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *MTBDeviceType) error
SetDeviceType of the dtbTemplate to the related item. Sets o.R.DeviceType to related. Adds o to related.R.DeviceTypeDTBTemplates.
func (*DTBTemplate) Update ¶
func (o *DTBTemplate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DTBTemplate. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DTBTemplate) Upsert ¶
func (o *DTBTemplate) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DTBTemplateHook ¶
type DTBTemplateHook func(context.Context, boil.ContextExecutor, *DTBTemplate) error
DTBTemplateHook is the signature for custom DTBTemplate hook methods
type DTBTemplateSlice ¶
type DTBTemplateSlice []*DTBTemplate
DTBTemplateSlice is an alias for a slice of pointers to DTBTemplate. This should generally be used opposed to []DTBTemplate.
func (DTBTemplateSlice) DeleteAll ¶
func (o DTBTemplateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DTBTemplateSlice) ReloadAll ¶
func (o *DTBTemplateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DTBTemplateSlice) UpdateAll ¶
func (o DTBTemplateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type MTBAuthority ¶
type MTBAuthority struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbAuthorityR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbAuthorityL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBAuthority is an object representing the database table.
func FindMTBAuthority ¶
func FindMTBAuthority(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBAuthority, error)
FindMTBAuthority retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBAuthority) AddAuthorityDTBAuthorityRoles ¶
func (o *MTBAuthority) AddAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBAuthorityRole) error
AddAuthorityDTBAuthorityRoles adds the given related objects to the existing relationships of the mtb_authority, optionally inserting them as new records. Appends related to o.R.AuthorityDTBAuthorityRoles. Sets related.R.Authority appropriately.
func (*MTBAuthority) AuthorityDTBAuthorityRoles ¶
func (o *MTBAuthority) AuthorityDTBAuthorityRoles(mods ...qm.QueryMod) dtbAuthorityRoleQuery
AuthorityDTBAuthorityRoles retrieves all the dtb_authority_role's DTBAuthorityRoles with an executor via authority_id column.
func (*MTBAuthority) Delete ¶
func (o *MTBAuthority) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBAuthority record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBAuthority) Insert ¶
func (o *MTBAuthority) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBAuthority) Reload ¶
func (o *MTBAuthority) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBAuthority) RemoveAuthorityDTBAuthorityRoles ¶
func (o *MTBAuthority) RemoveAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, related ...*DTBAuthorityRole) error
RemoveAuthorityDTBAuthorityRoles relationships from objects passed in. Removes related items from R.AuthorityDTBAuthorityRoles (uses pointer comparison, removal does not keep order) Sets related.R.Authority.
func (*MTBAuthority) SetAuthorityDTBAuthorityRoles ¶
func (o *MTBAuthority) SetAuthorityDTBAuthorityRoles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBAuthorityRole) error
SetAuthorityDTBAuthorityRoles removes all previously related items of the mtb_authority replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Authority's AuthorityDTBAuthorityRoles accordingly. Replaces o.R.AuthorityDTBAuthorityRoles with related. Sets related.R.Authority's AuthorityDTBAuthorityRoles accordingly.
func (*MTBAuthority) Update ¶
func (o *MTBAuthority) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBAuthority. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBAuthority) Upsert ¶
func (o *MTBAuthority) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBAuthorityHook ¶
type MTBAuthorityHook func(context.Context, boil.ContextExecutor, *MTBAuthority) error
MTBAuthorityHook is the signature for custom MTBAuthority hook methods
type MTBAuthoritySlice ¶
type MTBAuthoritySlice []*MTBAuthority
MTBAuthoritySlice is an alias for a slice of pointers to MTBAuthority. This should generally be used opposed to []MTBAuthority.
func (MTBAuthoritySlice) DeleteAll ¶
func (o MTBAuthoritySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBAuthoritySlice) ReloadAll ¶
func (o *MTBAuthoritySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBAuthoritySlice) UpdateAll ¶
func (o MTBAuthoritySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBCSVType ¶
type MTBCSVType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbCSVTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbCSVTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBCSVType is an object representing the database table.
func FindMTBCSVType ¶
func FindMTBCSVType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBCSVType, error)
FindMTBCSVType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBCSVType) AddCSVTypeDTBCSVS ¶
func (o *MTBCSVType) AddCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCSV) error
AddCSVTypeDTBCSVS adds the given related objects to the existing relationships of the mtb_csv_type, optionally inserting them as new records. Appends related to o.R.CSVTypeDTBCSVS. Sets related.R.CSVType appropriately.
func (*MTBCSVType) CSVTypeDTBCSVS ¶
func (o *MTBCSVType) CSVTypeDTBCSVS(mods ...qm.QueryMod) dtbCSVQuery
CSVTypeDTBCSVS retrieves all the dtb_csv's DTBCSVS with an executor via csv_type_id column.
func (*MTBCSVType) Delete ¶
func (o *MTBCSVType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBCSVType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBCSVType) Insert ¶
func (o *MTBCSVType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBCSVType) Reload ¶
func (o *MTBCSVType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBCSVType) RemoveCSVTypeDTBCSVS ¶
func (o *MTBCSVType) RemoveCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCSV) error
RemoveCSVTypeDTBCSVS relationships from objects passed in. Removes related items from R.CSVTypeDTBCSVS (uses pointer comparison, removal does not keep order) Sets related.R.CSVType.
func (*MTBCSVType) SetCSVTypeDTBCSVS ¶
func (o *MTBCSVType) SetCSVTypeDTBCSVS(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCSV) error
SetCSVTypeDTBCSVS removes all previously related items of the mtb_csv_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CSVType's CSVTypeDTBCSVS accordingly. Replaces o.R.CSVTypeDTBCSVS with related. Sets related.R.CSVType's CSVTypeDTBCSVS accordingly.
func (*MTBCSVType) Update ¶
func (o *MTBCSVType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBCSVType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBCSVType) Upsert ¶
func (o *MTBCSVType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBCSVTypeHook ¶
type MTBCSVTypeHook func(context.Context, boil.ContextExecutor, *MTBCSVType) error
MTBCSVTypeHook is the signature for custom MTBCSVType hook methods
type MTBCSVTypeSlice ¶
type MTBCSVTypeSlice []*MTBCSVType
MTBCSVTypeSlice is an alias for a slice of pointers to MTBCSVType. This should generally be used opposed to []MTBCSVType.
func (MTBCSVTypeSlice) DeleteAll ¶
func (o MTBCSVTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBCSVTypeSlice) ReloadAll ¶
func (o *MTBCSVTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBCSVTypeSlice) UpdateAll ¶
func (o MTBCSVTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBCountry ¶
type MTBCountry struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbCountryR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbCountryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBCountry is an object representing the database table.
func FindMTBCountry ¶
func FindMTBCountry(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBCountry, error)
FindMTBCountry retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBCountry) AddCountryDTBBaseInfos ¶
func (o *MTBCountry) AddCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBaseInfo) error
AddCountryDTBBaseInfos adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBBaseInfos. Sets related.R.Country appropriately.
func (*MTBCountry) AddCountryDTBCustomerAddresses ¶
func (o *MTBCountry) AddCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
AddCountryDTBCustomerAddresses adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBCustomerAddresses. Sets related.R.Country appropriately.
func (*MTBCountry) AddCountryDTBCustomers ¶
func (o *MTBCountry) AddCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
AddCountryDTBCustomers adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBCustomers. Sets related.R.Country appropriately.
func (*MTBCountry) AddCountryDTBOrders ¶
func (o *MTBCountry) AddCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddCountryDTBOrders adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBOrders. Sets related.R.Country appropriately.
func (*MTBCountry) AddCountryDTBShippings ¶
func (o *MTBCountry) AddCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
AddCountryDTBShippings adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBShippings. Sets related.R.Country appropriately.
func (*MTBCountry) AddCountryDTBTaxRules ¶
func (o *MTBCountry) AddCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
AddCountryDTBTaxRules adds the given related objects to the existing relationships of the mtb_country, optionally inserting them as new records. Appends related to o.R.CountryDTBTaxRules. Sets related.R.Country appropriately.
func (*MTBCountry) CountryDTBBaseInfos ¶
func (o *MTBCountry) CountryDTBBaseInfos(mods ...qm.QueryMod) dtbBaseInfoQuery
CountryDTBBaseInfos retrieves all the dtb_base_info's DTBBaseInfos with an executor via country_id column.
func (*MTBCountry) CountryDTBCustomerAddresses ¶
func (o *MTBCountry) CountryDTBCustomerAddresses(mods ...qm.QueryMod) dtbCustomerAddressQuery
CountryDTBCustomerAddresses retrieves all the dtb_customer_address's DTBCustomerAddresses with an executor via country_id column.
func (*MTBCountry) CountryDTBCustomers ¶
func (o *MTBCountry) CountryDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
CountryDTBCustomers retrieves all the dtb_customer's DTBCustomers with an executor via country_id column.
func (*MTBCountry) CountryDTBOrders ¶
func (o *MTBCountry) CountryDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
CountryDTBOrders retrieves all the dtb_order's DTBOrders with an executor via country_id column.
func (*MTBCountry) CountryDTBShippings ¶
func (o *MTBCountry) CountryDTBShippings(mods ...qm.QueryMod) dtbShippingQuery
CountryDTBShippings retrieves all the dtb_shipping's DTBShippings with an executor via country_id column.
func (*MTBCountry) CountryDTBTaxRules ¶
func (o *MTBCountry) CountryDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
CountryDTBTaxRules retrieves all the dtb_tax_rule's DTBTaxRules with an executor via country_id column.
func (*MTBCountry) Delete ¶
func (o *MTBCountry) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBCountry record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBCountry) Insert ¶
func (o *MTBCountry) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBCountry) Reload ¶
func (o *MTBCountry) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBCountry) RemoveCountryDTBBaseInfos ¶
func (o *MTBCountry) RemoveCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBaseInfo) error
RemoveCountryDTBBaseInfos relationships from objects passed in. Removes related items from R.CountryDTBBaseInfos (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) RemoveCountryDTBCustomerAddresses ¶
func (o *MTBCountry) RemoveCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
RemoveCountryDTBCustomerAddresses relationships from objects passed in. Removes related items from R.CountryDTBCustomerAddresses (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) RemoveCountryDTBCustomers ¶
func (o *MTBCountry) RemoveCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
RemoveCountryDTBCustomers relationships from objects passed in. Removes related items from R.CountryDTBCustomers (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) RemoveCountryDTBOrders ¶
func (o *MTBCountry) RemoveCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemoveCountryDTBOrders relationships from objects passed in. Removes related items from R.CountryDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) RemoveCountryDTBShippings ¶
func (o *MTBCountry) RemoveCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
RemoveCountryDTBShippings relationships from objects passed in. Removes related items from R.CountryDTBShippings (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) RemoveCountryDTBTaxRules ¶
func (o *MTBCountry) RemoveCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
RemoveCountryDTBTaxRules relationships from objects passed in. Removes related items from R.CountryDTBTaxRules (uses pointer comparison, removal does not keep order) Sets related.R.Country.
func (*MTBCountry) SetCountryDTBBaseInfos ¶
func (o *MTBCountry) SetCountryDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBaseInfo) error
SetCountryDTBBaseInfos removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBBaseInfos accordingly. Replaces o.R.CountryDTBBaseInfos with related. Sets related.R.Country's CountryDTBBaseInfos accordingly.
func (*MTBCountry) SetCountryDTBCustomerAddresses ¶
func (o *MTBCountry) SetCountryDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
SetCountryDTBCustomerAddresses removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBCustomerAddresses accordingly. Replaces o.R.CountryDTBCustomerAddresses with related. Sets related.R.Country's CountryDTBCustomerAddresses accordingly.
func (*MTBCountry) SetCountryDTBCustomers ¶
func (o *MTBCountry) SetCountryDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
SetCountryDTBCustomers removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBCustomers accordingly. Replaces o.R.CountryDTBCustomers with related. Sets related.R.Country's CountryDTBCustomers accordingly.
func (*MTBCountry) SetCountryDTBOrders ¶
func (o *MTBCountry) SetCountryDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetCountryDTBOrders removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBOrders accordingly. Replaces o.R.CountryDTBOrders with related. Sets related.R.Country's CountryDTBOrders accordingly.
func (*MTBCountry) SetCountryDTBShippings ¶
func (o *MTBCountry) SetCountryDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
SetCountryDTBShippings removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBShippings accordingly. Replaces o.R.CountryDTBShippings with related. Sets related.R.Country's CountryDTBShippings accordingly.
func (*MTBCountry) SetCountryDTBTaxRules ¶
func (o *MTBCountry) SetCountryDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
SetCountryDTBTaxRules removes all previously related items of the mtb_country replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Country's CountryDTBTaxRules accordingly. Replaces o.R.CountryDTBTaxRules with related. Sets related.R.Country's CountryDTBTaxRules accordingly.
func (*MTBCountry) Update ¶
func (o *MTBCountry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBCountry. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBCountry) Upsert ¶
func (o *MTBCountry) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBCountryHook ¶
type MTBCountryHook func(context.Context, boil.ContextExecutor, *MTBCountry) error
MTBCountryHook is the signature for custom MTBCountry hook methods
type MTBCountrySlice ¶
type MTBCountrySlice []*MTBCountry
MTBCountrySlice is an alias for a slice of pointers to MTBCountry. This should generally be used opposed to []MTBCountry.
func (MTBCountrySlice) DeleteAll ¶
func (o MTBCountrySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBCountrySlice) ReloadAll ¶
func (o *MTBCountrySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBCountrySlice) UpdateAll ¶
func (o MTBCountrySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBCustomerOrderStatus ¶
type MTBCustomerOrderStatus struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbCustomerOrderStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbCustomerOrderStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBCustomerOrderStatus is an object representing the database table.
func FindMTBCustomerOrderStatus ¶
func FindMTBCustomerOrderStatus(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBCustomerOrderStatus, error)
FindMTBCustomerOrderStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBCustomerOrderStatus) Delete ¶
func (o *MTBCustomerOrderStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBCustomerOrderStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBCustomerOrderStatus) Insert ¶
func (o *MTBCustomerOrderStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBCustomerOrderStatus) Reload ¶
func (o *MTBCustomerOrderStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBCustomerOrderStatus) Update ¶
func (o *MTBCustomerOrderStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBCustomerOrderStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBCustomerOrderStatus) Upsert ¶
func (o *MTBCustomerOrderStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBCustomerOrderStatusHook ¶
type MTBCustomerOrderStatusHook func(context.Context, boil.ContextExecutor, *MTBCustomerOrderStatus) error
MTBCustomerOrderStatusHook is the signature for custom MTBCustomerOrderStatus hook methods
type MTBCustomerOrderStatusSlice ¶
type MTBCustomerOrderStatusSlice []*MTBCustomerOrderStatus
MTBCustomerOrderStatusSlice is an alias for a slice of pointers to MTBCustomerOrderStatus. This should generally be used opposed to []MTBCustomerOrderStatus.
func (MTBCustomerOrderStatusSlice) DeleteAll ¶
func (o MTBCustomerOrderStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBCustomerOrderStatusSlice) ReloadAll ¶
func (o *MTBCustomerOrderStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBCustomerOrderStatusSlice) UpdateAll ¶
func (o MTBCustomerOrderStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBCustomerStatus ¶
type MTBCustomerStatus struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbCustomerStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbCustomerStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBCustomerStatus is an object representing the database table.
func FindMTBCustomerStatus ¶
func FindMTBCustomerStatus(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBCustomerStatus, error)
FindMTBCustomerStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBCustomerStatus) AddCustomerStatusDTBCustomers ¶
func (o *MTBCustomerStatus) AddCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
AddCustomerStatusDTBCustomers adds the given related objects to the existing relationships of the mtb_customer_status, optionally inserting them as new records. Appends related to o.R.CustomerStatusDTBCustomers. Sets related.R.CustomerStatus appropriately.
func (*MTBCustomerStatus) CustomerStatusDTBCustomers ¶
func (o *MTBCustomerStatus) CustomerStatusDTBCustomers(mods ...qm.QueryMod) dtbCustomerQuery
CustomerStatusDTBCustomers retrieves all the dtb_customer's DTBCustomers with an executor via customer_status_id column.
func (*MTBCustomerStatus) Delete ¶
func (o *MTBCustomerStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBCustomerStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBCustomerStatus) Insert ¶
func (o *MTBCustomerStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBCustomerStatus) Reload ¶
func (o *MTBCustomerStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBCustomerStatus) RemoveCustomerStatusDTBCustomers ¶
func (o *MTBCustomerStatus) RemoveCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
RemoveCustomerStatusDTBCustomers relationships from objects passed in. Removes related items from R.CustomerStatusDTBCustomers (uses pointer comparison, removal does not keep order) Sets related.R.CustomerStatus.
func (*MTBCustomerStatus) SetCustomerStatusDTBCustomers ¶
func (o *MTBCustomerStatus) SetCustomerStatusDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
SetCustomerStatusDTBCustomers removes all previously related items of the mtb_customer_status replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CustomerStatus's CustomerStatusDTBCustomers accordingly. Replaces o.R.CustomerStatusDTBCustomers with related. Sets related.R.CustomerStatus's CustomerStatusDTBCustomers accordingly.
func (*MTBCustomerStatus) Update ¶
func (o *MTBCustomerStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBCustomerStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBCustomerStatus) Upsert ¶
func (o *MTBCustomerStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBCustomerStatusHook ¶
type MTBCustomerStatusHook func(context.Context, boil.ContextExecutor, *MTBCustomerStatus) error
MTBCustomerStatusHook is the signature for custom MTBCustomerStatus hook methods
type MTBCustomerStatusSlice ¶
type MTBCustomerStatusSlice []*MTBCustomerStatus
MTBCustomerStatusSlice is an alias for a slice of pointers to MTBCustomerStatus. This should generally be used opposed to []MTBCustomerStatus.
func (MTBCustomerStatusSlice) DeleteAll ¶
func (o MTBCustomerStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBCustomerStatusSlice) ReloadAll ¶
func (o *MTBCustomerStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBCustomerStatusSlice) UpdateAll ¶
func (o MTBCustomerStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBDeviceType ¶
type MTBDeviceType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbDeviceTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbDeviceTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBDeviceType is an object representing the database table.
func FindMTBDeviceType ¶
func FindMTBDeviceType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBDeviceType, error)
FindMTBDeviceType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBDeviceType) AddDeviceTypeDTBBlocks ¶
func (o *MTBDeviceType) AddDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBlock) error
AddDeviceTypeDTBBlocks adds the given related objects to the existing relationships of the mtb_device_type, optionally inserting them as new records. Appends related to o.R.DeviceTypeDTBBlocks. Sets related.R.DeviceType appropriately.
func (*MTBDeviceType) AddDeviceTypeDTBLayouts ¶
func (o *MTBDeviceType) AddDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBLayout) error
AddDeviceTypeDTBLayouts adds the given related objects to the existing relationships of the mtb_device_type, optionally inserting them as new records. Appends related to o.R.DeviceTypeDTBLayouts. Sets related.R.DeviceType appropriately.
func (*MTBDeviceType) AddDeviceTypeDTBOrders ¶
func (o *MTBDeviceType) AddDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddDeviceTypeDTBOrders adds the given related objects to the existing relationships of the mtb_device_type, optionally inserting them as new records. Appends related to o.R.DeviceTypeDTBOrders. Sets related.R.DeviceType appropriately.
func (*MTBDeviceType) AddDeviceTypeDTBTemplates ¶
func (o *MTBDeviceType) AddDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTemplate) error
AddDeviceTypeDTBTemplates adds the given related objects to the existing relationships of the mtb_device_type, optionally inserting them as new records. Appends related to o.R.DeviceTypeDTBTemplates. Sets related.R.DeviceType appropriately.
func (*MTBDeviceType) Delete ¶
func (o *MTBDeviceType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBDeviceType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBDeviceType) DeviceTypeDTBBlocks ¶
func (o *MTBDeviceType) DeviceTypeDTBBlocks(mods ...qm.QueryMod) dtbBlockQuery
DeviceTypeDTBBlocks retrieves all the dtb_block's DTBBlocks with an executor via device_type_id column.
func (*MTBDeviceType) DeviceTypeDTBLayouts ¶
func (o *MTBDeviceType) DeviceTypeDTBLayouts(mods ...qm.QueryMod) dtbLayoutQuery
DeviceTypeDTBLayouts retrieves all the dtb_layout's DTBLayouts with an executor via device_type_id column.
func (*MTBDeviceType) DeviceTypeDTBOrders ¶
func (o *MTBDeviceType) DeviceTypeDTBOrders(mods ...qm.QueryMod) dtbOrderQuery
DeviceTypeDTBOrders retrieves all the dtb_order's DTBOrders with an executor via device_type_id column.
func (*MTBDeviceType) DeviceTypeDTBTemplates ¶
func (o *MTBDeviceType) DeviceTypeDTBTemplates(mods ...qm.QueryMod) dtbTemplateQuery
DeviceTypeDTBTemplates retrieves all the dtb_template's DTBTemplates with an executor via device_type_id column.
func (*MTBDeviceType) Insert ¶
func (o *MTBDeviceType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBDeviceType) Reload ¶
func (o *MTBDeviceType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBDeviceType) RemoveDeviceTypeDTBBlocks ¶
func (o *MTBDeviceType) RemoveDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBlock) error
RemoveDeviceTypeDTBBlocks relationships from objects passed in. Removes related items from R.DeviceTypeDTBBlocks (uses pointer comparison, removal does not keep order) Sets related.R.DeviceType.
func (*MTBDeviceType) RemoveDeviceTypeDTBLayouts ¶
func (o *MTBDeviceType) RemoveDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBLayout) error
RemoveDeviceTypeDTBLayouts relationships from objects passed in. Removes related items from R.DeviceTypeDTBLayouts (uses pointer comparison, removal does not keep order) Sets related.R.DeviceType.
func (*MTBDeviceType) RemoveDeviceTypeDTBOrders ¶
func (o *MTBDeviceType) RemoveDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemoveDeviceTypeDTBOrders relationships from objects passed in. Removes related items from R.DeviceTypeDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.DeviceType.
func (*MTBDeviceType) RemoveDeviceTypeDTBTemplates ¶
func (o *MTBDeviceType) RemoveDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTemplate) error
RemoveDeviceTypeDTBTemplates relationships from objects passed in. Removes related items from R.DeviceTypeDTBTemplates (uses pointer comparison, removal does not keep order) Sets related.R.DeviceType.
func (*MTBDeviceType) SetDeviceTypeDTBBlocks ¶
func (o *MTBDeviceType) SetDeviceTypeDTBBlocks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBlock) error
SetDeviceTypeDTBBlocks removes all previously related items of the mtb_device_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DeviceType's DeviceTypeDTBBlocks accordingly. Replaces o.R.DeviceTypeDTBBlocks with related. Sets related.R.DeviceType's DeviceTypeDTBBlocks accordingly.
func (*MTBDeviceType) SetDeviceTypeDTBLayouts ¶
func (o *MTBDeviceType) SetDeviceTypeDTBLayouts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBLayout) error
SetDeviceTypeDTBLayouts removes all previously related items of the mtb_device_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DeviceType's DeviceTypeDTBLayouts accordingly. Replaces o.R.DeviceTypeDTBLayouts with related. Sets related.R.DeviceType's DeviceTypeDTBLayouts accordingly.
func (*MTBDeviceType) SetDeviceTypeDTBOrders ¶
func (o *MTBDeviceType) SetDeviceTypeDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetDeviceTypeDTBOrders removes all previously related items of the mtb_device_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DeviceType's DeviceTypeDTBOrders accordingly. Replaces o.R.DeviceTypeDTBOrders with related. Sets related.R.DeviceType's DeviceTypeDTBOrders accordingly.
func (*MTBDeviceType) SetDeviceTypeDTBTemplates ¶
func (o *MTBDeviceType) SetDeviceTypeDTBTemplates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTemplate) error
SetDeviceTypeDTBTemplates removes all previously related items of the mtb_device_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DeviceType's DeviceTypeDTBTemplates accordingly. Replaces o.R.DeviceTypeDTBTemplates with related. Sets related.R.DeviceType's DeviceTypeDTBTemplates accordingly.
func (*MTBDeviceType) Update ¶
func (o *MTBDeviceType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBDeviceType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBDeviceType) Upsert ¶
func (o *MTBDeviceType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBDeviceTypeHook ¶
type MTBDeviceTypeHook func(context.Context, boil.ContextExecutor, *MTBDeviceType) error
MTBDeviceTypeHook is the signature for custom MTBDeviceType hook methods
type MTBDeviceTypeSlice ¶
type MTBDeviceTypeSlice []*MTBDeviceType
MTBDeviceTypeSlice is an alias for a slice of pointers to MTBDeviceType. This should generally be used opposed to []MTBDeviceType.
func (MTBDeviceTypeSlice) DeleteAll ¶
func (o MTBDeviceTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBDeviceTypeSlice) ReloadAll ¶
func (o *MTBDeviceTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBDeviceTypeSlice) UpdateAll ¶
func (o MTBDeviceTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBJob ¶
type MTBJob struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbJobR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbJobL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBJob is an object representing the database table.
func FindMTBJob ¶
func FindMTBJob(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBJob, error)
FindMTBJob retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBJob) AddJobDTBCustomers ¶
func (o *MTBJob) AddJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
AddJobDTBCustomers adds the given related objects to the existing relationships of the mtb_job, optionally inserting them as new records. Appends related to o.R.JobDTBCustomers. Sets related.R.Job appropriately.
func (*MTBJob) AddJobDTBOrders ¶
func (o *MTBJob) AddJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddJobDTBOrders adds the given related objects to the existing relationships of the mtb_job, optionally inserting them as new records. Appends related to o.R.JobDTBOrders. Sets related.R.Job appropriately.
func (*MTBJob) Delete ¶
Delete deletes a single MTBJob record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBJob) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBJob) JobDTBCustomers ¶
JobDTBCustomers retrieves all the dtb_customer's DTBCustomers with an executor via job_id column.
func (*MTBJob) JobDTBOrders ¶
JobDTBOrders retrieves all the dtb_order's DTBOrders with an executor via job_id column.
func (*MTBJob) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBJob) RemoveJobDTBCustomers ¶
func (o *MTBJob) RemoveJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
RemoveJobDTBCustomers relationships from objects passed in. Removes related items from R.JobDTBCustomers (uses pointer comparison, removal does not keep order) Sets related.R.Job.
func (*MTBJob) RemoveJobDTBOrders ¶
func (o *MTBJob) RemoveJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemoveJobDTBOrders relationships from objects passed in. Removes related items from R.JobDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Job.
func (*MTBJob) SetJobDTBCustomers ¶
func (o *MTBJob) SetJobDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
SetJobDTBCustomers removes all previously related items of the mtb_job replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Job's JobDTBCustomers accordingly. Replaces o.R.JobDTBCustomers with related. Sets related.R.Job's JobDTBCustomers accordingly.
func (*MTBJob) SetJobDTBOrders ¶
func (o *MTBJob) SetJobDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetJobDTBOrders removes all previously related items of the mtb_job replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Job's JobDTBOrders accordingly. Replaces o.R.JobDTBOrders with related. Sets related.R.Job's JobDTBOrders accordingly.
func (*MTBJob) Update ¶
func (o *MTBJob) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBJob. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBJob) Upsert ¶
func (o *MTBJob) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBJobHook ¶
MTBJobHook is the signature for custom MTBJob hook methods
type MTBJobSlice ¶
type MTBJobSlice []*MTBJob
MTBJobSlice is an alias for a slice of pointers to MTBJob. This should generally be used opposed to []MTBJob.
func (MTBJobSlice) DeleteAll ¶
func (o MTBJobSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBJobSlice) ReloadAll ¶
func (o *MTBJobSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBJobSlice) UpdateAll ¶
func (o MTBJobSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBOrderItemType ¶
type MTBOrderItemType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbOrderItemTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbOrderItemTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBOrderItemType is an object representing the database table.
func FindMTBOrderItemType ¶
func FindMTBOrderItemType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBOrderItemType, error)
FindMTBOrderItemType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBOrderItemType) AddOrderItemTypeDTBOrderItems ¶
func (o *MTBOrderItemType) AddOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddOrderItemTypeDTBOrderItems adds the given related objects to the existing relationships of the mtb_order_item_type, optionally inserting them as new records. Appends related to o.R.OrderItemTypeDTBOrderItems. Sets related.R.OrderItemType appropriately.
func (*MTBOrderItemType) Delete ¶
func (o *MTBOrderItemType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBOrderItemType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBOrderItemType) Insert ¶
func (o *MTBOrderItemType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBOrderItemType) OrderItemTypeDTBOrderItems ¶
func (o *MTBOrderItemType) OrderItemTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
OrderItemTypeDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via order_item_type_id column.
func (*MTBOrderItemType) Reload ¶
func (o *MTBOrderItemType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBOrderItemType) RemoveOrderItemTypeDTBOrderItems ¶
func (o *MTBOrderItemType) RemoveOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveOrderItemTypeDTBOrderItems relationships from objects passed in. Removes related items from R.OrderItemTypeDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.OrderItemType.
func (*MTBOrderItemType) SetOrderItemTypeDTBOrderItems ¶
func (o *MTBOrderItemType) SetOrderItemTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetOrderItemTypeDTBOrderItems removes all previously related items of the mtb_order_item_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.OrderItemType's OrderItemTypeDTBOrderItems accordingly. Replaces o.R.OrderItemTypeDTBOrderItems with related. Sets related.R.OrderItemType's OrderItemTypeDTBOrderItems accordingly.
func (*MTBOrderItemType) Update ¶
func (o *MTBOrderItemType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBOrderItemType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBOrderItemType) Upsert ¶
func (o *MTBOrderItemType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBOrderItemTypeHook ¶
type MTBOrderItemTypeHook func(context.Context, boil.ContextExecutor, *MTBOrderItemType) error
MTBOrderItemTypeHook is the signature for custom MTBOrderItemType hook methods
type MTBOrderItemTypeSlice ¶
type MTBOrderItemTypeSlice []*MTBOrderItemType
MTBOrderItemTypeSlice is an alias for a slice of pointers to MTBOrderItemType. This should generally be used opposed to []MTBOrderItemType.
func (MTBOrderItemTypeSlice) DeleteAll ¶
func (o MTBOrderItemTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBOrderItemTypeSlice) ReloadAll ¶
func (o *MTBOrderItemTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBOrderItemTypeSlice) UpdateAll ¶
func (o MTBOrderItemTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBOrderStatus ¶
type MTBOrderStatus struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` DisplayOrderCount bool `boil:"display_order_count" json:"display_order_count" toml:"display_order_count" yaml:"display_order_count"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbOrderStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbOrderStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBOrderStatus is an object representing the database table.
func FindMTBOrderStatus ¶
func FindMTBOrderStatus(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBOrderStatus, error)
FindMTBOrderStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBOrderStatus) Delete ¶
func (o *MTBOrderStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBOrderStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBOrderStatus) Insert ¶
func (o *MTBOrderStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBOrderStatus) Reload ¶
func (o *MTBOrderStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBOrderStatus) Update ¶
func (o *MTBOrderStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBOrderStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBOrderStatus) Upsert ¶
func (o *MTBOrderStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBOrderStatusColor ¶
type MTBOrderStatusColor struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbOrderStatusColorR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbOrderStatusColorL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBOrderStatusColor is an object representing the database table.
func FindMTBOrderStatusColor ¶
func FindMTBOrderStatusColor(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBOrderStatusColor, error)
FindMTBOrderStatusColor retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBOrderStatusColor) Delete ¶
func (o *MTBOrderStatusColor) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBOrderStatusColor record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBOrderStatusColor) Insert ¶
func (o *MTBOrderStatusColor) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBOrderStatusColor) Reload ¶
func (o *MTBOrderStatusColor) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBOrderStatusColor) Update ¶
func (o *MTBOrderStatusColor) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBOrderStatusColor. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBOrderStatusColor) Upsert ¶
func (o *MTBOrderStatusColor) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBOrderStatusColorHook ¶
type MTBOrderStatusColorHook func(context.Context, boil.ContextExecutor, *MTBOrderStatusColor) error
MTBOrderStatusColorHook is the signature for custom MTBOrderStatusColor hook methods
type MTBOrderStatusColorSlice ¶
type MTBOrderStatusColorSlice []*MTBOrderStatusColor
MTBOrderStatusColorSlice is an alias for a slice of pointers to MTBOrderStatusColor. This should generally be used opposed to []MTBOrderStatusColor.
func (MTBOrderStatusColorSlice) DeleteAll ¶
func (o MTBOrderStatusColorSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBOrderStatusColorSlice) ReloadAll ¶
func (o *MTBOrderStatusColorSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBOrderStatusColorSlice) UpdateAll ¶
func (o MTBOrderStatusColorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBOrderStatusHook ¶
type MTBOrderStatusHook func(context.Context, boil.ContextExecutor, *MTBOrderStatus) error
MTBOrderStatusHook is the signature for custom MTBOrderStatus hook methods
type MTBOrderStatusSlice ¶
type MTBOrderStatusSlice []*MTBOrderStatus
MTBOrderStatusSlice is an alias for a slice of pointers to MTBOrderStatus. This should generally be used opposed to []MTBOrderStatus.
func (MTBOrderStatusSlice) DeleteAll ¶
func (o MTBOrderStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBOrderStatusSlice) ReloadAll ¶
func (o *MTBOrderStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBOrderStatusSlice) UpdateAll ¶
func (o MTBOrderStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBPageMax ¶
type MTBPageMax struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbPageMaxR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbPageMaxL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBPageMax is an object representing the database table.
func FindMTBPageMax ¶
func FindMTBPageMax(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBPageMax, error)
FindMTBPageMax retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBPageMax) Delete ¶
func (o *MTBPageMax) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBPageMax record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBPageMax) Insert ¶
func (o *MTBPageMax) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBPageMax) Reload ¶
func (o *MTBPageMax) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBPageMax) Update ¶
func (o *MTBPageMax) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBPageMax. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBPageMax) Upsert ¶
func (o *MTBPageMax) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBPageMaxHook ¶
type MTBPageMaxHook func(context.Context, boil.ContextExecutor, *MTBPageMax) error
MTBPageMaxHook is the signature for custom MTBPageMax hook methods
type MTBPageMaxSlice ¶
type MTBPageMaxSlice []*MTBPageMax
MTBPageMaxSlice is an alias for a slice of pointers to MTBPageMax. This should generally be used opposed to []MTBPageMax.
func (MTBPageMaxSlice) DeleteAll ¶
func (o MTBPageMaxSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBPageMaxSlice) ReloadAll ¶
func (o *MTBPageMaxSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBPageMaxSlice) UpdateAll ¶
func (o MTBPageMaxSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBPref ¶
type MTBPref struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbPrefR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbPrefL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBPref is an object representing the database table.
func FindMTBPref ¶
func FindMTBPref(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBPref, error)
FindMTBPref retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBPref) AddPrefDTBBaseInfos ¶
func (o *MTBPref) AddPrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBaseInfo) error
AddPrefDTBBaseInfos adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBBaseInfos. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBCustomerAddresses ¶
func (o *MTBPref) AddPrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
AddPrefDTBCustomerAddresses adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBCustomerAddresses. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBCustomers ¶
func (o *MTBPref) AddPrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
AddPrefDTBCustomers adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBCustomers. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBDeliveryFees ¶
func (o *MTBPref) AddPrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryFee) error
AddPrefDTBDeliveryFees adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBDeliveryFees. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBOrders ¶
func (o *MTBPref) AddPrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddPrefDTBOrders adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBOrders. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBShippings ¶
func (o *MTBPref) AddPrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
AddPrefDTBShippings adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBShippings. Sets related.R.Pref appropriately.
func (*MTBPref) AddPrefDTBTaxRules ¶
func (o *MTBPref) AddPrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
AddPrefDTBTaxRules adds the given related objects to the existing relationships of the mtb_pref, optionally inserting them as new records. Appends related to o.R.PrefDTBTaxRules. Sets related.R.Pref appropriately.
func (*MTBPref) Delete ¶
Delete deletes a single MTBPref record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBPref) Insert ¶
func (o *MTBPref) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBPref) PrefDTBBaseInfos ¶
PrefDTBBaseInfos retrieves all the dtb_base_info's DTBBaseInfos with an executor via pref_id column.
func (*MTBPref) PrefDTBCustomerAddresses ¶
PrefDTBCustomerAddresses retrieves all the dtb_customer_address's DTBCustomerAddresses with an executor via pref_id column.
func (*MTBPref) PrefDTBCustomers ¶
PrefDTBCustomers retrieves all the dtb_customer's DTBCustomers with an executor via pref_id column.
func (*MTBPref) PrefDTBDeliveryFees ¶
PrefDTBDeliveryFees retrieves all the dtb_delivery_fee's DTBDeliveryFees with an executor via pref_id column.
func (*MTBPref) PrefDTBOrders ¶
PrefDTBOrders retrieves all the dtb_order's DTBOrders with an executor via pref_id column.
func (*MTBPref) PrefDTBShippings ¶
PrefDTBShippings retrieves all the dtb_shipping's DTBShippings with an executor via pref_id column.
func (*MTBPref) PrefDTBTaxRules ¶
PrefDTBTaxRules retrieves all the dtb_tax_rule's DTBTaxRules with an executor via pref_id column.
func (*MTBPref) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBPref) RemovePrefDTBBaseInfos ¶
func (o *MTBPref) RemovePrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, related ...*DTBBaseInfo) error
RemovePrefDTBBaseInfos relationships from objects passed in. Removes related items from R.PrefDTBBaseInfos (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBCustomerAddresses ¶
func (o *MTBPref) RemovePrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomerAddress) error
RemovePrefDTBCustomerAddresses relationships from objects passed in. Removes related items from R.PrefDTBCustomerAddresses (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBCustomers ¶
func (o *MTBPref) RemovePrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
RemovePrefDTBCustomers relationships from objects passed in. Removes related items from R.PrefDTBCustomers (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBDeliveryFees ¶
func (o *MTBPref) RemovePrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDeliveryFee) error
RemovePrefDTBDeliveryFees relationships from objects passed in. Removes related items from R.PrefDTBDeliveryFees (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBOrders ¶
func (o *MTBPref) RemovePrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemovePrefDTBOrders relationships from objects passed in. Removes related items from R.PrefDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBShippings ¶
func (o *MTBPref) RemovePrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, related ...*DTBShipping) error
RemovePrefDTBShippings relationships from objects passed in. Removes related items from R.PrefDTBShippings (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) RemovePrefDTBTaxRules ¶
func (o *MTBPref) RemovePrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
RemovePrefDTBTaxRules relationships from objects passed in. Removes related items from R.PrefDTBTaxRules (uses pointer comparison, removal does not keep order) Sets related.R.Pref.
func (*MTBPref) SetPrefDTBBaseInfos ¶
func (o *MTBPref) SetPrefDTBBaseInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBBaseInfo) error
SetPrefDTBBaseInfos removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBBaseInfos accordingly. Replaces o.R.PrefDTBBaseInfos with related. Sets related.R.Pref's PrefDTBBaseInfos accordingly.
func (*MTBPref) SetPrefDTBCustomerAddresses ¶
func (o *MTBPref) SetPrefDTBCustomerAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomerAddress) error
SetPrefDTBCustomerAddresses removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBCustomerAddresses accordingly. Replaces o.R.PrefDTBCustomerAddresses with related. Sets related.R.Pref's PrefDTBCustomerAddresses accordingly.
func (*MTBPref) SetPrefDTBCustomers ¶
func (o *MTBPref) SetPrefDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
SetPrefDTBCustomers removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBCustomers accordingly. Replaces o.R.PrefDTBCustomers with related. Sets related.R.Pref's PrefDTBCustomers accordingly.
func (*MTBPref) SetPrefDTBDeliveryFees ¶
func (o *MTBPref) SetPrefDTBDeliveryFees(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDeliveryFee) error
SetPrefDTBDeliveryFees removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBDeliveryFees accordingly. Replaces o.R.PrefDTBDeliveryFees with related. Sets related.R.Pref's PrefDTBDeliveryFees accordingly.
func (*MTBPref) SetPrefDTBOrders ¶
func (o *MTBPref) SetPrefDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetPrefDTBOrders removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBOrders accordingly. Replaces o.R.PrefDTBOrders with related. Sets related.R.Pref's PrefDTBOrders accordingly.
func (*MTBPref) SetPrefDTBShippings ¶
func (o *MTBPref) SetPrefDTBShippings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBShipping) error
SetPrefDTBShippings removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBShippings accordingly. Replaces o.R.PrefDTBShippings with related. Sets related.R.Pref's PrefDTBShippings accordingly.
func (*MTBPref) SetPrefDTBTaxRules ¶
func (o *MTBPref) SetPrefDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
SetPrefDTBTaxRules removes all previously related items of the mtb_pref replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Pref's PrefDTBTaxRules accordingly. Replaces o.R.PrefDTBTaxRules with related. Sets related.R.Pref's PrefDTBTaxRules accordingly.
func (*MTBPref) Update ¶
func (o *MTBPref) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBPref. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBPref) Upsert ¶
func (o *MTBPref) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBPrefHook ¶
MTBPrefHook is the signature for custom MTBPref hook methods
type MTBPrefSlice ¶
type MTBPrefSlice []*MTBPref
MTBPrefSlice is an alias for a slice of pointers to MTBPref. This should generally be used opposed to []MTBPref.
func (MTBPrefSlice) DeleteAll ¶
func (o MTBPrefSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBPrefSlice) ReloadAll ¶
func (o *MTBPrefSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBPrefSlice) UpdateAll ¶
func (o MTBPrefSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBProductListMax ¶
type MTBProductListMax struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbProductListMaxR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbProductListMaxL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBProductListMax is an object representing the database table.
func FindMTBProductListMax ¶
func FindMTBProductListMax(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBProductListMax, error)
FindMTBProductListMax retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBProductListMax) Delete ¶
func (o *MTBProductListMax) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBProductListMax record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBProductListMax) Insert ¶
func (o *MTBProductListMax) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBProductListMax) Reload ¶
func (o *MTBProductListMax) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBProductListMax) Update ¶
func (o *MTBProductListMax) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBProductListMax. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBProductListMax) Upsert ¶
func (o *MTBProductListMax) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBProductListMaxHook ¶
type MTBProductListMaxHook func(context.Context, boil.ContextExecutor, *MTBProductListMax) error
MTBProductListMaxHook is the signature for custom MTBProductListMax hook methods
type MTBProductListMaxSlice ¶
type MTBProductListMaxSlice []*MTBProductListMax
MTBProductListMaxSlice is an alias for a slice of pointers to MTBProductListMax. This should generally be used opposed to []MTBProductListMax.
func (MTBProductListMaxSlice) DeleteAll ¶
func (o MTBProductListMaxSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBProductListMaxSlice) ReloadAll ¶
func (o *MTBProductListMaxSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBProductListMaxSlice) UpdateAll ¶
func (o MTBProductListMaxSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBProductListOrderBy ¶
type MTBProductListOrderBy struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbProductListOrderByR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbProductListOrderByL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBProductListOrderBy is an object representing the database table.
func FindMTBProductListOrderBy ¶
func FindMTBProductListOrderBy(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBProductListOrderBy, error)
FindMTBProductListOrderBy retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBProductListOrderBy) Delete ¶
func (o *MTBProductListOrderBy) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBProductListOrderBy record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBProductListOrderBy) Insert ¶
func (o *MTBProductListOrderBy) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBProductListOrderBy) Reload ¶
func (o *MTBProductListOrderBy) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBProductListOrderBy) Update ¶
func (o *MTBProductListOrderBy) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBProductListOrderBy. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBProductListOrderBy) Upsert ¶
func (o *MTBProductListOrderBy) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBProductListOrderByHook ¶
type MTBProductListOrderByHook func(context.Context, boil.ContextExecutor, *MTBProductListOrderBy) error
MTBProductListOrderByHook is the signature for custom MTBProductListOrderBy hook methods
type MTBProductListOrderBySlice ¶
type MTBProductListOrderBySlice []*MTBProductListOrderBy
MTBProductListOrderBySlice is an alias for a slice of pointers to MTBProductListOrderBy. This should generally be used opposed to []MTBProductListOrderBy.
func (MTBProductListOrderBySlice) DeleteAll ¶
func (o MTBProductListOrderBySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBProductListOrderBySlice) ReloadAll ¶
func (o *MTBProductListOrderBySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBProductListOrderBySlice) UpdateAll ¶
func (o MTBProductListOrderBySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBProductStatus ¶
type MTBProductStatus struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbProductStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbProductStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBProductStatus is an object representing the database table.
func FindMTBProductStatus ¶
func FindMTBProductStatus(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBProductStatus, error)
FindMTBProductStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBProductStatus) AddProductStatusDTBProducts ¶
func (o *MTBProductStatus) AddProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProduct) error
AddProductStatusDTBProducts adds the given related objects to the existing relationships of the mtb_product_status, optionally inserting them as new records. Appends related to o.R.ProductStatusDTBProducts. Sets related.R.ProductStatus appropriately.
func (*MTBProductStatus) Delete ¶
func (o *MTBProductStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBProductStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBProductStatus) Insert ¶
func (o *MTBProductStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBProductStatus) ProductStatusDTBProducts ¶
func (o *MTBProductStatus) ProductStatusDTBProducts(mods ...qm.QueryMod) dtbProductQuery
ProductStatusDTBProducts retrieves all the dtb_product's DTBProducts with an executor via product_status_id column.
func (*MTBProductStatus) Reload ¶
func (o *MTBProductStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBProductStatus) RemoveProductStatusDTBProducts ¶
func (o *MTBProductStatus) RemoveProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, related ...*DTBProduct) error
RemoveProductStatusDTBProducts relationships from objects passed in. Removes related items from R.ProductStatusDTBProducts (uses pointer comparison, removal does not keep order) Sets related.R.ProductStatus.
func (*MTBProductStatus) SetProductStatusDTBProducts ¶
func (o *MTBProductStatus) SetProductStatusDTBProducts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBProduct) error
SetProductStatusDTBProducts removes all previously related items of the mtb_product_status replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ProductStatus's ProductStatusDTBProducts accordingly. Replaces o.R.ProductStatusDTBProducts with related. Sets related.R.ProductStatus's ProductStatusDTBProducts accordingly.
func (*MTBProductStatus) Update ¶
func (o *MTBProductStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBProductStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBProductStatus) Upsert ¶
func (o *MTBProductStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBProductStatusHook ¶
type MTBProductStatusHook func(context.Context, boil.ContextExecutor, *MTBProductStatus) error
MTBProductStatusHook is the signature for custom MTBProductStatus hook methods
type MTBProductStatusSlice ¶
type MTBProductStatusSlice []*MTBProductStatus
MTBProductStatusSlice is an alias for a slice of pointers to MTBProductStatus. This should generally be used opposed to []MTBProductStatus.
func (MTBProductStatusSlice) DeleteAll ¶
func (o MTBProductStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBProductStatusSlice) ReloadAll ¶
func (o *MTBProductStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBProductStatusSlice) UpdateAll ¶
func (o MTBProductStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBRoundingType ¶
type MTBRoundingType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbRoundingTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbRoundingTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBRoundingType is an object representing the database table.
func FindMTBRoundingType ¶
func FindMTBRoundingType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBRoundingType, error)
FindMTBRoundingType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBRoundingType) AddRoundingTypeDTBOrderItems ¶
func (o *MTBRoundingType) AddRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddRoundingTypeDTBOrderItems adds the given related objects to the existing relationships of the mtb_rounding_type, optionally inserting them as new records. Appends related to o.R.RoundingTypeDTBOrderItems. Sets related.R.RoundingType appropriately.
func (*MTBRoundingType) AddRoundingTypeDTBTaxRules ¶
func (o *MTBRoundingType) AddRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
AddRoundingTypeDTBTaxRules adds the given related objects to the existing relationships of the mtb_rounding_type, optionally inserting them as new records. Appends related to o.R.RoundingTypeDTBTaxRules. Sets related.R.RoundingType appropriately.
func (*MTBRoundingType) Delete ¶
func (o *MTBRoundingType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBRoundingType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBRoundingType) Insert ¶
func (o *MTBRoundingType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBRoundingType) Reload ¶
func (o *MTBRoundingType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBRoundingType) RemoveRoundingTypeDTBOrderItems ¶
func (o *MTBRoundingType) RemoveRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveRoundingTypeDTBOrderItems relationships from objects passed in. Removes related items from R.RoundingTypeDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.RoundingType.
func (*MTBRoundingType) RemoveRoundingTypeDTBTaxRules ¶
func (o *MTBRoundingType) RemoveRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, related ...*DTBTaxRule) error
RemoveRoundingTypeDTBTaxRules relationships from objects passed in. Removes related items from R.RoundingTypeDTBTaxRules (uses pointer comparison, removal does not keep order) Sets related.R.RoundingType.
func (*MTBRoundingType) RoundingTypeDTBOrderItems ¶
func (o *MTBRoundingType) RoundingTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
RoundingTypeDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via rounding_type_id column.
func (*MTBRoundingType) RoundingTypeDTBTaxRules ¶
func (o *MTBRoundingType) RoundingTypeDTBTaxRules(mods ...qm.QueryMod) dtbTaxRuleQuery
RoundingTypeDTBTaxRules retrieves all the dtb_tax_rule's DTBTaxRules with an executor via rounding_type_id column.
func (*MTBRoundingType) SetRoundingTypeDTBOrderItems ¶
func (o *MTBRoundingType) SetRoundingTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetRoundingTypeDTBOrderItems removes all previously related items of the mtb_rounding_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoundingType's RoundingTypeDTBOrderItems accordingly. Replaces o.R.RoundingTypeDTBOrderItems with related. Sets related.R.RoundingType's RoundingTypeDTBOrderItems accordingly.
func (*MTBRoundingType) SetRoundingTypeDTBTaxRules ¶
func (o *MTBRoundingType) SetRoundingTypeDTBTaxRules(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBTaxRule) error
SetRoundingTypeDTBTaxRules removes all previously related items of the mtb_rounding_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.RoundingType's RoundingTypeDTBTaxRules accordingly. Replaces o.R.RoundingTypeDTBTaxRules with related. Sets related.R.RoundingType's RoundingTypeDTBTaxRules accordingly.
func (*MTBRoundingType) Update ¶
func (o *MTBRoundingType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBRoundingType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBRoundingType) Upsert ¶
func (o *MTBRoundingType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBRoundingTypeHook ¶
type MTBRoundingTypeHook func(context.Context, boil.ContextExecutor, *MTBRoundingType) error
MTBRoundingTypeHook is the signature for custom MTBRoundingType hook methods
type MTBRoundingTypeSlice ¶
type MTBRoundingTypeSlice []*MTBRoundingType
MTBRoundingTypeSlice is an alias for a slice of pointers to MTBRoundingType. This should generally be used opposed to []MTBRoundingType.
func (MTBRoundingTypeSlice) DeleteAll ¶
func (o MTBRoundingTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBRoundingTypeSlice) ReloadAll ¶
func (o *MTBRoundingTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBRoundingTypeSlice) UpdateAll ¶
func (o MTBRoundingTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBSaleType ¶
type MTBSaleType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbSaleTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbSaleTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBSaleType is an object representing the database table.
func FindMTBSaleType ¶
func FindMTBSaleType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBSaleType, error)
FindMTBSaleType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBSaleType) AddSaleTypeDTBDeliveries ¶
func (o *MTBSaleType) AddSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDelivery) error
AddSaleTypeDTBDeliveries adds the given related objects to the existing relationships of the mtb_sale_type, optionally inserting them as new records. Appends related to o.R.SaleTypeDTBDeliveries. Sets related.R.SaleType appropriately.
func (*MTBSaleType) Delete ¶
func (o *MTBSaleType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBSaleType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBSaleType) Insert ¶
func (o *MTBSaleType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBSaleType) Reload ¶
func (o *MTBSaleType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBSaleType) RemoveSaleTypeDTBDeliveries ¶
func (o *MTBSaleType) RemoveSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, related ...*DTBDelivery) error
RemoveSaleTypeDTBDeliveries relationships from objects passed in. Removes related items from R.SaleTypeDTBDeliveries (uses pointer comparison, removal does not keep order) Sets related.R.SaleType.
func (*MTBSaleType) SaleTypeDTBDeliveries ¶
func (o *MTBSaleType) SaleTypeDTBDeliveries(mods ...qm.QueryMod) dtbDeliveryQuery
SaleTypeDTBDeliveries retrieves all the dtb_delivery's DTBDeliveries with an executor via sale_type_id column.
func (*MTBSaleType) SetSaleTypeDTBDeliveries ¶
func (o *MTBSaleType) SetSaleTypeDTBDeliveries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBDelivery) error
SetSaleTypeDTBDeliveries removes all previously related items of the mtb_sale_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SaleType's SaleTypeDTBDeliveries accordingly. Replaces o.R.SaleTypeDTBDeliveries with related. Sets related.R.SaleType's SaleTypeDTBDeliveries accordingly.
func (*MTBSaleType) Update ¶
func (o *MTBSaleType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBSaleType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBSaleType) Upsert ¶
func (o *MTBSaleType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBSaleTypeHook ¶
type MTBSaleTypeHook func(context.Context, boil.ContextExecutor, *MTBSaleType) error
MTBSaleTypeHook is the signature for custom MTBSaleType hook methods
type MTBSaleTypeSlice ¶
type MTBSaleTypeSlice []*MTBSaleType
MTBSaleTypeSlice is an alias for a slice of pointers to MTBSaleType. This should generally be used opposed to []MTBSaleType.
func (MTBSaleTypeSlice) DeleteAll ¶
func (o MTBSaleTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBSaleTypeSlice) ReloadAll ¶
func (o *MTBSaleTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBSaleTypeSlice) UpdateAll ¶
func (o MTBSaleTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBSex ¶
type MTBSex struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbSexR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbSexL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBSex is an object representing the database table.
func FindMTBSex ¶
func FindMTBSex(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBSex, error)
FindMTBSex retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBSex) AddSexDTBCustomers ¶
func (o *MTBSex) AddSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
AddSexDTBCustomers adds the given related objects to the existing relationships of the mtb_sex, optionally inserting them as new records. Appends related to o.R.SexDTBCustomers. Sets related.R.Sex appropriately.
func (*MTBSex) AddSexDTBOrders ¶
func (o *MTBSex) AddSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
AddSexDTBOrders adds the given related objects to the existing relationships of the mtb_sex, optionally inserting them as new records. Appends related to o.R.SexDTBOrders. Sets related.R.Sex appropriately.
func (*MTBSex) Delete ¶
Delete deletes a single MTBSex record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBSex) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBSex) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBSex) RemoveSexDTBCustomers ¶
func (o *MTBSex) RemoveSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, related ...*DTBCustomer) error
RemoveSexDTBCustomers relationships from objects passed in. Removes related items from R.SexDTBCustomers (uses pointer comparison, removal does not keep order) Sets related.R.Sex.
func (*MTBSex) RemoveSexDTBOrders ¶
func (o *MTBSex) RemoveSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrder) error
RemoveSexDTBOrders relationships from objects passed in. Removes related items from R.SexDTBOrders (uses pointer comparison, removal does not keep order) Sets related.R.Sex.
func (*MTBSex) SetSexDTBCustomers ¶
func (o *MTBSex) SetSexDTBCustomers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBCustomer) error
SetSexDTBCustomers removes all previously related items of the mtb_sex replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sex's SexDTBCustomers accordingly. Replaces o.R.SexDTBCustomers with related. Sets related.R.Sex's SexDTBCustomers accordingly.
func (*MTBSex) SetSexDTBOrders ¶
func (o *MTBSex) SetSexDTBOrders(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrder) error
SetSexDTBOrders removes all previously related items of the mtb_sex replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sex's SexDTBOrders accordingly. Replaces o.R.SexDTBOrders with related. Sets related.R.Sex's SexDTBOrders accordingly.
func (*MTBSex) SexDTBCustomers ¶
SexDTBCustomers retrieves all the dtb_customer's DTBCustomers with an executor via sex_id column.
func (*MTBSex) SexDTBOrders ¶
SexDTBOrders retrieves all the dtb_order's DTBOrders with an executor via sex_id column.
func (*MTBSex) Update ¶
func (o *MTBSex) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBSex. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBSex) Upsert ¶
func (o *MTBSex) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBSexHook ¶
MTBSexHook is the signature for custom MTBSex hook methods
type MTBSexSlice ¶
type MTBSexSlice []*MTBSex
MTBSexSlice is an alias for a slice of pointers to MTBSex. This should generally be used opposed to []MTBSex.
func (MTBSexSlice) DeleteAll ¶
func (o MTBSexSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBSexSlice) ReloadAll ¶
func (o *MTBSexSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBSexSlice) UpdateAll ¶
func (o MTBSexSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBTaxDisplayType ¶
type MTBTaxDisplayType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbTaxDisplayTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbTaxDisplayTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBTaxDisplayType is an object representing the database table.
func FindMTBTaxDisplayType ¶
func FindMTBTaxDisplayType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBTaxDisplayType, error)
FindMTBTaxDisplayType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBTaxDisplayType) AddTaxDisplayTypeDTBOrderItems ¶
func (o *MTBTaxDisplayType) AddTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddTaxDisplayTypeDTBOrderItems adds the given related objects to the existing relationships of the mtb_tax_display_type, optionally inserting them as new records. Appends related to o.R.TaxDisplayTypeDTBOrderItems. Sets related.R.TaxDisplayType appropriately.
func (*MTBTaxDisplayType) Delete ¶
func (o *MTBTaxDisplayType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBTaxDisplayType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBTaxDisplayType) Insert ¶
func (o *MTBTaxDisplayType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBTaxDisplayType) Reload ¶
func (o *MTBTaxDisplayType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBTaxDisplayType) RemoveTaxDisplayTypeDTBOrderItems ¶
func (o *MTBTaxDisplayType) RemoveTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveTaxDisplayTypeDTBOrderItems relationships from objects passed in. Removes related items from R.TaxDisplayTypeDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.TaxDisplayType.
func (*MTBTaxDisplayType) SetTaxDisplayTypeDTBOrderItems ¶
func (o *MTBTaxDisplayType) SetTaxDisplayTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetTaxDisplayTypeDTBOrderItems removes all previously related items of the mtb_tax_display_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TaxDisplayType's TaxDisplayTypeDTBOrderItems accordingly. Replaces o.R.TaxDisplayTypeDTBOrderItems with related. Sets related.R.TaxDisplayType's TaxDisplayTypeDTBOrderItems accordingly.
func (*MTBTaxDisplayType) TaxDisplayTypeDTBOrderItems ¶
func (o *MTBTaxDisplayType) TaxDisplayTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
TaxDisplayTypeDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via tax_display_type_id column.
func (*MTBTaxDisplayType) Update ¶
func (o *MTBTaxDisplayType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBTaxDisplayType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBTaxDisplayType) Upsert ¶
func (o *MTBTaxDisplayType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBTaxDisplayTypeHook ¶
type MTBTaxDisplayTypeHook func(context.Context, boil.ContextExecutor, *MTBTaxDisplayType) error
MTBTaxDisplayTypeHook is the signature for custom MTBTaxDisplayType hook methods
type MTBTaxDisplayTypeSlice ¶
type MTBTaxDisplayTypeSlice []*MTBTaxDisplayType
MTBTaxDisplayTypeSlice is an alias for a slice of pointers to MTBTaxDisplayType. This should generally be used opposed to []MTBTaxDisplayType.
func (MTBTaxDisplayTypeSlice) DeleteAll ¶
func (o MTBTaxDisplayTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBTaxDisplayTypeSlice) ReloadAll ¶
func (o *MTBTaxDisplayTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBTaxDisplayTypeSlice) UpdateAll ¶
func (o MTBTaxDisplayTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBTaxType ¶
type MTBTaxType struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbTaxTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbTaxTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBTaxType is an object representing the database table.
func FindMTBTaxType ¶
func FindMTBTaxType(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBTaxType, error)
FindMTBTaxType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBTaxType) AddTaxTypeDTBOrderItems ¶
func (o *MTBTaxType) AddTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
AddTaxTypeDTBOrderItems adds the given related objects to the existing relationships of the mtb_tax_type, optionally inserting them as new records. Appends related to o.R.TaxTypeDTBOrderItems. Sets related.R.TaxType appropriately.
func (*MTBTaxType) Delete ¶
func (o *MTBTaxType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MTBTaxType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBTaxType) Insert ¶
func (o *MTBTaxType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBTaxType) Reload ¶
func (o *MTBTaxType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBTaxType) RemoveTaxTypeDTBOrderItems ¶
func (o *MTBTaxType) RemoveTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, related ...*DTBOrderItem) error
RemoveTaxTypeDTBOrderItems relationships from objects passed in. Removes related items from R.TaxTypeDTBOrderItems (uses pointer comparison, removal does not keep order) Sets related.R.TaxType.
func (*MTBTaxType) SetTaxTypeDTBOrderItems ¶
func (o *MTBTaxType) SetTaxTypeDTBOrderItems(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DTBOrderItem) error
SetTaxTypeDTBOrderItems removes all previously related items of the mtb_tax_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TaxType's TaxTypeDTBOrderItems accordingly. Replaces o.R.TaxTypeDTBOrderItems with related. Sets related.R.TaxType's TaxTypeDTBOrderItems accordingly.
func (*MTBTaxType) TaxTypeDTBOrderItems ¶
func (o *MTBTaxType) TaxTypeDTBOrderItems(mods ...qm.QueryMod) dtbOrderItemQuery
TaxTypeDTBOrderItems retrieves all the dtb_order_item's DTBOrderItems with an executor via tax_type_id column.
func (*MTBTaxType) Update ¶
func (o *MTBTaxType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBTaxType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBTaxType) Upsert ¶
func (o *MTBTaxType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBTaxTypeHook ¶
type MTBTaxTypeHook func(context.Context, boil.ContextExecutor, *MTBTaxType) error
MTBTaxTypeHook is the signature for custom MTBTaxType hook methods
type MTBTaxTypeSlice ¶
type MTBTaxTypeSlice []*MTBTaxType
MTBTaxTypeSlice is an alias for a slice of pointers to MTBTaxType. This should generally be used opposed to []MTBTaxType.
func (MTBTaxTypeSlice) DeleteAll ¶
func (o MTBTaxTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBTaxTypeSlice) ReloadAll ¶
func (o *MTBTaxTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBTaxTypeSlice) UpdateAll ¶
func (o MTBTaxTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MTBWork ¶
type MTBWork struct { ID uint16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` SortNo uint16 `boil:"sort_no" json:"sort_no" toml:"sort_no" yaml:"sort_no"` DiscriminatorType string `boil:"discriminator_type" json:"discriminator_type" toml:"discriminator_type" yaml:"discriminator_type"` R *mtbWorkR `boil:"-" json:"-" toml:"-" yaml:"-"` L mtbWorkL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MTBWork is an object representing the database table.
func FindMTBWork ¶
func FindMTBWork(ctx context.Context, exec boil.ContextExecutor, iD uint16, selectCols ...string) (*MTBWork, error)
FindMTBWork retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MTBWork) Delete ¶
Delete deletes a single MTBWork record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MTBWork) Insert ¶
func (o *MTBWork) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MTBWork) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*MTBWork) Update ¶
func (o *MTBWork) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MTBWork. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MTBWork) Upsert ¶
func (o *MTBWork) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MTBWorkHook ¶
MTBWorkHook is the signature for custom MTBWork hook methods
type MTBWorkSlice ¶
type MTBWorkSlice []*MTBWork
MTBWorkSlice is an alias for a slice of pointers to MTBWork. This should generally be used opposed to []MTBWork.
func (MTBWorkSlice) DeleteAll ¶
func (o MTBWorkSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MTBWorkSlice) ReloadAll ¶
func (o *MTBWorkSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MTBWorkSlice) UpdateAll ¶
func (o MTBWorkSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MigrationVersion ¶
type MigrationVersion struct { Version string `boil:"version" json:"version" toml:"version" yaml:"version"` R *migrationVersionR `boil:"-" json:"-" toml:"-" yaml:"-"` L migrationVersionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MigrationVersion is an object representing the database table.
func FindMigrationVersion ¶
func FindMigrationVersion(ctx context.Context, exec boil.ContextExecutor, version string, selectCols ...string) (*MigrationVersion, error)
FindMigrationVersion retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MigrationVersion) Delete ¶
func (o *MigrationVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MigrationVersion record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MigrationVersion) Insert ¶
func (o *MigrationVersion) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*MigrationVersion) Reload ¶
func (o *MigrationVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MigrationVersion) Update ¶
func (o *MigrationVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MigrationVersion. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*MigrationVersion) Upsert ¶
func (o *MigrationVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MigrationVersionHook ¶
type MigrationVersionHook func(context.Context, boil.ContextExecutor, *MigrationVersion) error
MigrationVersionHook is the signature for custom MigrationVersion hook methods
type MigrationVersionSlice ¶
type MigrationVersionSlice []*MigrationVersion
MigrationVersionSlice is an alias for a slice of pointers to MigrationVersion. This should generally be used opposed to []MigrationVersion.
func (MigrationVersionSlice) DeleteAll ¶
func (o MigrationVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MigrationVersionSlice) ReloadAll ¶
func (o *MigrationVersionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (MigrationVersionSlice) UpdateAll ¶
func (o MigrationVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
Source Files ¶
- boil_queries.go
- boil_table_names.go
- boil_types.go
- dtb_authority_role.go
- dtb_base_info.go
- dtb_block.go
- dtb_block_position.go
- dtb_cart.go
- dtb_cart_item.go
- dtb_category.go
- dtb_class_category.go
- dtb_class_name.go
- dtb_csv.go
- dtb_customer.go
- dtb_customer_address.go
- dtb_customer_favorite_product.go
- dtb_delivery.go
- dtb_delivery_duration.go
- dtb_delivery_fee.go
- dtb_delivery_time.go
- dtb_layout.go
- dtb_mail_history.go
- dtb_mail_template.go
- dtb_order.go
- dtb_order_item.go
- dtb_order_pdf.go
- dtb_page.go
- dtb_page_layout.go
- dtb_payment.go
- dtb_payment_option.go
- dtb_plugin.go
- dtb_product.go
- dtb_product_category.go
- dtb_product_image.go
- dtb_product_stock.go
- dtb_product_tag.go
- dtb_shipping.go
- dtb_tag.go
- dtb_tax_rule.go
- dtb_template.go
- migration_versions.go
- mtb_authority.go
- mtb_country.go
- mtb_csv_type.go
- mtb_customer_order_status.go
- mtb_customer_status.go
- mtb_device_type.go
- mtb_job.go
- mtb_order_item_type.go
- mtb_order_status.go
- mtb_order_status_color.go
- mtb_page_max.go
- mtb_pref.go
- mtb_product_list_max.go
- mtb_product_list_order_by.go
- mtb_product_status.go
- mtb_rounding_type.go
- mtb_sale_type.go
- mtb_sex.go
- mtb_tax_display_type.go
- mtb_tax_type.go
- mtb_work.go
- mysql_upsert.go