Documentation ¶
Overview ¶
Code generated by go-queryset. DO NOT EDIT.
Code generated by go-queryset. DO NOT EDIT.
Code generated by go-queryset. DO NOT EDIT.
Code generated by go-queryset. DO NOT EDIT.
Index ¶
- Variables
- type AccessToken
- func (o *AccessToken) Create(db *gorm.DB) error
- func (token *AccessToken) CreateAccessToken() (*AccessToken, error)
- func (o *AccessToken) Delete(db *gorm.DB) error
- func (token *AccessToken) IsExpired() bool
- func (token *AccessToken) RemoveAccessToken() error
- func (o *AccessToken) Update(db *gorm.DB, fields ...AccessTokenDBSchemaField) error
- type AccessTokenDBSchemaField
- type AccessTokenQuerySet
- func (qs AccessTokenQuerySet) All(ret *[]AccessToken) error
- func (qs AccessTokenQuerySet) Count() (int, error)
- func (qs AccessTokenQuerySet) CreatedEq(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) CreatedGt(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) CreatedGte(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) CreatedLt(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) CreatedLte(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) CreatedNe(created time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) Delete() error
- func (qs AccessTokenQuerySet) DeleteNum() (int64, error)
- func (qs AccessTokenQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs AccessTokenQuerySet) GetDB() *gorm.DB
- func (qs AccessTokenQuerySet) GetUpdater() AccessTokenUpdater
- func (qs AccessTokenQuerySet) Limit(limit int) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) Offset(offset int) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) One(ret *AccessToken) error
- func (qs AccessTokenQuerySet) OrderAscByCreated() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderAscByToken() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderAscByUserID() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderAscByValidThru() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderDescByCreated() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderDescByToken() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderDescByUserID() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) OrderDescByValidThru() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) PreloadUser() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) Select(fields ...AccessTokenDBSchemaField) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenEq(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenGt(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenGte(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenIn(token ...string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenLike(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenLt(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenLte(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenNe(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenNotIn(token ...string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) TokenNotlike(token string) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDEq(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDGt(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDGte(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDIn(userID ...int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDLt(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDLte(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDNe(userID int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIDNotIn(userID ...int64) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIsNotNull() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) UserIsNull() AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruEq(validThru time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruGt(validThru time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruGte(validThru time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruLt(validThru time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruLte(validThru time.Time) AccessTokenQuerySet
- func (qs AccessTokenQuerySet) ValidThruNe(validThru time.Time) AccessTokenQuerySet
- type AccessTokenUpdater
- func (u AccessTokenUpdater) SetCreated(created time.Time) AccessTokenUpdater
- func (u AccessTokenUpdater) SetToken(token string) AccessTokenUpdater
- func (u AccessTokenUpdater) SetUserID(userID int64) AccessTokenUpdater
- func (u AccessTokenUpdater) SetValidThru(validThru time.Time) AccessTokenUpdater
- func (u AccessTokenUpdater) Update() error
- func (u AccessTokenUpdater) UpdateNum() (int64, error)
- type BidStatus
- type Chat
- type ChatDBSchemaField
- type ChatHistory
- type ChatHistoryDBSchemaField
- type ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) All(ret *[]ChatHistory) error
- func (qs ChatHistoryQuerySet) ChatIDEq(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDGt(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDGte(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDIn(chatID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDLt(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDLte(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDNe(chatID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) ChatIDNotIn(chatID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) Count() (int, error)
- func (qs ChatHistoryQuerySet) Delete() error
- func (qs ChatHistoryQuerySet) DeleteNum() (int64, error)
- func (qs ChatHistoryQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ChatHistoryQuerySet) GetDB() *gorm.DB
- func (qs ChatHistoryQuerySet) GetUpdater() ChatHistoryUpdater
- func (qs ChatHistoryQuerySet) IDEq(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDGt(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDGte(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDIn(ID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDLt(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDLte(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDNe(ID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) IDNotIn(ID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) Limit(limit int) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDEq(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDGt(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDGte(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDIn(messageID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDLt(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDLte(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDNe(messageID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) MessageIDNotIn(messageID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) Offset(offset int) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) One(ret *ChatHistory) error
- func (qs ChatHistoryQuerySet) OrderAscByChatID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderAscByID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderAscByMessageID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderAscByOwnerID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderDescByChatID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderDescByID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderDescByMessageID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OrderDescByOwnerID() ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDEq(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDGt(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDGte(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDIn(ownerID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDLt(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDLte(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDNe(ownerID int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) OwnerIDNotIn(ownerID ...int64) ChatHistoryQuerySet
- func (qs ChatHistoryQuerySet) Select(fields ...ChatHistoryDBSchemaField) ChatHistoryQuerySet
- type ChatHistoryUpdater
- func (u ChatHistoryUpdater) SetChatID(chatID int64) ChatHistoryUpdater
- func (u ChatHistoryUpdater) SetID(ID int64) ChatHistoryUpdater
- func (u ChatHistoryUpdater) SetMessageID(messageID int64) ChatHistoryUpdater
- func (u ChatHistoryUpdater) SetOwnerID(ownerID int64) ChatHistoryUpdater
- func (u ChatHistoryUpdater) Update() error
- func (u ChatHistoryUpdater) UpdateNum() (int64, error)
- type ChatQuerySet
- func (qs ChatQuerySet) All(ret *[]Chat) error
- func (qs ChatQuerySet) Count() (int, error)
- func (qs ChatQuerySet) Delete() error
- func (qs ChatQuerySet) DeleteNum() (int64, error)
- func (qs ChatQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ChatQuerySet) GetDB() *gorm.DB
- func (qs ChatQuerySet) GetUpdater() ChatUpdater
- func (qs ChatQuerySet) IDEq(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDGt(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDGte(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDIn(ID ...int64) ChatQuerySet
- func (qs ChatQuerySet) IDLt(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDLte(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDNe(ID int64) ChatQuerySet
- func (qs ChatQuerySet) IDNotIn(ID ...int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDEq(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDGt(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDGte(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDIn(initiatorID ...int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDLt(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDLte(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDNe(initiatorID int64) ChatQuerySet
- func (qs ChatQuerySet) InitiatorIDNotIn(initiatorID ...int64) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedEq(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedGt(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedGte(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedIsNotNull() ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedIsNull() ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedLt(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedLte(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) LastUpdatedNe(lastUpdated time.Time) ChatQuerySet
- func (qs ChatQuerySet) Limit(limit int) ChatQuerySet
- func (qs ChatQuerySet) Offset(offset int) ChatQuerySet
- func (qs ChatQuerySet) One(ret *Chat) error
- func (qs ChatQuerySet) OrderAscByID() ChatQuerySet
- func (qs ChatQuerySet) OrderAscByInitiatorID() ChatQuerySet
- func (qs ChatQuerySet) OrderAscByLastUpdated() ChatQuerySet
- func (qs ChatQuerySet) OrderAscBySubscriberID() ChatQuerySet
- func (qs ChatQuerySet) OrderAscByTS() ChatQuerySet
- func (qs ChatQuerySet) OrderDescByID() ChatQuerySet
- func (qs ChatQuerySet) OrderDescByInitiatorID() ChatQuerySet
- func (qs ChatQuerySet) OrderDescByLastUpdated() ChatQuerySet
- func (qs ChatQuerySet) OrderDescBySubscriberID() ChatQuerySet
- func (qs ChatQuerySet) OrderDescByTS() ChatQuerySet
- func (qs ChatQuerySet) Select(fields ...ChatDBSchemaField) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDEq(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDGt(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDGte(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDIn(subscriberID ...int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDLt(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDLte(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDNe(subscriberID int64) ChatQuerySet
- func (qs ChatQuerySet) SubscriberIDNotIn(subscriberID ...int64) ChatQuerySet
- func (qs ChatQuerySet) TSEq(tS time.Time) ChatQuerySet
- func (qs ChatQuerySet) TSGt(tS time.Time) ChatQuerySet
- func (qs ChatQuerySet) TSGte(tS time.Time) ChatQuerySet
- func (qs ChatQuerySet) TSIsNotNull() ChatQuerySet
- func (qs ChatQuerySet) TSIsNull() ChatQuerySet
- func (qs ChatQuerySet) TSLt(tS time.Time) ChatQuerySet
- func (qs ChatQuerySet) TSLte(tS time.Time) ChatQuerySet
- func (qs ChatQuerySet) TSNe(tS time.Time) ChatQuerySet
- type ChatUpdater
- func (u ChatUpdater) SetID(ID int64) ChatUpdater
- func (u ChatUpdater) SetInitiatorID(initiatorID int64) ChatUpdater
- func (u ChatUpdater) SetLastUpdated(lastUpdated *time.Time) ChatUpdater
- func (u ChatUpdater) SetSubscriberID(subscriberID int64) ChatUpdater
- func (u ChatUpdater) SetTS(tS *time.Time) ChatUpdater
- func (u ChatUpdater) Update() error
- func (u ChatUpdater) UpdateNum() (int64, error)
- type Message
- type MessageDBSchemaField
- type MessageQuerySet
- func (qs MessageQuerySet) All(ret *[]Message) error
- func (qs MessageQuerySet) AttachmentDataEq(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataGt(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataGte(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataIn(attachmentData ...string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataLike(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataLt(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataLte(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataNe(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataNotIn(attachmentData ...string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentDataNotlike(attachmentData string) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindEq(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindGt(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindGte(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindIn(attachmentKind ...int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindLt(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindLte(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindNe(attachmentKind int) MessageQuerySet
- func (qs MessageQuerySet) AttachmentKindNotIn(attachmentKind ...int) MessageQuerySet
- func (qs MessageQuerySet) ChatIDEq(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDGt(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDGte(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDIn(chatID ...int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDLt(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDLte(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDNe(chatID int64) MessageQuerySet
- func (qs MessageQuerySet) ChatIDNotIn(chatID ...int64) MessageQuerySet
- func (qs MessageQuerySet) Count() (int, error)
- func (qs MessageQuerySet) Delete() error
- func (qs MessageQuerySet) DeleteNum() (int64, error)
- func (qs MessageQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs MessageQuerySet) DeletedEq(deleted bool) MessageQuerySet
- func (qs MessageQuerySet) DeletedIn(deleted ...bool) MessageQuerySet
- func (qs MessageQuerySet) DeletedNe(deleted bool) MessageQuerySet
- func (qs MessageQuerySet) DeletedNotIn(deleted ...bool) MessageQuerySet
- func (qs MessageQuerySet) GetDB() *gorm.DB
- func (qs MessageQuerySet) GetUpdater() MessageUpdater
- func (qs MessageQuerySet) IDEq(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDGt(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDGte(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDIn(ID ...int64) MessageQuerySet
- func (qs MessageQuerySet) IDLt(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDLte(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDNe(ID int64) MessageQuerySet
- func (qs MessageQuerySet) IDNotIn(ID ...int64) MessageQuerySet
- func (qs MessageQuerySet) Limit(limit int) MessageQuerySet
- func (qs MessageQuerySet) Offset(offset int) MessageQuerySet
- func (qs MessageQuerySet) One(ret *Message) error
- func (qs MessageQuerySet) OrderAscByAttachmentData() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByAttachmentKind() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByChatID() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByDeleted() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByID() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByReceiverID() MessageQuerySet
- func (qs MessageQuerySet) OrderAscBySenderID() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByTS() MessageQuerySet
- func (qs MessageQuerySet) OrderAscByText() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByAttachmentData() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByAttachmentKind() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByChatID() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByDeleted() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByID() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByReceiverID() MessageQuerySet
- func (qs MessageQuerySet) OrderDescBySenderID() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByTS() MessageQuerySet
- func (qs MessageQuerySet) OrderDescByText() MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDEq(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDGt(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDGte(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDIn(receiverID ...int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDLt(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDLte(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDNe(receiverID int64) MessageQuerySet
- func (qs MessageQuerySet) ReceiverIDNotIn(receiverID ...int64) MessageQuerySet
- func (qs MessageQuerySet) Select(fields ...MessageDBSchemaField) MessageQuerySet
- func (qs MessageQuerySet) SenderIDEq(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDGt(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDGte(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDIn(senderID ...int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDLt(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDLte(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDNe(senderID int64) MessageQuerySet
- func (qs MessageQuerySet) SenderIDNotIn(senderID ...int64) MessageQuerySet
- func (qs MessageQuerySet) TSEq(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TSGt(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TSGte(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TSIsNotNull() MessageQuerySet
- func (qs MessageQuerySet) TSIsNull() MessageQuerySet
- func (qs MessageQuerySet) TSLt(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TSLte(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TSNe(tS time.Time) MessageQuerySet
- func (qs MessageQuerySet) TextEq(text string) MessageQuerySet
- func (qs MessageQuerySet) TextGt(text string) MessageQuerySet
- func (qs MessageQuerySet) TextGte(text string) MessageQuerySet
- func (qs MessageQuerySet) TextIn(text ...string) MessageQuerySet
- func (qs MessageQuerySet) TextLike(text string) MessageQuerySet
- func (qs MessageQuerySet) TextLt(text string) MessageQuerySet
- func (qs MessageQuerySet) TextLte(text string) MessageQuerySet
- func (qs MessageQuerySet) TextNe(text string) MessageQuerySet
- func (qs MessageQuerySet) TextNotIn(text ...string) MessageQuerySet
- func (qs MessageQuerySet) TextNotlike(text string) MessageQuerySet
- type MessageUpdater
- func (u MessageUpdater) SetAttachmentData(attachmentData string) MessageUpdater
- func (u MessageUpdater) SetAttachmentKind(attachmentKind int) MessageUpdater
- func (u MessageUpdater) SetChatID(chatID int64) MessageUpdater
- func (u MessageUpdater) SetDeleted(deleted bool) MessageUpdater
- func (u MessageUpdater) SetID(ID int64) MessageUpdater
- func (u MessageUpdater) SetReceiverID(receiverID int64) MessageUpdater
- func (u MessageUpdater) SetSenderID(senderID int64) MessageUpdater
- func (u MessageUpdater) SetTS(tS *time.Time) MessageUpdater
- func (u MessageUpdater) SetText(text string) MessageUpdater
- func (u MessageUpdater) Update() error
- func (u MessageUpdater) UpdateNum() (int64, error)
- type Product
- func (o *Product) Create(db *gorm.DB) error
- func (o *Product) Delete(db *gorm.DB) error
- func (p *Product) GetBidderStatus(userID *int64) BidStatus
- func (p *Product) GetLatestBidPrice() float64
- func (p *Product) ToAPI(userID *int64) types.Product
- func (p *Product) ToDetailAPI(userID *int64) types.ProductDetail
- func (o *Product) Update(db *gorm.DB, fields ...ProductDBSchemaField) error
- type ProductBidder
- type ProductBidderDBSchemaField
- type ProductBidderQuerySet
- func (qs ProductBidderQuerySet) All(ret *[]ProductBidder) error
- func (qs ProductBidderQuerySet) BidPriceEq(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceGt(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceGte(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceIn(bidPrice ...float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceLt(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceLte(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceNe(bidPrice float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) BidPriceNotIn(bidPrice ...float64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) Count() (int, error)
- func (qs ProductBidderQuerySet) CreatedATEq(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATGt(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATGte(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATIsNotNull() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATIsNull() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATLt(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATLte(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) CreatedATNe(createdAT time.Time) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) Delete() error
- func (qs ProductBidderQuerySet) DeleteNum() (int64, error)
- func (qs ProductBidderQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ProductBidderQuerySet) GetDB() *gorm.DB
- func (qs ProductBidderQuerySet) GetUpdater() ProductBidderUpdater
- func (qs ProductBidderQuerySet) IDEq(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDGt(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDGte(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDIn(ID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDLt(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDLte(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDNe(ID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) IDNotIn(ID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) Limit(limit int) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) Offset(offset int) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) One(ret *ProductBidder) error
- func (qs ProductBidderQuerySet) OrderAscByBidPrice() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderAscByCreatedAT() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderAscByID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderAscByProductID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderAscByUserID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderAscByWinner() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByBidPrice() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByCreatedAT() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByProductID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByUserID() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) OrderDescByWinner() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) PreloadUser() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDEq(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDGt(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDGte(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDIn(productID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDLt(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDLte(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDNe(productID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) ProductIDNotIn(productID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) Select(fields ...ProductBidderDBSchemaField) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDEq(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDGt(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDGte(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDIn(userID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDLt(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDLte(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDNe(userID int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIDNotIn(userID ...int64) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIsNotNull() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) UserIsNull() ProductBidderQuerySet
- func (qs ProductBidderQuerySet) WinnerEq(winner bool) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) WinnerIn(winner ...bool) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) WinnerNe(winner bool) ProductBidderQuerySet
- func (qs ProductBidderQuerySet) WinnerNotIn(winner ...bool) ProductBidderQuerySet
- type ProductBidderUpdater
- func (u ProductBidderUpdater) SetBidPrice(bidPrice float64) ProductBidderUpdater
- func (u ProductBidderUpdater) SetCreatedAT(createdAT *time.Time) ProductBidderUpdater
- func (u ProductBidderUpdater) SetID(ID int64) ProductBidderUpdater
- func (u ProductBidderUpdater) SetProductID(productID int64) ProductBidderUpdater
- func (u ProductBidderUpdater) SetUserID(userID int64) ProductBidderUpdater
- func (u ProductBidderUpdater) SetWinner(winner bool) ProductBidderUpdater
- func (u ProductBidderUpdater) Update() error
- func (u ProductBidderUpdater) UpdateNum() (int64, error)
- type ProductDBSchemaField
- type ProductImage
- type ProductImageDBSchemaField
- type ProductImageQuerySet
- func (qs ProductImageQuerySet) All(ret *[]ProductImage) error
- func (qs ProductImageQuerySet) Count() (int, error)
- func (qs ProductImageQuerySet) Delete() error
- func (qs ProductImageQuerySet) DeleteNum() (int64, error)
- func (qs ProductImageQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ProductImageQuerySet) GetDB() *gorm.DB
- func (qs ProductImageQuerySet) GetUpdater() ProductImageUpdater
- func (qs ProductImageQuerySet) IDEq(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDGt(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDGte(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDIn(ID ...int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDLt(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDLte(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDNe(ID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) IDNotIn(ID ...int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLEq(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLGt(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLGte(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLIn(imageURL ...string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLLike(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLLt(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLLte(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLNe(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLNotIn(imageURL ...string) ProductImageQuerySet
- func (qs ProductImageQuerySet) ImageURLNotlike(imageURL string) ProductImageQuerySet
- func (qs ProductImageQuerySet) Limit(limit int) ProductImageQuerySet
- func (qs ProductImageQuerySet) Offset(offset int) ProductImageQuerySet
- func (qs ProductImageQuerySet) One(ret *ProductImage) error
- func (qs ProductImageQuerySet) OrderAscByID() ProductImageQuerySet
- func (qs ProductImageQuerySet) OrderAscByImageURL() ProductImageQuerySet
- func (qs ProductImageQuerySet) OrderAscByProductID() ProductImageQuerySet
- func (qs ProductImageQuerySet) OrderDescByID() ProductImageQuerySet
- func (qs ProductImageQuerySet) OrderDescByImageURL() ProductImageQuerySet
- func (qs ProductImageQuerySet) OrderDescByProductID() ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDEq(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDGt(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDGte(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDIn(productID ...int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDLt(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDLte(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDNe(productID int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) ProductIDNotIn(productID ...int64) ProductImageQuerySet
- func (qs ProductImageQuerySet) Select(fields ...ProductImageDBSchemaField) ProductImageQuerySet
- type ProductImageUpdater
- func (u ProductImageUpdater) SetID(ID int64) ProductImageUpdater
- func (u ProductImageUpdater) SetImageURL(imageURL string) ProductImageUpdater
- func (u ProductImageUpdater) SetProductID(productID int64) ProductImageUpdater
- func (u ProductImageUpdater) Update() error
- func (u ProductImageUpdater) UpdateNum() (int64, error)
- type ProductLabel
- type ProductLabelDBSchemaField
- type ProductLabelQuerySet
- func (qs ProductLabelQuerySet) All(ret *[]ProductLabel) error
- func (qs ProductLabelQuerySet) Count() (int, error)
- func (qs ProductLabelQuerySet) Delete() error
- func (qs ProductLabelQuerySet) DeleteNum() (int64, error)
- func (qs ProductLabelQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ProductLabelQuerySet) GetDB() *gorm.DB
- func (qs ProductLabelQuerySet) GetUpdater() ProductLabelUpdater
- func (qs ProductLabelQuerySet) IDEq(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDGt(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDGte(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDIn(ID ...int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDLt(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDLte(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDNe(ID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) IDNotIn(ID ...int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) Limit(limit int) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameEq(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameGt(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameGte(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameIn(name ...string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameLike(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameLt(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameLte(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameNe(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameNotIn(name ...string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) NameNotlike(name string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) Offset(offset int) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) One(ret *ProductLabel) error
- func (qs ProductLabelQuerySet) OrderAscByID() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderAscByName() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderAscByProductID() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderAscByValue() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderDescByID() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderDescByName() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderDescByProductID() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) OrderDescByValue() ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDEq(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDGt(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDGte(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDIn(productID ...int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDLt(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDLte(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDNe(productID int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ProductIDNotIn(productID ...int64) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) Select(fields ...ProductLabelDBSchemaField) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueEq(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueGt(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueGte(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueIn(value ...string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueLike(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueLt(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueLte(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueNe(value string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueNotIn(value ...string) ProductLabelQuerySet
- func (qs ProductLabelQuerySet) ValueNotlike(value string) ProductLabelQuerySet
- type ProductLabelUpdater
- func (u ProductLabelUpdater) SetID(ID int64) ProductLabelUpdater
- func (u ProductLabelUpdater) SetName(name string) ProductLabelUpdater
- func (u ProductLabelUpdater) SetProductID(productID int64) ProductLabelUpdater
- func (u ProductLabelUpdater) SetValue(value string) ProductLabelUpdater
- func (u ProductLabelUpdater) Update() error
- func (u ProductLabelUpdater) UpdateNum() (int64, error)
- type ProductQuerySet
- func (qs ProductQuerySet) All(ret *[]Product) error
- func (qs ProductQuerySet) BidMultplEq(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplGt(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplGte(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplIn(bidMultpl ...float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplLt(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplLte(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplNe(bidMultpl float64) ProductQuerySet
- func (qs ProductQuerySet) BidMultplNotIn(bidMultpl ...float64) ProductQuerySet
- func (qs ProductQuerySet) ClosedATEq(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedATGt(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedATGte(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedATIsNotNull() ProductQuerySet
- func (qs ProductQuerySet) ClosedATIsNull() ProductQuerySet
- func (qs ProductQuerySet) ClosedATLt(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedATLte(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedATNe(closedAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) ClosedEq(closed bool) ProductQuerySet
- func (qs ProductQuerySet) ClosedIn(closed ...bool) ProductQuerySet
- func (qs ProductQuerySet) ClosedNe(closed bool) ProductQuerySet
- func (qs ProductQuerySet) ClosedNotIn(closed ...bool) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgEq(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgGt(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgGte(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgIn(conditionAvg ...float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgLt(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgLte(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgNe(conditionAvg float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionAvgNotIn(conditionAvg ...float64) ProductQuerySet
- func (qs ProductQuerySet) ConditionEq(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionGt(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionGte(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionIn(condition ...int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionLt(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionLte(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionNe(condition int32) ProductQuerySet
- func (qs ProductQuerySet) ConditionNotIn(condition ...int32) ProductQuerySet
- func (qs ProductQuerySet) Count() (int, error)
- func (qs ProductQuerySet) CreatedATEq(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) CreatedATGt(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) CreatedATGte(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) CreatedATIsNotNull() ProductQuerySet
- func (qs ProductQuerySet) CreatedATIsNull() ProductQuerySet
- func (qs ProductQuerySet) CreatedATLt(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) CreatedATLte(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) CreatedATNe(createdAT time.Time) ProductQuerySet
- func (qs ProductQuerySet) Delete() error
- func (qs ProductQuerySet) DeleteNum() (int64, error)
- func (qs ProductQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs ProductQuerySet) DescEq(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescGt(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescGte(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescIn(desc ...string) ProductQuerySet
- func (qs ProductQuerySet) DescLike(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescLt(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescLte(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescNe(desc string) ProductQuerySet
- func (qs ProductQuerySet) DescNotIn(desc ...string) ProductQuerySet
- func (qs ProductQuerySet) DescNotlike(desc string) ProductQuerySet
- func (qs ProductQuerySet) GetDB() *gorm.DB
- func (qs ProductQuerySet) GetUpdater() ProductUpdater
- func (qs ProductQuerySet) IDEq(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDGt(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDGte(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDIn(ID ...int64) ProductQuerySet
- func (qs ProductQuerySet) IDLt(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDLte(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDNe(ID int64) ProductQuerySet
- func (qs ProductQuerySet) IDNotIn(ID ...int64) ProductQuerySet
- func (qs ProductQuerySet) Limit(limit int) ProductQuerySet
- func (qs ProductQuerySet) Offset(offset int) ProductQuerySet
- func (qs ProductQuerySet) One(ret *Product) error
- func (qs ProductQuerySet) OrderAscByBidMultpl() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByClosed() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByClosedAT() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByCondition() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByConditionAvg() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByCreatedAT() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByDesc() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByID() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByProductName() ProductQuerySet
- func (qs ProductQuerySet) OrderAscBySold() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByStartPrice() ProductQuerySet
- func (qs ProductQuerySet) OrderAscByStoreID() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByBidMultpl() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByClosed() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByClosedAT() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByCondition() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByConditionAvg() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByCreatedAT() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByDesc() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByID() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByProductName() ProductQuerySet
- func (qs ProductQuerySet) OrderDescBySold() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByStartPrice() ProductQuerySet
- func (qs ProductQuerySet) OrderDescByStoreID() ProductQuerySet
- func (qs ProductQuerySet) ProductNameEq(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameGt(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameGte(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameIn(productName ...string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameLike(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameLt(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameLte(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameNe(productName string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameNotIn(productName ...string) ProductQuerySet
- func (qs ProductQuerySet) ProductNameNotlike(productName string) ProductQuerySet
- func (qs ProductQuerySet) Select(fields ...ProductDBSchemaField) ProductQuerySet
- func (qs ProductQuerySet) SoldEq(sold bool) ProductQuerySet
- func (qs ProductQuerySet) SoldIn(sold ...bool) ProductQuerySet
- func (qs ProductQuerySet) SoldNe(sold bool) ProductQuerySet
- func (qs ProductQuerySet) SoldNotIn(sold ...bool) ProductQuerySet
- func (qs ProductQuerySet) StartPriceEq(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceGt(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceGte(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceIn(startPrice ...float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceLt(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceLte(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceNe(startPrice float64) ProductQuerySet
- func (qs ProductQuerySet) StartPriceNotIn(startPrice ...float64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDEq(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDGt(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDGte(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDIn(storeID ...int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDLt(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDLte(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDNe(storeID int64) ProductQuerySet
- func (qs ProductQuerySet) StoreIDNotIn(storeID ...int64) ProductQuerySet
- type ProductUpdater
- func (u ProductUpdater) SetBidMultpl(bidMultpl float64) ProductUpdater
- func (u ProductUpdater) SetClosed(closed bool) ProductUpdater
- func (u ProductUpdater) SetClosedAT(closedAT *time.Time) ProductUpdater
- func (u ProductUpdater) SetCondition(condition int32) ProductUpdater
- func (u ProductUpdater) SetConditionAvg(conditionAvg float64) ProductUpdater
- func (u ProductUpdater) SetCreatedAT(createdAT *time.Time) ProductUpdater
- func (u ProductUpdater) SetDesc(desc string) ProductUpdater
- func (u ProductUpdater) SetID(ID int64) ProductUpdater
- func (u ProductUpdater) SetProductName(productName string) ProductUpdater
- func (u ProductUpdater) SetSold(sold bool) ProductUpdater
- func (u ProductUpdater) SetStartPrice(startPrice float64) ProductUpdater
- func (u ProductUpdater) SetStoreID(storeID int64) ProductUpdater
- func (u ProductUpdater) Update() error
- func (u ProductUpdater) UpdateNum() (int64, error)
- type RegisterUser
- type RegisterUserDBSchemaField
- type RegisterUserQuerySet
- func (qs RegisterUserQuerySet) All(ret *[]RegisterUser) error
- func (qs RegisterUserQuerySet) CodeEq(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeGt(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeGte(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeIn(code ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeLike(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeLt(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeLte(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeNe(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeNotIn(code ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) CodeNotlike(code string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) Count() (int, error)
- func (qs RegisterUserQuerySet) Delete() error
- func (qs RegisterUserQuerySet) DeleteNum() (int64, error)
- func (qs RegisterUserQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs RegisterUserQuerySet) EmailEq(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailGt(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailGte(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailIn(email ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailLike(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailLt(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailLte(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailNe(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailNotIn(email ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) EmailNotlike(email string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameEq(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameGt(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameGte(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameIn(fullName ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameLike(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameLt(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameLte(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameNe(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameNotIn(fullName ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) FullNameNotlike(fullName string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) GetDB() *gorm.DB
- func (qs RegisterUserQuerySet) GetUpdater() RegisterUserUpdater
- func (qs RegisterUserQuerySet) Limit(limit int) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) Offset(offset int) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) One(ret *RegisterUser) error
- func (qs RegisterUserQuerySet) OrderAscByCode() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderAscByEmail() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderAscByFullName() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderAscByPhoneNum() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderAscByRegisteredAt() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderAscByToken() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByCode() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByEmail() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByFullName() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByPhoneNum() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByRegisteredAt() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) OrderDescByToken() RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumEq(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumGt(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumGte(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumIn(phoneNum ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumLike(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumLt(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumLte(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumNe(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumNotIn(phoneNum ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) PhoneNumNotlike(phoneNum string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtEq(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtGt(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtGte(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtLt(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtLte(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) RegisteredAtNe(registeredAt time.Time) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) Select(fields ...RegisterUserDBSchemaField) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenEq(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenGt(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenGte(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenIn(token ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenLike(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenLt(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenLte(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenNe(token string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenNotIn(token ...string) RegisterUserQuerySet
- func (qs RegisterUserQuerySet) TokenNotlike(token string) RegisterUserQuerySet
- type RegisterUserUpdater
- func (u RegisterUserUpdater) SetCode(code string) RegisterUserUpdater
- func (u RegisterUserUpdater) SetEmail(email string) RegisterUserUpdater
- func (u RegisterUserUpdater) SetFullName(fullName string) RegisterUserUpdater
- func (u RegisterUserUpdater) SetPhoneNum(phoneNum string) RegisterUserUpdater
- func (u RegisterUserUpdater) SetRegisteredAt(registeredAt time.Time) RegisterUserUpdater
- func (u RegisterUserUpdater) SetToken(token string) RegisterUserUpdater
- func (u RegisterUserUpdater) Update() error
- func (u RegisterUserUpdater) UpdateNum() (int64, error)
- type Store
- type StoreDBSchemaField
- type StoreQuerySet
- func (qs StoreQuerySet) AddressEq(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressGt(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressGte(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressIn(address ...string) StoreQuerySet
- func (qs StoreQuerySet) AddressLike(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressLt(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressLte(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressNe(address string) StoreQuerySet
- func (qs StoreQuerySet) AddressNotIn(address ...string) StoreQuerySet
- func (qs StoreQuerySet) AddressNotlike(address string) StoreQuerySet
- func (qs StoreQuerySet) All(ret *[]Store) error
- func (qs StoreQuerySet) AnnouncementEq(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementGt(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementGte(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementIn(announcement ...string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementLike(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementLt(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementLte(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementNe(announcement string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementNotIn(announcement ...string) StoreQuerySet
- func (qs StoreQuerySet) AnnouncementNotlike(announcement string) StoreQuerySet
- func (qs StoreQuerySet) Count() (int, error)
- func (qs StoreQuerySet) Delete() error
- func (qs StoreQuerySet) DeleteNum() (int64, error)
- func (qs StoreQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs StoreQuerySet) GetDB() *gorm.DB
- func (qs StoreQuerySet) GetUpdater() StoreUpdater
- func (qs StoreQuerySet) IDEq(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDGt(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDGte(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDIn(ID ...int64) StoreQuerySet
- func (qs StoreQuerySet) IDLt(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDLte(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDNe(ID int64) StoreQuerySet
- func (qs StoreQuerySet) IDNotIn(ID ...int64) StoreQuerySet
- func (qs StoreQuerySet) InfoEq(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoGt(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoGte(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoIn(info ...string) StoreQuerySet
- func (qs StoreQuerySet) InfoLike(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoLt(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoLte(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoNe(info string) StoreQuerySet
- func (qs StoreQuerySet) InfoNotIn(info ...string) StoreQuerySet
- func (qs StoreQuerySet) InfoNotlike(info string) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedEq(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedGt(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedGte(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedIsNotNull() StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedIsNull() StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedLt(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedLte(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) LastUpdatedNe(lastUpdated time.Time) StoreQuerySet
- func (qs StoreQuerySet) Limit(limit int) StoreQuerySet
- func (qs StoreQuerySet) NameEq(name string) StoreQuerySet
- func (qs StoreQuerySet) NameGt(name string) StoreQuerySet
- func (qs StoreQuerySet) NameGte(name string) StoreQuerySet
- func (qs StoreQuerySet) NameIn(name ...string) StoreQuerySet
- func (qs StoreQuerySet) NameLike(name string) StoreQuerySet
- func (qs StoreQuerySet) NameLt(name string) StoreQuerySet
- func (qs StoreQuerySet) NameLte(name string) StoreQuerySet
- func (qs StoreQuerySet) NameNe(name string) StoreQuerySet
- func (qs StoreQuerySet) NameNotIn(name ...string) StoreQuerySet
- func (qs StoreQuerySet) NameNotlike(name string) StoreQuerySet
- func (qs StoreQuerySet) Offset(offset int) StoreQuerySet
- func (qs StoreQuerySet) One(ret *Store) error
- func (qs StoreQuerySet) OrderAscByAddress() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByAnnouncement() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByID() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByInfo() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByLastUpdated() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByName() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByOwnerID() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByProductCount() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByProvince() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByRegency() StoreQuerySet
- func (qs StoreQuerySet) OrderAscBySUBDistrict() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByTS() StoreQuerySet
- func (qs StoreQuerySet) OrderAscByVillage() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByAddress() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByAnnouncement() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByID() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByInfo() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByLastUpdated() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByName() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByOwnerID() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByProductCount() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByProvince() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByRegency() StoreQuerySet
- func (qs StoreQuerySet) OrderDescBySUBDistrict() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByTS() StoreQuerySet
- func (qs StoreQuerySet) OrderDescByVillage() StoreQuerySet
- func (qs StoreQuerySet) OwnerIDEq(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDGt(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDGte(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDIn(ownerID ...int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDLt(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDLte(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDNe(ownerID int64) StoreQuerySet
- func (qs StoreQuerySet) OwnerIDNotIn(ownerID ...int64) StoreQuerySet
- func (qs StoreQuerySet) ProductCountEq(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountGt(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountGte(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountIn(productCount ...int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountLt(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountLte(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountNe(productCount int) StoreQuerySet
- func (qs StoreQuerySet) ProductCountNotIn(productCount ...int) StoreQuerySet
- func (qs StoreQuerySet) ProvinceEq(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceGt(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceGte(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceIn(province ...string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceLike(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceLt(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceLte(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceNe(province string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceNotIn(province ...string) StoreQuerySet
- func (qs StoreQuerySet) ProvinceNotlike(province string) StoreQuerySet
- func (qs StoreQuerySet) RegencyEq(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyGt(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyGte(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyIn(regency ...string) StoreQuerySet
- func (qs StoreQuerySet) RegencyLike(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyLt(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyLte(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyNe(regency string) StoreQuerySet
- func (qs StoreQuerySet) RegencyNotIn(regency ...string) StoreQuerySet
- func (qs StoreQuerySet) RegencyNotlike(regency string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictEq(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictGt(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictGte(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictIn(sUBDistrict ...string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictLike(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictLt(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictLte(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictNe(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictNotIn(sUBDistrict ...string) StoreQuerySet
- func (qs StoreQuerySet) SUBDistrictNotlike(sUBDistrict string) StoreQuerySet
- func (qs StoreQuerySet) Select(fields ...StoreDBSchemaField) StoreQuerySet
- func (qs StoreQuerySet) TSEq(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) TSGt(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) TSGte(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) TSIsNotNull() StoreQuerySet
- func (qs StoreQuerySet) TSIsNull() StoreQuerySet
- func (qs StoreQuerySet) TSLt(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) TSLte(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) TSNe(tS time.Time) StoreQuerySet
- func (qs StoreQuerySet) VillageEq(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageGt(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageGte(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageIn(village ...string) StoreQuerySet
- func (qs StoreQuerySet) VillageLike(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageLt(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageLte(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageNe(village string) StoreQuerySet
- func (qs StoreQuerySet) VillageNotIn(village ...string) StoreQuerySet
- func (qs StoreQuerySet) VillageNotlike(village string) StoreQuerySet
- type StoreUpdater
- func (u StoreUpdater) SetAddress(address string) StoreUpdater
- func (u StoreUpdater) SetAnnouncement(announcement string) StoreUpdater
- func (u StoreUpdater) SetID(ID int64) StoreUpdater
- func (u StoreUpdater) SetInfo(info string) StoreUpdater
- func (u StoreUpdater) SetLastUpdated(lastUpdated *time.Time) StoreUpdater
- func (u StoreUpdater) SetName(name string) StoreUpdater
- func (u StoreUpdater) SetOwnerID(ownerID int64) StoreUpdater
- func (u StoreUpdater) SetProductCount(productCount int) StoreUpdater
- func (u StoreUpdater) SetProvince(province string) StoreUpdater
- func (u StoreUpdater) SetRegency(regency string) StoreUpdater
- func (u StoreUpdater) SetSUBDistrict(sUBDistrict string) StoreUpdater
- func (u StoreUpdater) SetTS(tS *time.Time) StoreUpdater
- func (u StoreUpdater) SetVillage(village string) StoreUpdater
- func (u StoreUpdater) Update() error
- func (u StoreUpdater) UpdateNum() (int64, error)
- type User
- type UserConnect
- type UserConnectDBSchemaField
- type UserConnectQuerySet
- func (qs UserConnectQuerySet) All(ret *[]UserConnect) error
- func (qs UserConnectQuerySet) AppIDEq(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDGt(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDGte(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDIn(appID ...string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDLike(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDLt(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDLte(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDNe(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDNotIn(appID ...string) UserConnectQuerySet
- func (qs UserConnectQuerySet) AppIDNotlike(appID string) UserConnectQuerySet
- func (qs UserConnectQuerySet) Count() (int, error)
- func (qs UserConnectQuerySet) Delete() error
- func (qs UserConnectQuerySet) DeleteNum() (int64, error)
- func (qs UserConnectQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs UserConnectQuerySet) GetDB() *gorm.DB
- func (qs UserConnectQuerySet) GetUpdater() UserConnectUpdater
- func (qs UserConnectQuerySet) Limit(limit int) UserConnectQuerySet
- func (qs UserConnectQuerySet) Offset(offset int) UserConnectQuerySet
- func (qs UserConnectQuerySet) One(ret *UserConnect) error
- func (qs UserConnectQuerySet) OrderAscByAppID() UserConnectQuerySet
- func (qs UserConnectQuerySet) OrderAscByProviderName() UserConnectQuerySet
- func (qs UserConnectQuerySet) OrderAscByUserID() UserConnectQuerySet
- func (qs UserConnectQuerySet) OrderDescByAppID() UserConnectQuerySet
- func (qs UserConnectQuerySet) OrderDescByProviderName() UserConnectQuerySet
- func (qs UserConnectQuerySet) OrderDescByUserID() UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameEq(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameGt(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameGte(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameIn(providerName ...string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameLike(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameLt(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameLte(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameNe(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameNotIn(providerName ...string) UserConnectQuerySet
- func (qs UserConnectQuerySet) ProviderNameNotlike(providerName string) UserConnectQuerySet
- func (qs UserConnectQuerySet) Select(fields ...UserConnectDBSchemaField) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDEq(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDGt(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDGte(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDIn(userID ...int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDLt(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDLte(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDNe(userID int64) UserConnectQuerySet
- func (qs UserConnectQuerySet) UserIDNotIn(userID ...int64) UserConnectQuerySet
- type UserConnectUpdater
- func (u UserConnectUpdater) SetAppID(appID string) UserConnectUpdater
- func (u UserConnectUpdater) SetProviderName(providerName string) UserConnectUpdater
- func (u UserConnectUpdater) SetUserID(userID int64) UserConnectUpdater
- func (u UserConnectUpdater) Update() error
- func (u UserConnectUpdater) UpdateNum() (int64, error)
- type UserDBSchemaField
- type UserNotif
- type UserNotifDBSchemaField
- type UserNotifQuerySet
- func (qs UserNotifQuerySet) All(ret *[]UserNotif) error
- func (qs UserNotifQuerySet) ContentEq(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentGt(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentGte(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentIn(content ...string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentLike(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentLt(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentLte(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentNe(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentNotIn(content ...string) UserNotifQuerySet
- func (qs UserNotifQuerySet) ContentNotlike(content string) UserNotifQuerySet
- func (qs UserNotifQuerySet) Count() (int, error)
- func (qs UserNotifQuerySet) CreatedATEq(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATGt(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATGte(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATIsNotNull() UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATIsNull() UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATLt(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATLte(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) CreatedATNe(createdAT time.Time) UserNotifQuerySet
- func (qs UserNotifQuerySet) Delete() error
- func (qs UserNotifQuerySet) DeleteNum() (int64, error)
- func (qs UserNotifQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs UserNotifQuerySet) GetDB() *gorm.DB
- func (qs UserNotifQuerySet) GetUpdater() UserNotifUpdater
- func (qs UserNotifQuerySet) IDEq(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDGt(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDGte(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDIn(ID ...int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDLt(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDLte(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDNe(ID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) IDNotIn(ID ...int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) Limit(limit int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeEq(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeGt(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeGte(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeIn(notifType ...int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeLt(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeLte(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeNe(notifType int) UserNotifQuerySet
- func (qs UserNotifQuerySet) NotifTypeNotIn(notifType ...int) UserNotifQuerySet
- func (qs UserNotifQuerySet) Offset(offset int) UserNotifQuerySet
- func (qs UserNotifQuerySet) One(ret *UserNotif) error
- func (qs UserNotifQuerySet) OrderAscByContent() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByCreatedAT() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByID() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByNotifType() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByRead() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByTarget() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByTitle() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderAscByUserID() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByContent() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByCreatedAT() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByID() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByNotifType() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByRead() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByTarget() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByTitle() UserNotifQuerySet
- func (qs UserNotifQuerySet) OrderDescByUserID() UserNotifQuerySet
- func (qs UserNotifQuerySet) ReadEq(read bool) UserNotifQuerySet
- func (qs UserNotifQuerySet) ReadIn(read ...bool) UserNotifQuerySet
- func (qs UserNotifQuerySet) ReadNe(read bool) UserNotifQuerySet
- func (qs UserNotifQuerySet) ReadNotIn(read ...bool) UserNotifQuerySet
- func (qs UserNotifQuerySet) Select(fields ...UserNotifDBSchemaField) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetEq(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetGt(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetGte(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetIn(target ...int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetLt(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetLte(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetNe(target int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TargetNotIn(target ...int) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleEq(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleGt(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleGte(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleIn(title ...string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleLike(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleLt(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleLte(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleNe(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleNotIn(title ...string) UserNotifQuerySet
- func (qs UserNotifQuerySet) TitleNotlike(title string) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDEq(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDGt(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDGte(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDIn(userID ...int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDLt(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDLte(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDNe(userID int64) UserNotifQuerySet
- func (qs UserNotifQuerySet) UserIDNotIn(userID ...int64) UserNotifQuerySet
- type UserNotifUpdater
- func (u UserNotifUpdater) SetContent(content string) UserNotifUpdater
- func (u UserNotifUpdater) SetCreatedAT(createdAT *time.Time) UserNotifUpdater
- func (u UserNotifUpdater) SetID(ID int64) UserNotifUpdater
- func (u UserNotifUpdater) SetNotifType(notifType int) UserNotifUpdater
- func (u UserNotifUpdater) SetRead(read bool) UserNotifUpdater
- func (u UserNotifUpdater) SetTarget(target int) UserNotifUpdater
- func (u UserNotifUpdater) SetTitle(title string) UserNotifUpdater
- func (u UserNotifUpdater) SetUserID(userID int64) UserNotifUpdater
- func (u UserNotifUpdater) Update() error
- func (u UserNotifUpdater) UpdateNum() (int64, error)
- type UserPasshash
- type UserPasshashDBSchemaField
- type UserPasshashQuerySet
- func (qs UserPasshashQuerySet) All(ret *[]UserPasshash) error
- func (qs UserPasshashQuerySet) Count() (int, error)
- func (qs UserPasshashQuerySet) CreatedEq(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) CreatedGt(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) CreatedGte(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) CreatedLt(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) CreatedLte(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) CreatedNe(created time.Time) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) Delete() error
- func (qs UserPasshashQuerySet) DeleteNum() (int64, error)
- func (qs UserPasshashQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs UserPasshashQuerySet) DeprecatedEq(deprecated bool) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) DeprecatedIn(deprecated ...bool) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) DeprecatedNe(deprecated bool) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) DeprecatedNotIn(deprecated ...bool) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) GetDB() *gorm.DB
- func (qs UserPasshashQuerySet) GetUpdater() UserPasshashUpdater
- func (qs UserPasshashQuerySet) IDEq(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDGt(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDGte(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDIn(ID ...int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDLt(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDLte(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDNe(ID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) IDNotIn(ID ...int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) Limit(limit int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) Offset(offset int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) One(ret *UserPasshash) error
- func (qs UserPasshashQuerySet) OrderAscByCreated() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderAscByDeprecated() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderAscByID() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderAscByPasshash() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderAscByUserID() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderAscByVer() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByCreated() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByDeprecated() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByID() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByPasshash() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByUserID() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) OrderDescByVer() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashEq(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashGt(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashGte(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashIn(passhash ...string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashLike(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashLt(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashLte(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashNe(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashNotIn(passhash ...string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PasshashNotlike(passhash string) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) PreloadUser() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) Select(fields ...UserPasshashDBSchemaField) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDEq(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDGt(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDGte(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDIn(userID ...int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDLt(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDLte(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDNe(userID int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIDNotIn(userID ...int64) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIsNotNull() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) UserIsNull() UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerEq(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerGt(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerGte(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerIn(ver ...int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerLt(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerLte(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerNe(ver int) UserPasshashQuerySet
- func (qs UserPasshashQuerySet) VerNotIn(ver ...int) UserPasshashQuerySet
- type UserPasshashUpdater
- func (u UserPasshashUpdater) SetCreated(created time.Time) UserPasshashUpdater
- func (u UserPasshashUpdater) SetDeprecated(deprecated bool) UserPasshashUpdater
- func (u UserPasshashUpdater) SetID(ID int64) UserPasshashUpdater
- func (u UserPasshashUpdater) SetPasshash(passhash string) UserPasshashUpdater
- func (u UserPasshashUpdater) SetUserID(userID int64) UserPasshashUpdater
- func (u UserPasshashUpdater) SetVer(ver int) UserPasshashUpdater
- func (u UserPasshashUpdater) Update() error
- func (u UserPasshashUpdater) UpdateNum() (int64, error)
- type UserQuerySet
- func (qs UserQuerySet) ActiveEq(active bool) UserQuerySet
- func (qs UserQuerySet) ActiveIn(active ...bool) UserQuerySet
- func (qs UserQuerySet) ActiveNe(active bool) UserQuerySet
- func (qs UserQuerySet) ActiveNotIn(active ...bool) UserQuerySet
- func (qs UserQuerySet) AddressEq(address string) UserQuerySet
- func (qs UserQuerySet) AddressGt(address string) UserQuerySet
- func (qs UserQuerySet) AddressGte(address string) UserQuerySet
- func (qs UserQuerySet) AddressIn(address ...string) UserQuerySet
- func (qs UserQuerySet) AddressLike(address string) UserQuerySet
- func (qs UserQuerySet) AddressLt(address string) UserQuerySet
- func (qs UserQuerySet) AddressLte(address string) UserQuerySet
- func (qs UserQuerySet) AddressNe(address string) UserQuerySet
- func (qs UserQuerySet) AddressNotIn(address ...string) UserQuerySet
- func (qs UserQuerySet) AddressNotlike(address string) UserQuerySet
- func (qs UserQuerySet) All(ret *[]User) error
- func (qs UserQuerySet) AvatarEq(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarGt(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarGte(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarIn(avatar ...string) UserQuerySet
- func (qs UserQuerySet) AvatarLike(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarLt(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarLte(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarNe(avatar string) UserQuerySet
- func (qs UserQuerySet) AvatarNotIn(avatar ...string) UserQuerySet
- func (qs UserQuerySet) AvatarNotlike(avatar string) UserQuerySet
- func (qs UserQuerySet) Count() (int, error)
- func (qs UserQuerySet) Delete() error
- func (qs UserQuerySet) DeleteNum() (int64, error)
- func (qs UserQuerySet) DeleteNumUnscoped() (int64, error)
- func (qs UserQuerySet) EmailEq(email string) UserQuerySet
- func (qs UserQuerySet) EmailGt(email string) UserQuerySet
- func (qs UserQuerySet) EmailGte(email string) UserQuerySet
- func (qs UserQuerySet) EmailIn(email ...string) UserQuerySet
- func (qs UserQuerySet) EmailLike(email string) UserQuerySet
- func (qs UserQuerySet) EmailLt(email string) UserQuerySet
- func (qs UserQuerySet) EmailLte(email string) UserQuerySet
- func (qs UserQuerySet) EmailNe(email string) UserQuerySet
- func (qs UserQuerySet) EmailNotIn(email ...string) UserQuerySet
- func (qs UserQuerySet) EmailNotlike(email string) UserQuerySet
- func (qs UserQuerySet) FullNameEq(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameGt(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameGte(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameIn(fullName ...string) UserQuerySet
- func (qs UserQuerySet) FullNameLike(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameLt(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameLte(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameNe(fullName string) UserQuerySet
- func (qs UserQuerySet) FullNameNotIn(fullName ...string) UserQuerySet
- func (qs UserQuerySet) FullNameNotlike(fullName string) UserQuerySet
- func (qs UserQuerySet) GetDB() *gorm.DB
- func (qs UserQuerySet) GetUpdater() UserUpdater
- func (qs UserQuerySet) IDEq(ID int64) UserQuerySet
- func (qs UserQuerySet) IDGt(ID int64) UserQuerySet
- func (qs UserQuerySet) IDGte(ID int64) UserQuerySet
- func (qs UserQuerySet) IDIn(ID ...int64) UserQuerySet
- func (qs UserQuerySet) IDLt(ID int64) UserQuerySet
- func (qs UserQuerySet) IDLte(ID int64) UserQuerySet
- func (qs UserQuerySet) IDNe(ID int64) UserQuerySet
- func (qs UserQuerySet) IDNotIn(ID ...int64) UserQuerySet
- func (qs UserQuerySet) LastLoginEq(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) LastLoginGt(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) LastLoginGte(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) LastLoginIsNotNull() UserQuerySet
- func (qs UserQuerySet) LastLoginIsNull() UserQuerySet
- func (qs UserQuerySet) LastLoginLt(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) LastLoginLte(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) LastLoginNe(lastLogin time.Time) UserQuerySet
- func (qs UserQuerySet) Limit(limit int) UserQuerySet
- func (qs UserQuerySet) Offset(offset int) UserQuerySet
- func (qs UserQuerySet) One(ret *User) error
- func (qs UserQuerySet) OrderAscByActive() UserQuerySet
- func (qs UserQuerySet) OrderAscByAddress() UserQuerySet
- func (qs UserQuerySet) OrderAscByAvatar() UserQuerySet
- func (qs UserQuerySet) OrderAscByEmail() UserQuerySet
- func (qs UserQuerySet) OrderAscByFullName() UserQuerySet
- func (qs UserQuerySet) OrderAscByID() UserQuerySet
- func (qs UserQuerySet) OrderAscByLastLogin() UserQuerySet
- func (qs UserQuerySet) OrderAscByPhoneNum() UserQuerySet
- func (qs UserQuerySet) OrderAscByRegisteredAt() UserQuerySet
- func (qs UserQuerySet) OrderAscByType() UserQuerySet
- func (qs UserQuerySet) OrderDescByActive() UserQuerySet
- func (qs UserQuerySet) OrderDescByAddress() UserQuerySet
- func (qs UserQuerySet) OrderDescByAvatar() UserQuerySet
- func (qs UserQuerySet) OrderDescByEmail() UserQuerySet
- func (qs UserQuerySet) OrderDescByFullName() UserQuerySet
- func (qs UserQuerySet) OrderDescByID() UserQuerySet
- func (qs UserQuerySet) OrderDescByLastLogin() UserQuerySet
- func (qs UserQuerySet) OrderDescByPhoneNum() UserQuerySet
- func (qs UserQuerySet) OrderDescByRegisteredAt() UserQuerySet
- func (qs UserQuerySet) OrderDescByType() UserQuerySet
- func (qs UserQuerySet) PhoneNumEq(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumGt(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumGte(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumIn(phoneNum ...string) UserQuerySet
- func (qs UserQuerySet) PhoneNumLike(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumLt(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumLte(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumNe(phoneNum string) UserQuerySet
- func (qs UserQuerySet) PhoneNumNotIn(phoneNum ...string) UserQuerySet
- func (qs UserQuerySet) PhoneNumNotlike(phoneNum string) UserQuerySet
- func (qs UserQuerySet) RegisteredAtEq(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) RegisteredAtGt(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) RegisteredAtGte(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) RegisteredAtLt(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) RegisteredAtLte(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) RegisteredAtNe(registeredAt time.Time) UserQuerySet
- func (qs UserQuerySet) Select(fields ...UserDBSchemaField) UserQuerySet
- func (qs UserQuerySet) TypeEq(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeGt(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeGte(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeIn(typeValue ...int) UserQuerySet
- func (qs UserQuerySet) TypeLt(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeLte(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeNe(typeValue int) UserQuerySet
- func (qs UserQuerySet) TypeNotIn(typeValue ...int) UserQuerySet
- type UserSimple
- type UserUpdater
- func (u UserUpdater) SetActive(active bool) UserUpdater
- func (u UserUpdater) SetAddress(address string) UserUpdater
- func (u UserUpdater) SetAvatar(avatar string) UserUpdater
- func (u UserUpdater) SetEmail(email string) UserUpdater
- func (u UserUpdater) SetFullName(fullName string) UserUpdater
- func (u UserUpdater) SetID(ID int64) UserUpdater
- func (u UserUpdater) SetLastLogin(lastLogin *time.Time) UserUpdater
- func (u UserUpdater) SetPhoneNum(phoneNum string) UserUpdater
- func (u UserUpdater) SetRegisteredAt(registeredAt time.Time) UserUpdater
- func (u UserUpdater) SetType(typeValue int) UserUpdater
- func (u UserUpdater) Update() error
- func (u UserUpdater) UpdateNum() (int64, error)
Constants ¶
This section is empty.
Variables ¶
var AccessTokenDBSchema = struct { UserID AccessTokenDBSchemaField User AccessTokenDBSchemaField Token AccessTokenDBSchemaField Created AccessTokenDBSchemaField ValidThru AccessTokenDBSchemaField }{ UserID: AccessTokenDBSchemaField("user_id"), User: AccessTokenDBSchemaField("user"), Token: AccessTokenDBSchemaField("token"), Created: AccessTokenDBSchemaField("created"), ValidThru: AccessTokenDBSchemaField("valid_thru"), }
AccessTokenDBSchema stores db field names of AccessToken
var ChatDBSchema = struct { ID ChatDBSchemaField InitiatorID ChatDBSchemaField SubscriberID ChatDBSchemaField LastUpdated ChatDBSchemaField TS ChatDBSchemaField }{ ID: ChatDBSchemaField("id"), InitiatorID: ChatDBSchemaField("initiator_id"), SubscriberID: ChatDBSchemaField("subscriber_id"), LastUpdated: ChatDBSchemaField("last_updated"), TS: ChatDBSchemaField("ts"), }
ChatDBSchema stores db field names of Chat
var ChatHistoryDBSchema = struct { ID ChatHistoryDBSchemaField ChatID ChatHistoryDBSchemaField OwnerID ChatHistoryDBSchemaField MessageID ChatHistoryDBSchemaField }{ ID: ChatHistoryDBSchemaField("id"), ChatID: ChatHistoryDBSchemaField("chat_id"), OwnerID: ChatHistoryDBSchemaField("owner_id"), MessageID: ChatHistoryDBSchemaField("message_id"), }
ChatHistoryDBSchema stores db field names of ChatHistory
var MessageDBSchema = struct { ID MessageDBSchemaField ChatID MessageDBSchemaField SenderID MessageDBSchemaField ReceiverID MessageDBSchemaField Text MessageDBSchemaField Deleted MessageDBSchemaField AttachmentKind MessageDBSchemaField AttachmentData MessageDBSchemaField TS MessageDBSchemaField }{ ID: MessageDBSchemaField("id"), ChatID: MessageDBSchemaField("chat_id"), SenderID: MessageDBSchemaField("sender_id"), ReceiverID: MessageDBSchemaField("receiver_id"), Text: MessageDBSchemaField("text"), Deleted: MessageDBSchemaField("deleted"), AttachmentKind: MessageDBSchemaField("attachment_kind"), AttachmentData: MessageDBSchemaField("attachment_data"), TS: MessageDBSchemaField("ts"), }
MessageDBSchema stores db field names of Message
var ProductBidderDBSchema = struct { ID ProductBidderDBSchemaField UserID ProductBidderDBSchemaField ProductID ProductBidderDBSchemaField BidPrice ProductBidderDBSchemaField Winner ProductBidderDBSchemaField CreatedAT ProductBidderDBSchemaField User ProductBidderDBSchemaField }{ ID: ProductBidderDBSchemaField("id"), UserID: ProductBidderDBSchemaField("user_id"), ProductID: ProductBidderDBSchemaField("product_id"), BidPrice: ProductBidderDBSchemaField("bid_price"), Winner: ProductBidderDBSchemaField("winner"), CreatedAT: ProductBidderDBSchemaField("created_at"), User: ProductBidderDBSchemaField("user"), }
ProductBidderDBSchema stores db field names of ProductBidder
var ProductDBSchema = struct { ID ProductDBSchemaField StoreID ProductDBSchemaField ProductName ProductDBSchemaField Desc ProductDBSchemaField Condition ProductDBSchemaField ConditionAvg ProductDBSchemaField StartPrice ProductDBSchemaField BidMultpl ProductDBSchemaField ClosedAT ProductDBSchemaField CreatedAT ProductDBSchemaField Sold ProductDBSchemaField Closed ProductDBSchemaField }{ ID: ProductDBSchemaField("id"), StoreID: ProductDBSchemaField("store_id"), ProductName: ProductDBSchemaField("product_name"), Desc: ProductDBSchemaField("desc"), Condition: ProductDBSchemaField("condition"), ConditionAvg: ProductDBSchemaField("condition_avg"), StartPrice: ProductDBSchemaField("start_price"), BidMultpl: ProductDBSchemaField("bid_multpl"), ClosedAT: ProductDBSchemaField("closed_at"), CreatedAT: ProductDBSchemaField("created_at"), Sold: ProductDBSchemaField("sold"), Closed: ProductDBSchemaField("closed"), }
ProductDBSchema stores db field names of Product
var ProductImageDBSchema = struct { ID ProductImageDBSchemaField ProductID ProductImageDBSchemaField ImageURL ProductImageDBSchemaField }{ ID: ProductImageDBSchemaField("id"), ProductID: ProductImageDBSchemaField("product_id"), ImageURL: ProductImageDBSchemaField("image_url"), }
ProductImageDBSchema stores db field names of ProductImage
var ProductLabelDBSchema = struct { ID ProductLabelDBSchemaField ProductID ProductLabelDBSchemaField Name ProductLabelDBSchemaField Value ProductLabelDBSchemaField }{ ID: ProductLabelDBSchemaField("id"), ProductID: ProductLabelDBSchemaField("product_id"), Name: ProductLabelDBSchemaField("name"), Value: ProductLabelDBSchemaField("value"), }
ProductLabelDBSchema stores db field names of ProductLabel
var RegisterUserDBSchema = struct { FullName RegisterUserDBSchemaField Email RegisterUserDBSchemaField PhoneNum RegisterUserDBSchemaField Token RegisterUserDBSchemaField Code RegisterUserDBSchemaField RegisteredAt RegisterUserDBSchemaField }{ FullName: RegisterUserDBSchemaField("full_name"), Email: RegisterUserDBSchemaField("email"), PhoneNum: RegisterUserDBSchemaField("phone_num"), Token: RegisterUserDBSchemaField("token"), Code: RegisterUserDBSchemaField("code"), RegisteredAt: RegisterUserDBSchemaField("registered_at"), }
RegisterUserDBSchema stores db field names of RegisterUser
var StoreDBSchema = struct { ID StoreDBSchemaField Name StoreDBSchemaField Info StoreDBSchemaField OwnerID StoreDBSchemaField Announcement StoreDBSchemaField ProductCount StoreDBSchemaField Province StoreDBSchemaField Regency StoreDBSchemaField SUBDistrict StoreDBSchemaField Village StoreDBSchemaField Address StoreDBSchemaField LastUpdated StoreDBSchemaField TS StoreDBSchemaField }{ ID: StoreDBSchemaField("id"), Name: StoreDBSchemaField("name"), Info: StoreDBSchemaField("info"), OwnerID: StoreDBSchemaField("owner_id"), Announcement: StoreDBSchemaField("announcement"), ProductCount: StoreDBSchemaField("product_count"), Province: StoreDBSchemaField("province"), Regency: StoreDBSchemaField("regency"), SUBDistrict: StoreDBSchemaField("sub_district"), Village: StoreDBSchemaField("village"), Address: StoreDBSchemaField("address"), LastUpdated: StoreDBSchemaField("last_updated"), TS: StoreDBSchemaField("ts"), }
StoreDBSchema stores db field names of Store
var UserConnectDBSchema = struct { UserID UserConnectDBSchemaField ProviderName UserConnectDBSchemaField AppID UserConnectDBSchemaField }{ UserID: UserConnectDBSchemaField("user_id"), ProviderName: UserConnectDBSchemaField("provider_name"), AppID: UserConnectDBSchemaField("app_id"), }
UserConnectDBSchema stores db field names of UserConnect
var UserDBSchema = struct { ID UserDBSchemaField FullName UserDBSchemaField Email UserDBSchemaField PhoneNum UserDBSchemaField Address UserDBSchemaField Avatar UserDBSchemaField Type UserDBSchemaField Active UserDBSchemaField LastLogin UserDBSchemaField RegisteredAt UserDBSchemaField }{ ID: UserDBSchemaField("id"), FullName: UserDBSchemaField("full_name"), Email: UserDBSchemaField("email"), PhoneNum: UserDBSchemaField("phone_num"), Address: UserDBSchemaField("address"), Avatar: UserDBSchemaField("avatar"), Type: UserDBSchemaField("type"), Active: UserDBSchemaField("active"), LastLogin: UserDBSchemaField("last_login"), RegisteredAt: UserDBSchemaField("registered_at"), }
UserDBSchema stores db field names of User
var UserNotifDBSchema = struct { ID UserNotifDBSchemaField UserID UserNotifDBSchemaField Title UserNotifDBSchemaField Content UserNotifDBSchemaField NotifType UserNotifDBSchemaField Target UserNotifDBSchemaField CreatedAT UserNotifDBSchemaField Read UserNotifDBSchemaField }{ ID: UserNotifDBSchemaField("id"), UserID: UserNotifDBSchemaField("user_id"), Title: UserNotifDBSchemaField("title"), Content: UserNotifDBSchemaField("content"), NotifType: UserNotifDBSchemaField("notif_type"), Target: UserNotifDBSchemaField("target"), CreatedAT: UserNotifDBSchemaField("created_at"), Read: UserNotifDBSchemaField("read"), }
UserNotifDBSchema stores db field names of UserNotif
var UserPasshashDBSchema = struct { ID UserPasshashDBSchemaField UserID UserPasshashDBSchemaField User UserPasshashDBSchemaField Passhash UserPasshashDBSchemaField Deprecated UserPasshashDBSchemaField Ver UserPasshashDBSchemaField Created UserPasshashDBSchemaField }{ ID: UserPasshashDBSchemaField("id"), UserID: UserPasshashDBSchemaField("user_id"), User: UserPasshashDBSchemaField("user"), Passhash: UserPasshashDBSchemaField("passhash"), Deprecated: UserPasshashDBSchemaField("deprecated"), Ver: UserPasshashDBSchemaField("ver"), Created: UserPasshashDBSchemaField("created"), }
UserPasshashDBSchema stores db field names of UserPasshash
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { sync.Mutex UserID int64 `json:"user_id"` User *User `json:"-"` Token string `json:"token"` Created time.Time `json:"created"` ValidThru time.Time `json:"valid_thru"` }
AccessToken definisi model untuk access token user gen:qs
func (*AccessToken) Create ¶
func (o *AccessToken) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*AccessToken) CreateAccessToken ¶
func (token *AccessToken) CreateAccessToken() (*AccessToken, error)
CreateAccessToken dao untuk menambahkan user
func (*AccessToken) Delete ¶
func (o *AccessToken) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*AccessToken) IsExpired ¶
func (token *AccessToken) IsExpired() bool
IsExpired dao untuk check apakah token sudah expired
func (*AccessToken) RemoveAccessToken ¶
func (token *AccessToken) RemoveAccessToken() error
RemoveAccessToken dao untuk menghapus token
func (*AccessToken) Update ¶
func (o *AccessToken) Update(db *gorm.DB, fields ...AccessTokenDBSchemaField) error
Update updates AccessToken fields by primary key nolint: dupl
type AccessTokenDBSchemaField ¶
type AccessTokenDBSchemaField string
AccessTokenDBSchemaField describes database schema field. It requires for method 'Update'
func (AccessTokenDBSchemaField) String ¶
func (f AccessTokenDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type AccessTokenQuerySet ¶
type AccessTokenQuerySet struct {
// contains filtered or unexported fields
}
AccessTokenQuerySet is an queryset type for AccessToken
func NewAccessTokenQuerySet ¶
func NewAccessTokenQuerySet(db *gorm.DB) AccessTokenQuerySet
NewAccessTokenQuerySet constructs new AccessTokenQuerySet
func (AccessTokenQuerySet) All ¶
func (qs AccessTokenQuerySet) All(ret *[]AccessToken) error
All is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) Count ¶
func (qs AccessTokenQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedEq ¶
func (qs AccessTokenQuerySet) CreatedEq(created time.Time) AccessTokenQuerySet
CreatedEq is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedGt ¶
func (qs AccessTokenQuerySet) CreatedGt(created time.Time) AccessTokenQuerySet
CreatedGt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedGte ¶
func (qs AccessTokenQuerySet) CreatedGte(created time.Time) AccessTokenQuerySet
CreatedGte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedLt ¶
func (qs AccessTokenQuerySet) CreatedLt(created time.Time) AccessTokenQuerySet
CreatedLt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedLte ¶
func (qs AccessTokenQuerySet) CreatedLte(created time.Time) AccessTokenQuerySet
CreatedLte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) CreatedNe ¶
func (qs AccessTokenQuerySet) CreatedNe(created time.Time) AccessTokenQuerySet
CreatedNe is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) Delete ¶
func (qs AccessTokenQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) DeleteNum ¶
func (qs AccessTokenQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) DeleteNumUnscoped ¶
func (qs AccessTokenQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) GetDB ¶
func (qs AccessTokenQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) GetUpdater ¶
func (qs AccessTokenQuerySet) GetUpdater() AccessTokenUpdater
GetUpdater is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) Limit ¶
func (qs AccessTokenQuerySet) Limit(limit int) AccessTokenQuerySet
Limit is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) Offset ¶
func (qs AccessTokenQuerySet) Offset(offset int) AccessTokenQuerySet
Offset is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) One ¶
func (qs AccessTokenQuerySet) One(ret *AccessToken) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (AccessTokenQuerySet) OrderAscByCreated ¶
func (qs AccessTokenQuerySet) OrderAscByCreated() AccessTokenQuerySet
OrderAscByCreated is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderAscByToken ¶
func (qs AccessTokenQuerySet) OrderAscByToken() AccessTokenQuerySet
OrderAscByToken is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderAscByUserID ¶
func (qs AccessTokenQuerySet) OrderAscByUserID() AccessTokenQuerySet
OrderAscByUserID is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderAscByValidThru ¶
func (qs AccessTokenQuerySet) OrderAscByValidThru() AccessTokenQuerySet
OrderAscByValidThru is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderDescByCreated ¶
func (qs AccessTokenQuerySet) OrderDescByCreated() AccessTokenQuerySet
OrderDescByCreated is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderDescByToken ¶
func (qs AccessTokenQuerySet) OrderDescByToken() AccessTokenQuerySet
OrderDescByToken is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderDescByUserID ¶
func (qs AccessTokenQuerySet) OrderDescByUserID() AccessTokenQuerySet
OrderDescByUserID is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) OrderDescByValidThru ¶
func (qs AccessTokenQuerySet) OrderDescByValidThru() AccessTokenQuerySet
OrderDescByValidThru is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) PreloadUser ¶
func (qs AccessTokenQuerySet) PreloadUser() AccessTokenQuerySet
PreloadUser is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) Select ¶
func (qs AccessTokenQuerySet) Select(fields ...AccessTokenDBSchemaField) AccessTokenQuerySet
func (AccessTokenQuerySet) TokenEq ¶
func (qs AccessTokenQuerySet) TokenEq(token string) AccessTokenQuerySet
TokenEq is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenGt ¶
func (qs AccessTokenQuerySet) TokenGt(token string) AccessTokenQuerySet
TokenGt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenGte ¶
func (qs AccessTokenQuerySet) TokenGte(token string) AccessTokenQuerySet
TokenGte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenIn ¶
func (qs AccessTokenQuerySet) TokenIn(token ...string) AccessTokenQuerySet
TokenIn is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenLike ¶
func (qs AccessTokenQuerySet) TokenLike(token string) AccessTokenQuerySet
TokenLike is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenLt ¶
func (qs AccessTokenQuerySet) TokenLt(token string) AccessTokenQuerySet
TokenLt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenLte ¶
func (qs AccessTokenQuerySet) TokenLte(token string) AccessTokenQuerySet
TokenLte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenNe ¶
func (qs AccessTokenQuerySet) TokenNe(token string) AccessTokenQuerySet
TokenNe is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenNotIn ¶
func (qs AccessTokenQuerySet) TokenNotIn(token ...string) AccessTokenQuerySet
TokenNotIn is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) TokenNotlike ¶
func (qs AccessTokenQuerySet) TokenNotlike(token string) AccessTokenQuerySet
TokenNotlike is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDEq ¶
func (qs AccessTokenQuerySet) UserIDEq(userID int64) AccessTokenQuerySet
UserIDEq is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDGt ¶
func (qs AccessTokenQuerySet) UserIDGt(userID int64) AccessTokenQuerySet
UserIDGt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDGte ¶
func (qs AccessTokenQuerySet) UserIDGte(userID int64) AccessTokenQuerySet
UserIDGte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDIn ¶
func (qs AccessTokenQuerySet) UserIDIn(userID ...int64) AccessTokenQuerySet
UserIDIn is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDLt ¶
func (qs AccessTokenQuerySet) UserIDLt(userID int64) AccessTokenQuerySet
UserIDLt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDLte ¶
func (qs AccessTokenQuerySet) UserIDLte(userID int64) AccessTokenQuerySet
UserIDLte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDNe ¶
func (qs AccessTokenQuerySet) UserIDNe(userID int64) AccessTokenQuerySet
UserIDNe is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIDNotIn ¶
func (qs AccessTokenQuerySet) UserIDNotIn(userID ...int64) AccessTokenQuerySet
UserIDNotIn is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIsNotNull ¶
func (qs AccessTokenQuerySet) UserIsNotNull() AccessTokenQuerySet
UserIsNotNull is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) UserIsNull ¶
func (qs AccessTokenQuerySet) UserIsNull() AccessTokenQuerySet
UserIsNull is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruEq ¶
func (qs AccessTokenQuerySet) ValidThruEq(validThru time.Time) AccessTokenQuerySet
ValidThruEq is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruGt ¶
func (qs AccessTokenQuerySet) ValidThruGt(validThru time.Time) AccessTokenQuerySet
ValidThruGt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruGte ¶
func (qs AccessTokenQuerySet) ValidThruGte(validThru time.Time) AccessTokenQuerySet
ValidThruGte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruLt ¶
func (qs AccessTokenQuerySet) ValidThruLt(validThru time.Time) AccessTokenQuerySet
ValidThruLt is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruLte ¶
func (qs AccessTokenQuerySet) ValidThruLte(validThru time.Time) AccessTokenQuerySet
ValidThruLte is an autogenerated method nolint: dupl
func (AccessTokenQuerySet) ValidThruNe ¶
func (qs AccessTokenQuerySet) ValidThruNe(validThru time.Time) AccessTokenQuerySet
ValidThruNe is an autogenerated method nolint: dupl
type AccessTokenUpdater ¶
type AccessTokenUpdater struct {
// contains filtered or unexported fields
}
AccessTokenUpdater is an AccessToken updates manager
func NewAccessTokenUpdater ¶
func NewAccessTokenUpdater(db *gorm.DB) AccessTokenUpdater
NewAccessTokenUpdater creates new AccessToken updater nolint: dupl
func (AccessTokenUpdater) SetCreated ¶
func (u AccessTokenUpdater) SetCreated(created time.Time) AccessTokenUpdater
SetCreated is an autogenerated method nolint: dupl
func (AccessTokenUpdater) SetToken ¶
func (u AccessTokenUpdater) SetToken(token string) AccessTokenUpdater
SetToken is an autogenerated method nolint: dupl
func (AccessTokenUpdater) SetUserID ¶
func (u AccessTokenUpdater) SetUserID(userID int64) AccessTokenUpdater
SetUserID is an autogenerated method nolint: dupl
func (AccessTokenUpdater) SetValidThru ¶
func (u AccessTokenUpdater) SetValidThru(validThru time.Time) AccessTokenUpdater
SetValidThru is an autogenerated method nolint: dupl
func (AccessTokenUpdater) Update ¶
func (u AccessTokenUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (AccessTokenUpdater) UpdateNum ¶
func (u AccessTokenUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type BidStatus ¶
type BidStatus struct { BidCount int `json:"bid_count"` LatestBidPrice float64 `json:"latest_bid_price"` LatestUserID int64 `json:"latest_user_id"` MyLatestBid float64 `json:"my_latest_bid,omitempty"` }
BidStatus status bid for product
type Chat ¶
type Chat struct { ID int64 `json:"id"` InitiatorID int64 `json:"initiator_id"` SubscriberID int64 `json:"subscriber_id"` LastUpdated *time.Time `json:"last_updated"` TS *time.Time `json:"ts"` }
Chat model gen:qs
type ChatDBSchemaField ¶
type ChatDBSchemaField string
ChatDBSchemaField describes database schema field. It requires for method 'Update'
func (ChatDBSchemaField) String ¶
func (f ChatDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ChatHistory ¶
type ChatHistory struct { ID int64 `json:"id"` ChatID int64 `json:"chat_id"` OwnerID int64 `json:"owner_id"` MessageID int64 `json:"message_id"` }
ChatHistory model gen:qs
func (*ChatHistory) Create ¶
func (o *ChatHistory) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*ChatHistory) Delete ¶
func (o *ChatHistory) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (ChatHistory) TableName ¶
func (ChatHistory) TableName() string
TableName override for model ChatHistory
func (*ChatHistory) Update ¶
func (o *ChatHistory) Update(db *gorm.DB, fields ...ChatHistoryDBSchemaField) error
Update updates ChatHistory fields by primary key nolint: dupl
type ChatHistoryDBSchemaField ¶
type ChatHistoryDBSchemaField string
ChatHistoryDBSchemaField describes database schema field. It requires for method 'Update'
func (ChatHistoryDBSchemaField) String ¶
func (f ChatHistoryDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ChatHistoryQuerySet ¶
type ChatHistoryQuerySet struct {
// contains filtered or unexported fields
}
ChatHistoryQuerySet is an queryset type for ChatHistory
func NewChatHistoryQuerySet ¶
func NewChatHistoryQuerySet(db *gorm.DB) ChatHistoryQuerySet
NewChatHistoryQuerySet constructs new ChatHistoryQuerySet
func (ChatHistoryQuerySet) All ¶
func (qs ChatHistoryQuerySet) All(ret *[]ChatHistory) error
All is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDEq ¶
func (qs ChatHistoryQuerySet) ChatIDEq(chatID int64) ChatHistoryQuerySet
ChatIDEq is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDGt ¶
func (qs ChatHistoryQuerySet) ChatIDGt(chatID int64) ChatHistoryQuerySet
ChatIDGt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDGte ¶
func (qs ChatHistoryQuerySet) ChatIDGte(chatID int64) ChatHistoryQuerySet
ChatIDGte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDIn ¶
func (qs ChatHistoryQuerySet) ChatIDIn(chatID ...int64) ChatHistoryQuerySet
ChatIDIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDLt ¶
func (qs ChatHistoryQuerySet) ChatIDLt(chatID int64) ChatHistoryQuerySet
ChatIDLt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDLte ¶
func (qs ChatHistoryQuerySet) ChatIDLte(chatID int64) ChatHistoryQuerySet
ChatIDLte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDNe ¶
func (qs ChatHistoryQuerySet) ChatIDNe(chatID int64) ChatHistoryQuerySet
ChatIDNe is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) ChatIDNotIn ¶
func (qs ChatHistoryQuerySet) ChatIDNotIn(chatID ...int64) ChatHistoryQuerySet
ChatIDNotIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) Count ¶
func (qs ChatHistoryQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) Delete ¶
func (qs ChatHistoryQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) DeleteNum ¶
func (qs ChatHistoryQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) DeleteNumUnscoped ¶
func (qs ChatHistoryQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) GetDB ¶
func (qs ChatHistoryQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) GetUpdater ¶
func (qs ChatHistoryQuerySet) GetUpdater() ChatHistoryUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDEq ¶
func (qs ChatHistoryQuerySet) IDEq(ID int64) ChatHistoryQuerySet
IDEq is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDGt ¶
func (qs ChatHistoryQuerySet) IDGt(ID int64) ChatHistoryQuerySet
IDGt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDGte ¶
func (qs ChatHistoryQuerySet) IDGte(ID int64) ChatHistoryQuerySet
IDGte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDIn ¶
func (qs ChatHistoryQuerySet) IDIn(ID ...int64) ChatHistoryQuerySet
IDIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDLt ¶
func (qs ChatHistoryQuerySet) IDLt(ID int64) ChatHistoryQuerySet
IDLt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDLte ¶
func (qs ChatHistoryQuerySet) IDLte(ID int64) ChatHistoryQuerySet
IDLte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDNe ¶
func (qs ChatHistoryQuerySet) IDNe(ID int64) ChatHistoryQuerySet
IDNe is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) IDNotIn ¶
func (qs ChatHistoryQuerySet) IDNotIn(ID ...int64) ChatHistoryQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) Limit ¶
func (qs ChatHistoryQuerySet) Limit(limit int) ChatHistoryQuerySet
Limit is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDEq ¶
func (qs ChatHistoryQuerySet) MessageIDEq(messageID int64) ChatHistoryQuerySet
MessageIDEq is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDGt ¶
func (qs ChatHistoryQuerySet) MessageIDGt(messageID int64) ChatHistoryQuerySet
MessageIDGt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDGte ¶
func (qs ChatHistoryQuerySet) MessageIDGte(messageID int64) ChatHistoryQuerySet
MessageIDGte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDIn ¶
func (qs ChatHistoryQuerySet) MessageIDIn(messageID ...int64) ChatHistoryQuerySet
MessageIDIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDLt ¶
func (qs ChatHistoryQuerySet) MessageIDLt(messageID int64) ChatHistoryQuerySet
MessageIDLt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDLte ¶
func (qs ChatHistoryQuerySet) MessageIDLte(messageID int64) ChatHistoryQuerySet
MessageIDLte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDNe ¶
func (qs ChatHistoryQuerySet) MessageIDNe(messageID int64) ChatHistoryQuerySet
MessageIDNe is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) MessageIDNotIn ¶
func (qs ChatHistoryQuerySet) MessageIDNotIn(messageID ...int64) ChatHistoryQuerySet
MessageIDNotIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) Offset ¶
func (qs ChatHistoryQuerySet) Offset(offset int) ChatHistoryQuerySet
Offset is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) One ¶
func (qs ChatHistoryQuerySet) One(ret *ChatHistory) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ChatHistoryQuerySet) OrderAscByChatID ¶
func (qs ChatHistoryQuerySet) OrderAscByChatID() ChatHistoryQuerySet
OrderAscByChatID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderAscByID ¶
func (qs ChatHistoryQuerySet) OrderAscByID() ChatHistoryQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderAscByMessageID ¶
func (qs ChatHistoryQuerySet) OrderAscByMessageID() ChatHistoryQuerySet
OrderAscByMessageID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderAscByOwnerID ¶
func (qs ChatHistoryQuerySet) OrderAscByOwnerID() ChatHistoryQuerySet
OrderAscByOwnerID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderDescByChatID ¶
func (qs ChatHistoryQuerySet) OrderDescByChatID() ChatHistoryQuerySet
OrderDescByChatID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderDescByID ¶
func (qs ChatHistoryQuerySet) OrderDescByID() ChatHistoryQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderDescByMessageID ¶
func (qs ChatHistoryQuerySet) OrderDescByMessageID() ChatHistoryQuerySet
OrderDescByMessageID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OrderDescByOwnerID ¶
func (qs ChatHistoryQuerySet) OrderDescByOwnerID() ChatHistoryQuerySet
OrderDescByOwnerID is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDEq ¶
func (qs ChatHistoryQuerySet) OwnerIDEq(ownerID int64) ChatHistoryQuerySet
OwnerIDEq is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDGt ¶
func (qs ChatHistoryQuerySet) OwnerIDGt(ownerID int64) ChatHistoryQuerySet
OwnerIDGt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDGte ¶
func (qs ChatHistoryQuerySet) OwnerIDGte(ownerID int64) ChatHistoryQuerySet
OwnerIDGte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDIn ¶
func (qs ChatHistoryQuerySet) OwnerIDIn(ownerID ...int64) ChatHistoryQuerySet
OwnerIDIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDLt ¶
func (qs ChatHistoryQuerySet) OwnerIDLt(ownerID int64) ChatHistoryQuerySet
OwnerIDLt is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDLte ¶
func (qs ChatHistoryQuerySet) OwnerIDLte(ownerID int64) ChatHistoryQuerySet
OwnerIDLte is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDNe ¶
func (qs ChatHistoryQuerySet) OwnerIDNe(ownerID int64) ChatHistoryQuerySet
OwnerIDNe is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) OwnerIDNotIn ¶
func (qs ChatHistoryQuerySet) OwnerIDNotIn(ownerID ...int64) ChatHistoryQuerySet
OwnerIDNotIn is an autogenerated method nolint: dupl
func (ChatHistoryQuerySet) Select ¶
func (qs ChatHistoryQuerySet) Select(fields ...ChatHistoryDBSchemaField) ChatHistoryQuerySet
type ChatHistoryUpdater ¶
type ChatHistoryUpdater struct {
// contains filtered or unexported fields
}
ChatHistoryUpdater is an ChatHistory updates manager
func NewChatHistoryUpdater ¶
func NewChatHistoryUpdater(db *gorm.DB) ChatHistoryUpdater
NewChatHistoryUpdater creates new ChatHistory updater nolint: dupl
func (ChatHistoryUpdater) SetChatID ¶
func (u ChatHistoryUpdater) SetChatID(chatID int64) ChatHistoryUpdater
SetChatID is an autogenerated method nolint: dupl
func (ChatHistoryUpdater) SetID ¶
func (u ChatHistoryUpdater) SetID(ID int64) ChatHistoryUpdater
SetID is an autogenerated method nolint: dupl
func (ChatHistoryUpdater) SetMessageID ¶
func (u ChatHistoryUpdater) SetMessageID(messageID int64) ChatHistoryUpdater
SetMessageID is an autogenerated method nolint: dupl
func (ChatHistoryUpdater) SetOwnerID ¶
func (u ChatHistoryUpdater) SetOwnerID(ownerID int64) ChatHistoryUpdater
SetOwnerID is an autogenerated method nolint: dupl
func (ChatHistoryUpdater) Update ¶
func (u ChatHistoryUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ChatHistoryUpdater) UpdateNum ¶
func (u ChatHistoryUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type ChatQuerySet ¶
type ChatQuerySet struct {
// contains filtered or unexported fields
}
ChatQuerySet is an queryset type for Chat
func NewChatQuerySet ¶
func NewChatQuerySet(db *gorm.DB) ChatQuerySet
NewChatQuerySet constructs new ChatQuerySet
func (ChatQuerySet) All ¶
func (qs ChatQuerySet) All(ret *[]Chat) error
All is an autogenerated method nolint: dupl
func (ChatQuerySet) Count ¶
func (qs ChatQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ChatQuerySet) Delete ¶
func (qs ChatQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ChatQuerySet) DeleteNum ¶
func (qs ChatQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ChatQuerySet) DeleteNumUnscoped ¶
func (qs ChatQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ChatQuerySet) GetDB ¶
func (qs ChatQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ChatQuerySet) GetUpdater ¶
func (qs ChatQuerySet) GetUpdater() ChatUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ChatQuerySet) IDEq ¶
func (qs ChatQuerySet) IDEq(ID int64) ChatQuerySet
IDEq is an autogenerated method nolint: dupl
func (ChatQuerySet) IDGt ¶
func (qs ChatQuerySet) IDGt(ID int64) ChatQuerySet
IDGt is an autogenerated method nolint: dupl
func (ChatQuerySet) IDGte ¶
func (qs ChatQuerySet) IDGte(ID int64) ChatQuerySet
IDGte is an autogenerated method nolint: dupl
func (ChatQuerySet) IDIn ¶
func (qs ChatQuerySet) IDIn(ID ...int64) ChatQuerySet
IDIn is an autogenerated method nolint: dupl
func (ChatQuerySet) IDLt ¶
func (qs ChatQuerySet) IDLt(ID int64) ChatQuerySet
IDLt is an autogenerated method nolint: dupl
func (ChatQuerySet) IDLte ¶
func (qs ChatQuerySet) IDLte(ID int64) ChatQuerySet
IDLte is an autogenerated method nolint: dupl
func (ChatQuerySet) IDNe ¶
func (qs ChatQuerySet) IDNe(ID int64) ChatQuerySet
IDNe is an autogenerated method nolint: dupl
func (ChatQuerySet) IDNotIn ¶
func (qs ChatQuerySet) IDNotIn(ID ...int64) ChatQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDEq ¶
func (qs ChatQuerySet) InitiatorIDEq(initiatorID int64) ChatQuerySet
InitiatorIDEq is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDGt ¶
func (qs ChatQuerySet) InitiatorIDGt(initiatorID int64) ChatQuerySet
InitiatorIDGt is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDGte ¶
func (qs ChatQuerySet) InitiatorIDGte(initiatorID int64) ChatQuerySet
InitiatorIDGte is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDIn ¶
func (qs ChatQuerySet) InitiatorIDIn(initiatorID ...int64) ChatQuerySet
InitiatorIDIn is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDLt ¶
func (qs ChatQuerySet) InitiatorIDLt(initiatorID int64) ChatQuerySet
InitiatorIDLt is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDLte ¶
func (qs ChatQuerySet) InitiatorIDLte(initiatorID int64) ChatQuerySet
InitiatorIDLte is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDNe ¶
func (qs ChatQuerySet) InitiatorIDNe(initiatorID int64) ChatQuerySet
InitiatorIDNe is an autogenerated method nolint: dupl
func (ChatQuerySet) InitiatorIDNotIn ¶
func (qs ChatQuerySet) InitiatorIDNotIn(initiatorID ...int64) ChatQuerySet
InitiatorIDNotIn is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedEq ¶
func (qs ChatQuerySet) LastUpdatedEq(lastUpdated time.Time) ChatQuerySet
LastUpdatedEq is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedGt ¶
func (qs ChatQuerySet) LastUpdatedGt(lastUpdated time.Time) ChatQuerySet
LastUpdatedGt is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedGte ¶
func (qs ChatQuerySet) LastUpdatedGte(lastUpdated time.Time) ChatQuerySet
LastUpdatedGte is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedIsNotNull ¶
func (qs ChatQuerySet) LastUpdatedIsNotNull() ChatQuerySet
LastUpdatedIsNotNull is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedIsNull ¶
func (qs ChatQuerySet) LastUpdatedIsNull() ChatQuerySet
LastUpdatedIsNull is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedLt ¶
func (qs ChatQuerySet) LastUpdatedLt(lastUpdated time.Time) ChatQuerySet
LastUpdatedLt is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedLte ¶
func (qs ChatQuerySet) LastUpdatedLte(lastUpdated time.Time) ChatQuerySet
LastUpdatedLte is an autogenerated method nolint: dupl
func (ChatQuerySet) LastUpdatedNe ¶
func (qs ChatQuerySet) LastUpdatedNe(lastUpdated time.Time) ChatQuerySet
LastUpdatedNe is an autogenerated method nolint: dupl
func (ChatQuerySet) Limit ¶
func (qs ChatQuerySet) Limit(limit int) ChatQuerySet
Limit is an autogenerated method nolint: dupl
func (ChatQuerySet) Offset ¶
func (qs ChatQuerySet) Offset(offset int) ChatQuerySet
Offset is an autogenerated method nolint: dupl
func (ChatQuerySet) One ¶
func (qs ChatQuerySet) One(ret *Chat) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ChatQuerySet) OrderAscByID ¶
func (qs ChatQuerySet) OrderAscByID() ChatQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderAscByInitiatorID ¶
func (qs ChatQuerySet) OrderAscByInitiatorID() ChatQuerySet
OrderAscByInitiatorID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderAscByLastUpdated ¶
func (qs ChatQuerySet) OrderAscByLastUpdated() ChatQuerySet
OrderAscByLastUpdated is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderAscBySubscriberID ¶
func (qs ChatQuerySet) OrderAscBySubscriberID() ChatQuerySet
OrderAscBySubscriberID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderAscByTS ¶
func (qs ChatQuerySet) OrderAscByTS() ChatQuerySet
OrderAscByTS is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderDescByID ¶
func (qs ChatQuerySet) OrderDescByID() ChatQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderDescByInitiatorID ¶
func (qs ChatQuerySet) OrderDescByInitiatorID() ChatQuerySet
OrderDescByInitiatorID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderDescByLastUpdated ¶
func (qs ChatQuerySet) OrderDescByLastUpdated() ChatQuerySet
OrderDescByLastUpdated is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderDescBySubscriberID ¶
func (qs ChatQuerySet) OrderDescBySubscriberID() ChatQuerySet
OrderDescBySubscriberID is an autogenerated method nolint: dupl
func (ChatQuerySet) OrderDescByTS ¶
func (qs ChatQuerySet) OrderDescByTS() ChatQuerySet
OrderDescByTS is an autogenerated method nolint: dupl
func (ChatQuerySet) Select ¶
func (qs ChatQuerySet) Select(fields ...ChatDBSchemaField) ChatQuerySet
func (ChatQuerySet) SubscriberIDEq ¶
func (qs ChatQuerySet) SubscriberIDEq(subscriberID int64) ChatQuerySet
SubscriberIDEq is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDGt ¶
func (qs ChatQuerySet) SubscriberIDGt(subscriberID int64) ChatQuerySet
SubscriberIDGt is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDGte ¶
func (qs ChatQuerySet) SubscriberIDGte(subscriberID int64) ChatQuerySet
SubscriberIDGte is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDIn ¶
func (qs ChatQuerySet) SubscriberIDIn(subscriberID ...int64) ChatQuerySet
SubscriberIDIn is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDLt ¶
func (qs ChatQuerySet) SubscriberIDLt(subscriberID int64) ChatQuerySet
SubscriberIDLt is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDLte ¶
func (qs ChatQuerySet) SubscriberIDLte(subscriberID int64) ChatQuerySet
SubscriberIDLte is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDNe ¶
func (qs ChatQuerySet) SubscriberIDNe(subscriberID int64) ChatQuerySet
SubscriberIDNe is an autogenerated method nolint: dupl
func (ChatQuerySet) SubscriberIDNotIn ¶
func (qs ChatQuerySet) SubscriberIDNotIn(subscriberID ...int64) ChatQuerySet
SubscriberIDNotIn is an autogenerated method nolint: dupl
func (ChatQuerySet) TSEq ¶
func (qs ChatQuerySet) TSEq(tS time.Time) ChatQuerySet
TSEq is an autogenerated method nolint: dupl
func (ChatQuerySet) TSGt ¶
func (qs ChatQuerySet) TSGt(tS time.Time) ChatQuerySet
TSGt is an autogenerated method nolint: dupl
func (ChatQuerySet) TSGte ¶
func (qs ChatQuerySet) TSGte(tS time.Time) ChatQuerySet
TSGte is an autogenerated method nolint: dupl
func (ChatQuerySet) TSIsNotNull ¶
func (qs ChatQuerySet) TSIsNotNull() ChatQuerySet
TSIsNotNull is an autogenerated method nolint: dupl
func (ChatQuerySet) TSIsNull ¶
func (qs ChatQuerySet) TSIsNull() ChatQuerySet
TSIsNull is an autogenerated method nolint: dupl
func (ChatQuerySet) TSLt ¶
func (qs ChatQuerySet) TSLt(tS time.Time) ChatQuerySet
TSLt is an autogenerated method nolint: dupl
func (ChatQuerySet) TSLte ¶
func (qs ChatQuerySet) TSLte(tS time.Time) ChatQuerySet
TSLte is an autogenerated method nolint: dupl
func (ChatQuerySet) TSNe ¶
func (qs ChatQuerySet) TSNe(tS time.Time) ChatQuerySet
TSNe is an autogenerated method nolint: dupl
type ChatUpdater ¶
type ChatUpdater struct {
// contains filtered or unexported fields
}
ChatUpdater is an Chat updates manager
func NewChatUpdater ¶
func NewChatUpdater(db *gorm.DB) ChatUpdater
NewChatUpdater creates new Chat updater nolint: dupl
func (ChatUpdater) SetID ¶
func (u ChatUpdater) SetID(ID int64) ChatUpdater
SetID is an autogenerated method nolint: dupl
func (ChatUpdater) SetInitiatorID ¶
func (u ChatUpdater) SetInitiatorID(initiatorID int64) ChatUpdater
SetInitiatorID is an autogenerated method nolint: dupl
func (ChatUpdater) SetLastUpdated ¶
func (u ChatUpdater) SetLastUpdated(lastUpdated *time.Time) ChatUpdater
SetLastUpdated is an autogenerated method nolint: dupl
func (ChatUpdater) SetSubscriberID ¶
func (u ChatUpdater) SetSubscriberID(subscriberID int64) ChatUpdater
SetSubscriberID is an autogenerated method nolint: dupl
func (ChatUpdater) SetTS ¶
func (u ChatUpdater) SetTS(tS *time.Time) ChatUpdater
SetTS is an autogenerated method nolint: dupl
func (ChatUpdater) Update ¶
func (u ChatUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ChatUpdater) UpdateNum ¶
func (u ChatUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type Message ¶
type Message struct { ID int64 `json:"id"` ChatID int64 `json:"chat_id"` SenderID int64 `json:"sender_id"` ReceiverID int64 `json:"receiver_id"` Text string `json:"text"` Deleted bool `json:"deleted"` AttachmentKind int `json:"attachment_kind"` AttachmentData string `json:"attachment_data"` TS *time.Time `json:"ts"` }
Message model gen:qs
type MessageDBSchemaField ¶
type MessageDBSchemaField string
MessageDBSchemaField describes database schema field. It requires for method 'Update'
func (MessageDBSchemaField) String ¶
func (f MessageDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type MessageQuerySet ¶
type MessageQuerySet struct {
// contains filtered or unexported fields
}
MessageQuerySet is an queryset type for Message
func NewMessageQuerySet ¶
func NewMessageQuerySet(db *gorm.DB) MessageQuerySet
NewMessageQuerySet constructs new MessageQuerySet
func (MessageQuerySet) All ¶
func (qs MessageQuerySet) All(ret *[]Message) error
All is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataEq ¶
func (qs MessageQuerySet) AttachmentDataEq(attachmentData string) MessageQuerySet
AttachmentDataEq is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataGt ¶
func (qs MessageQuerySet) AttachmentDataGt(attachmentData string) MessageQuerySet
AttachmentDataGt is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataGte ¶
func (qs MessageQuerySet) AttachmentDataGte(attachmentData string) MessageQuerySet
AttachmentDataGte is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataIn ¶
func (qs MessageQuerySet) AttachmentDataIn(attachmentData ...string) MessageQuerySet
AttachmentDataIn is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataLike ¶
func (qs MessageQuerySet) AttachmentDataLike(attachmentData string) MessageQuerySet
AttachmentDataLike is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataLt ¶
func (qs MessageQuerySet) AttachmentDataLt(attachmentData string) MessageQuerySet
AttachmentDataLt is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataLte ¶
func (qs MessageQuerySet) AttachmentDataLte(attachmentData string) MessageQuerySet
AttachmentDataLte is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataNe ¶
func (qs MessageQuerySet) AttachmentDataNe(attachmentData string) MessageQuerySet
AttachmentDataNe is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataNotIn ¶
func (qs MessageQuerySet) AttachmentDataNotIn(attachmentData ...string) MessageQuerySet
AttachmentDataNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentDataNotlike ¶
func (qs MessageQuerySet) AttachmentDataNotlike(attachmentData string) MessageQuerySet
AttachmentDataNotlike is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindEq ¶
func (qs MessageQuerySet) AttachmentKindEq(attachmentKind int) MessageQuerySet
AttachmentKindEq is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindGt ¶
func (qs MessageQuerySet) AttachmentKindGt(attachmentKind int) MessageQuerySet
AttachmentKindGt is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindGte ¶
func (qs MessageQuerySet) AttachmentKindGte(attachmentKind int) MessageQuerySet
AttachmentKindGte is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindIn ¶
func (qs MessageQuerySet) AttachmentKindIn(attachmentKind ...int) MessageQuerySet
AttachmentKindIn is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindLt ¶
func (qs MessageQuerySet) AttachmentKindLt(attachmentKind int) MessageQuerySet
AttachmentKindLt is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindLte ¶
func (qs MessageQuerySet) AttachmentKindLte(attachmentKind int) MessageQuerySet
AttachmentKindLte is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindNe ¶
func (qs MessageQuerySet) AttachmentKindNe(attachmentKind int) MessageQuerySet
AttachmentKindNe is an autogenerated method nolint: dupl
func (MessageQuerySet) AttachmentKindNotIn ¶
func (qs MessageQuerySet) AttachmentKindNotIn(attachmentKind ...int) MessageQuerySet
AttachmentKindNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDEq ¶
func (qs MessageQuerySet) ChatIDEq(chatID int64) MessageQuerySet
ChatIDEq is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDGt ¶
func (qs MessageQuerySet) ChatIDGt(chatID int64) MessageQuerySet
ChatIDGt is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDGte ¶
func (qs MessageQuerySet) ChatIDGte(chatID int64) MessageQuerySet
ChatIDGte is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDIn ¶
func (qs MessageQuerySet) ChatIDIn(chatID ...int64) MessageQuerySet
ChatIDIn is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDLt ¶
func (qs MessageQuerySet) ChatIDLt(chatID int64) MessageQuerySet
ChatIDLt is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDLte ¶
func (qs MessageQuerySet) ChatIDLte(chatID int64) MessageQuerySet
ChatIDLte is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDNe ¶
func (qs MessageQuerySet) ChatIDNe(chatID int64) MessageQuerySet
ChatIDNe is an autogenerated method nolint: dupl
func (MessageQuerySet) ChatIDNotIn ¶
func (qs MessageQuerySet) ChatIDNotIn(chatID ...int64) MessageQuerySet
ChatIDNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) Count ¶
func (qs MessageQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (MessageQuerySet) Delete ¶
func (qs MessageQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (MessageQuerySet) DeleteNum ¶
func (qs MessageQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (MessageQuerySet) DeleteNumUnscoped ¶
func (qs MessageQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (MessageQuerySet) DeletedEq ¶
func (qs MessageQuerySet) DeletedEq(deleted bool) MessageQuerySet
DeletedEq is an autogenerated method nolint: dupl
func (MessageQuerySet) DeletedIn ¶
func (qs MessageQuerySet) DeletedIn(deleted ...bool) MessageQuerySet
DeletedIn is an autogenerated method nolint: dupl
func (MessageQuerySet) DeletedNe ¶
func (qs MessageQuerySet) DeletedNe(deleted bool) MessageQuerySet
DeletedNe is an autogenerated method nolint: dupl
func (MessageQuerySet) DeletedNotIn ¶
func (qs MessageQuerySet) DeletedNotIn(deleted ...bool) MessageQuerySet
DeletedNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) GetDB ¶
func (qs MessageQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (MessageQuerySet) GetUpdater ¶
func (qs MessageQuerySet) GetUpdater() MessageUpdater
GetUpdater is an autogenerated method nolint: dupl
func (MessageQuerySet) IDEq ¶
func (qs MessageQuerySet) IDEq(ID int64) MessageQuerySet
IDEq is an autogenerated method nolint: dupl
func (MessageQuerySet) IDGt ¶
func (qs MessageQuerySet) IDGt(ID int64) MessageQuerySet
IDGt is an autogenerated method nolint: dupl
func (MessageQuerySet) IDGte ¶
func (qs MessageQuerySet) IDGte(ID int64) MessageQuerySet
IDGte is an autogenerated method nolint: dupl
func (MessageQuerySet) IDIn ¶
func (qs MessageQuerySet) IDIn(ID ...int64) MessageQuerySet
IDIn is an autogenerated method nolint: dupl
func (MessageQuerySet) IDLt ¶
func (qs MessageQuerySet) IDLt(ID int64) MessageQuerySet
IDLt is an autogenerated method nolint: dupl
func (MessageQuerySet) IDLte ¶
func (qs MessageQuerySet) IDLte(ID int64) MessageQuerySet
IDLte is an autogenerated method nolint: dupl
func (MessageQuerySet) IDNe ¶
func (qs MessageQuerySet) IDNe(ID int64) MessageQuerySet
IDNe is an autogenerated method nolint: dupl
func (MessageQuerySet) IDNotIn ¶
func (qs MessageQuerySet) IDNotIn(ID ...int64) MessageQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) Limit ¶
func (qs MessageQuerySet) Limit(limit int) MessageQuerySet
Limit is an autogenerated method nolint: dupl
func (MessageQuerySet) Offset ¶
func (qs MessageQuerySet) Offset(offset int) MessageQuerySet
Offset is an autogenerated method nolint: dupl
func (MessageQuerySet) One ¶
func (qs MessageQuerySet) One(ret *Message) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (MessageQuerySet) OrderAscByAttachmentData ¶
func (qs MessageQuerySet) OrderAscByAttachmentData() MessageQuerySet
OrderAscByAttachmentData is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByAttachmentKind ¶
func (qs MessageQuerySet) OrderAscByAttachmentKind() MessageQuerySet
OrderAscByAttachmentKind is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByChatID ¶
func (qs MessageQuerySet) OrderAscByChatID() MessageQuerySet
OrderAscByChatID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByDeleted ¶
func (qs MessageQuerySet) OrderAscByDeleted() MessageQuerySet
OrderAscByDeleted is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByID ¶
func (qs MessageQuerySet) OrderAscByID() MessageQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByReceiverID ¶
func (qs MessageQuerySet) OrderAscByReceiverID() MessageQuerySet
OrderAscByReceiverID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscBySenderID ¶
func (qs MessageQuerySet) OrderAscBySenderID() MessageQuerySet
OrderAscBySenderID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByTS ¶
func (qs MessageQuerySet) OrderAscByTS() MessageQuerySet
OrderAscByTS is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderAscByText ¶
func (qs MessageQuerySet) OrderAscByText() MessageQuerySet
OrderAscByText is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByAttachmentData ¶
func (qs MessageQuerySet) OrderDescByAttachmentData() MessageQuerySet
OrderDescByAttachmentData is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByAttachmentKind ¶
func (qs MessageQuerySet) OrderDescByAttachmentKind() MessageQuerySet
OrderDescByAttachmentKind is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByChatID ¶
func (qs MessageQuerySet) OrderDescByChatID() MessageQuerySet
OrderDescByChatID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByDeleted ¶
func (qs MessageQuerySet) OrderDescByDeleted() MessageQuerySet
OrderDescByDeleted is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByID ¶
func (qs MessageQuerySet) OrderDescByID() MessageQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByReceiverID ¶
func (qs MessageQuerySet) OrderDescByReceiverID() MessageQuerySet
OrderDescByReceiverID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescBySenderID ¶
func (qs MessageQuerySet) OrderDescBySenderID() MessageQuerySet
OrderDescBySenderID is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByTS ¶
func (qs MessageQuerySet) OrderDescByTS() MessageQuerySet
OrderDescByTS is an autogenerated method nolint: dupl
func (MessageQuerySet) OrderDescByText ¶
func (qs MessageQuerySet) OrderDescByText() MessageQuerySet
OrderDescByText is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDEq ¶
func (qs MessageQuerySet) ReceiverIDEq(receiverID int64) MessageQuerySet
ReceiverIDEq is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDGt ¶
func (qs MessageQuerySet) ReceiverIDGt(receiverID int64) MessageQuerySet
ReceiverIDGt is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDGte ¶
func (qs MessageQuerySet) ReceiverIDGte(receiverID int64) MessageQuerySet
ReceiverIDGte is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDIn ¶
func (qs MessageQuerySet) ReceiverIDIn(receiverID ...int64) MessageQuerySet
ReceiverIDIn is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDLt ¶
func (qs MessageQuerySet) ReceiverIDLt(receiverID int64) MessageQuerySet
ReceiverIDLt is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDLte ¶
func (qs MessageQuerySet) ReceiverIDLte(receiverID int64) MessageQuerySet
ReceiverIDLte is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDNe ¶
func (qs MessageQuerySet) ReceiverIDNe(receiverID int64) MessageQuerySet
ReceiverIDNe is an autogenerated method nolint: dupl
func (MessageQuerySet) ReceiverIDNotIn ¶
func (qs MessageQuerySet) ReceiverIDNotIn(receiverID ...int64) MessageQuerySet
ReceiverIDNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) Select ¶
func (qs MessageQuerySet) Select(fields ...MessageDBSchemaField) MessageQuerySet
func (MessageQuerySet) SenderIDEq ¶
func (qs MessageQuerySet) SenderIDEq(senderID int64) MessageQuerySet
SenderIDEq is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDGt ¶
func (qs MessageQuerySet) SenderIDGt(senderID int64) MessageQuerySet
SenderIDGt is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDGte ¶
func (qs MessageQuerySet) SenderIDGte(senderID int64) MessageQuerySet
SenderIDGte is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDIn ¶
func (qs MessageQuerySet) SenderIDIn(senderID ...int64) MessageQuerySet
SenderIDIn is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDLt ¶
func (qs MessageQuerySet) SenderIDLt(senderID int64) MessageQuerySet
SenderIDLt is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDLte ¶
func (qs MessageQuerySet) SenderIDLte(senderID int64) MessageQuerySet
SenderIDLte is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDNe ¶
func (qs MessageQuerySet) SenderIDNe(senderID int64) MessageQuerySet
SenderIDNe is an autogenerated method nolint: dupl
func (MessageQuerySet) SenderIDNotIn ¶
func (qs MessageQuerySet) SenderIDNotIn(senderID ...int64) MessageQuerySet
SenderIDNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) TSEq ¶
func (qs MessageQuerySet) TSEq(tS time.Time) MessageQuerySet
TSEq is an autogenerated method nolint: dupl
func (MessageQuerySet) TSGt ¶
func (qs MessageQuerySet) TSGt(tS time.Time) MessageQuerySet
TSGt is an autogenerated method nolint: dupl
func (MessageQuerySet) TSGte ¶
func (qs MessageQuerySet) TSGte(tS time.Time) MessageQuerySet
TSGte is an autogenerated method nolint: dupl
func (MessageQuerySet) TSIsNotNull ¶
func (qs MessageQuerySet) TSIsNotNull() MessageQuerySet
TSIsNotNull is an autogenerated method nolint: dupl
func (MessageQuerySet) TSIsNull ¶
func (qs MessageQuerySet) TSIsNull() MessageQuerySet
TSIsNull is an autogenerated method nolint: dupl
func (MessageQuerySet) TSLt ¶
func (qs MessageQuerySet) TSLt(tS time.Time) MessageQuerySet
TSLt is an autogenerated method nolint: dupl
func (MessageQuerySet) TSLte ¶
func (qs MessageQuerySet) TSLte(tS time.Time) MessageQuerySet
TSLte is an autogenerated method nolint: dupl
func (MessageQuerySet) TSNe ¶
func (qs MessageQuerySet) TSNe(tS time.Time) MessageQuerySet
TSNe is an autogenerated method nolint: dupl
func (MessageQuerySet) TextEq ¶
func (qs MessageQuerySet) TextEq(text string) MessageQuerySet
TextEq is an autogenerated method nolint: dupl
func (MessageQuerySet) TextGt ¶
func (qs MessageQuerySet) TextGt(text string) MessageQuerySet
TextGt is an autogenerated method nolint: dupl
func (MessageQuerySet) TextGte ¶
func (qs MessageQuerySet) TextGte(text string) MessageQuerySet
TextGte is an autogenerated method nolint: dupl
func (MessageQuerySet) TextIn ¶
func (qs MessageQuerySet) TextIn(text ...string) MessageQuerySet
TextIn is an autogenerated method nolint: dupl
func (MessageQuerySet) TextLike ¶
func (qs MessageQuerySet) TextLike(text string) MessageQuerySet
TextLike is an autogenerated method nolint: dupl
func (MessageQuerySet) TextLt ¶
func (qs MessageQuerySet) TextLt(text string) MessageQuerySet
TextLt is an autogenerated method nolint: dupl
func (MessageQuerySet) TextLte ¶
func (qs MessageQuerySet) TextLte(text string) MessageQuerySet
TextLte is an autogenerated method nolint: dupl
func (MessageQuerySet) TextNe ¶
func (qs MessageQuerySet) TextNe(text string) MessageQuerySet
TextNe is an autogenerated method nolint: dupl
func (MessageQuerySet) TextNotIn ¶
func (qs MessageQuerySet) TextNotIn(text ...string) MessageQuerySet
TextNotIn is an autogenerated method nolint: dupl
func (MessageQuerySet) TextNotlike ¶
func (qs MessageQuerySet) TextNotlike(text string) MessageQuerySet
TextNotlike is an autogenerated method nolint: dupl
type MessageUpdater ¶
type MessageUpdater struct {
// contains filtered or unexported fields
}
MessageUpdater is an Message updates manager
func NewMessageUpdater ¶
func NewMessageUpdater(db *gorm.DB) MessageUpdater
NewMessageUpdater creates new Message updater nolint: dupl
func (MessageUpdater) SetAttachmentData ¶
func (u MessageUpdater) SetAttachmentData(attachmentData string) MessageUpdater
SetAttachmentData is an autogenerated method nolint: dupl
func (MessageUpdater) SetAttachmentKind ¶
func (u MessageUpdater) SetAttachmentKind(attachmentKind int) MessageUpdater
SetAttachmentKind is an autogenerated method nolint: dupl
func (MessageUpdater) SetChatID ¶
func (u MessageUpdater) SetChatID(chatID int64) MessageUpdater
SetChatID is an autogenerated method nolint: dupl
func (MessageUpdater) SetDeleted ¶
func (u MessageUpdater) SetDeleted(deleted bool) MessageUpdater
SetDeleted is an autogenerated method nolint: dupl
func (MessageUpdater) SetID ¶
func (u MessageUpdater) SetID(ID int64) MessageUpdater
SetID is an autogenerated method nolint: dupl
func (MessageUpdater) SetReceiverID ¶
func (u MessageUpdater) SetReceiverID(receiverID int64) MessageUpdater
SetReceiverID is an autogenerated method nolint: dupl
func (MessageUpdater) SetSenderID ¶
func (u MessageUpdater) SetSenderID(senderID int64) MessageUpdater
SetSenderID is an autogenerated method nolint: dupl
func (MessageUpdater) SetTS ¶
func (u MessageUpdater) SetTS(tS *time.Time) MessageUpdater
SetTS is an autogenerated method nolint: dupl
func (MessageUpdater) SetText ¶
func (u MessageUpdater) SetText(text string) MessageUpdater
SetText is an autogenerated method nolint: dupl
func (MessageUpdater) Update ¶
func (u MessageUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (MessageUpdater) UpdateNum ¶
func (u MessageUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type Product ¶
type Product struct { ID int64 `json:"id"` StoreID int64 `json:"store_id"` ProductImages []ProductImage `json:"product_images" gorm:"foreignkey:ProductID"` ProductName string `json:"product_name"` Desc string `json:"desc"` Condition int32 `json:"condition"` ConditionAvg float64 `json:"condition_avg"` StartPrice float64 `json:"start_price"` BidMultpl float64 `json:"bid_multpl"` ClosedAT *time.Time `json:"closed_at"` CreatedAT *time.Time `json:"created_at"` Sold bool `json:"sold"` Closed bool `json:"closed"` Labels []ProductLabel `json:"labels" gorm:"foreignkey:ProductID"` }
Product model gen:qs
func (*Product) GetBidderStatus ¶
GetBidderStatus digunakan untuk mendapatkan status bid product
func (*Product) GetLatestBidPrice ¶
GetLatestBidPrice from product
func (*Product) ToDetailAPI ¶
func (p *Product) ToDetailAPI(userID *int64) types.ProductDetail
ToDetailAPI product detail api type
type ProductBidder ¶
type ProductBidder struct { ID int64 `json:"id"` UserID int64 `json:"user_id"` ProductID int64 `json:"product_id"` BidPrice float64 `json:"bid_price"` Winner bool `json:"winner"` CreatedAT *time.Time `json:"created_at"` User *UserSimple `json:"user,omitempty"` }
ProductBidder models gen:qs
func (*ProductBidder) Create ¶
func (o *ProductBidder) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*ProductBidder) Delete ¶
func (o *ProductBidder) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*ProductBidder) ToAPI ¶
func (p *ProductBidder) ToAPI() *ProductBidder
ToAPI implementation for ProductBidder
func (*ProductBidder) Update ¶
func (o *ProductBidder) Update(db *gorm.DB, fields ...ProductBidderDBSchemaField) error
Update updates ProductBidder fields by primary key nolint: dupl
type ProductBidderDBSchemaField ¶
type ProductBidderDBSchemaField string
ProductBidderDBSchemaField describes database schema field. It requires for method 'Update'
func (ProductBidderDBSchemaField) String ¶
func (f ProductBidderDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ProductBidderQuerySet ¶
type ProductBidderQuerySet struct {
// contains filtered or unexported fields
}
ProductBidderQuerySet is an queryset type for ProductBidder
func NewProductBidderQuerySet ¶
func NewProductBidderQuerySet(db *gorm.DB) ProductBidderQuerySet
NewProductBidderQuerySet constructs new ProductBidderQuerySet
func (ProductBidderQuerySet) All ¶
func (qs ProductBidderQuerySet) All(ret *[]ProductBidder) error
All is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceEq ¶
func (qs ProductBidderQuerySet) BidPriceEq(bidPrice float64) ProductBidderQuerySet
BidPriceEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceGt ¶
func (qs ProductBidderQuerySet) BidPriceGt(bidPrice float64) ProductBidderQuerySet
BidPriceGt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceGte ¶
func (qs ProductBidderQuerySet) BidPriceGte(bidPrice float64) ProductBidderQuerySet
BidPriceGte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceIn ¶
func (qs ProductBidderQuerySet) BidPriceIn(bidPrice ...float64) ProductBidderQuerySet
BidPriceIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceLt ¶
func (qs ProductBidderQuerySet) BidPriceLt(bidPrice float64) ProductBidderQuerySet
BidPriceLt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceLte ¶
func (qs ProductBidderQuerySet) BidPriceLte(bidPrice float64) ProductBidderQuerySet
BidPriceLte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceNe ¶
func (qs ProductBidderQuerySet) BidPriceNe(bidPrice float64) ProductBidderQuerySet
BidPriceNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) BidPriceNotIn ¶
func (qs ProductBidderQuerySet) BidPriceNotIn(bidPrice ...float64) ProductBidderQuerySet
BidPriceNotIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) Count ¶
func (qs ProductBidderQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATEq ¶
func (qs ProductBidderQuerySet) CreatedATEq(createdAT time.Time) ProductBidderQuerySet
CreatedATEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATGt ¶
func (qs ProductBidderQuerySet) CreatedATGt(createdAT time.Time) ProductBidderQuerySet
CreatedATGt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATGte ¶
func (qs ProductBidderQuerySet) CreatedATGte(createdAT time.Time) ProductBidderQuerySet
CreatedATGte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATIsNotNull ¶
func (qs ProductBidderQuerySet) CreatedATIsNotNull() ProductBidderQuerySet
CreatedATIsNotNull is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATIsNull ¶
func (qs ProductBidderQuerySet) CreatedATIsNull() ProductBidderQuerySet
CreatedATIsNull is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATLt ¶
func (qs ProductBidderQuerySet) CreatedATLt(createdAT time.Time) ProductBidderQuerySet
CreatedATLt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATLte ¶
func (qs ProductBidderQuerySet) CreatedATLte(createdAT time.Time) ProductBidderQuerySet
CreatedATLte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) CreatedATNe ¶
func (qs ProductBidderQuerySet) CreatedATNe(createdAT time.Time) ProductBidderQuerySet
CreatedATNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) Delete ¶
func (qs ProductBidderQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) DeleteNum ¶
func (qs ProductBidderQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) DeleteNumUnscoped ¶
func (qs ProductBidderQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) GetDB ¶
func (qs ProductBidderQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) GetUpdater ¶
func (qs ProductBidderQuerySet) GetUpdater() ProductBidderUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDEq ¶
func (qs ProductBidderQuerySet) IDEq(ID int64) ProductBidderQuerySet
IDEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDGt ¶
func (qs ProductBidderQuerySet) IDGt(ID int64) ProductBidderQuerySet
IDGt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDGte ¶
func (qs ProductBidderQuerySet) IDGte(ID int64) ProductBidderQuerySet
IDGte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDIn ¶
func (qs ProductBidderQuerySet) IDIn(ID ...int64) ProductBidderQuerySet
IDIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDLt ¶
func (qs ProductBidderQuerySet) IDLt(ID int64) ProductBidderQuerySet
IDLt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDLte ¶
func (qs ProductBidderQuerySet) IDLte(ID int64) ProductBidderQuerySet
IDLte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDNe ¶
func (qs ProductBidderQuerySet) IDNe(ID int64) ProductBidderQuerySet
IDNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) IDNotIn ¶
func (qs ProductBidderQuerySet) IDNotIn(ID ...int64) ProductBidderQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) Limit ¶
func (qs ProductBidderQuerySet) Limit(limit int) ProductBidderQuerySet
Limit is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) Offset ¶
func (qs ProductBidderQuerySet) Offset(offset int) ProductBidderQuerySet
Offset is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) One ¶
func (qs ProductBidderQuerySet) One(ret *ProductBidder) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ProductBidderQuerySet) OrderAscByBidPrice ¶
func (qs ProductBidderQuerySet) OrderAscByBidPrice() ProductBidderQuerySet
OrderAscByBidPrice is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderAscByCreatedAT ¶
func (qs ProductBidderQuerySet) OrderAscByCreatedAT() ProductBidderQuerySet
OrderAscByCreatedAT is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderAscByID ¶
func (qs ProductBidderQuerySet) OrderAscByID() ProductBidderQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderAscByProductID ¶
func (qs ProductBidderQuerySet) OrderAscByProductID() ProductBidderQuerySet
OrderAscByProductID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderAscByUserID ¶
func (qs ProductBidderQuerySet) OrderAscByUserID() ProductBidderQuerySet
OrderAscByUserID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderAscByWinner ¶
func (qs ProductBidderQuerySet) OrderAscByWinner() ProductBidderQuerySet
OrderAscByWinner is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByBidPrice ¶
func (qs ProductBidderQuerySet) OrderDescByBidPrice() ProductBidderQuerySet
OrderDescByBidPrice is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByCreatedAT ¶
func (qs ProductBidderQuerySet) OrderDescByCreatedAT() ProductBidderQuerySet
OrderDescByCreatedAT is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByID ¶
func (qs ProductBidderQuerySet) OrderDescByID() ProductBidderQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByProductID ¶
func (qs ProductBidderQuerySet) OrderDescByProductID() ProductBidderQuerySet
OrderDescByProductID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByUserID ¶
func (qs ProductBidderQuerySet) OrderDescByUserID() ProductBidderQuerySet
OrderDescByUserID is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) OrderDescByWinner ¶
func (qs ProductBidderQuerySet) OrderDescByWinner() ProductBidderQuerySet
OrderDescByWinner is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) PreloadUser ¶
func (qs ProductBidderQuerySet) PreloadUser() ProductBidderQuerySet
PreloadUser is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDEq ¶
func (qs ProductBidderQuerySet) ProductIDEq(productID int64) ProductBidderQuerySet
ProductIDEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDGt ¶
func (qs ProductBidderQuerySet) ProductIDGt(productID int64) ProductBidderQuerySet
ProductIDGt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDGte ¶
func (qs ProductBidderQuerySet) ProductIDGte(productID int64) ProductBidderQuerySet
ProductIDGte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDIn ¶
func (qs ProductBidderQuerySet) ProductIDIn(productID ...int64) ProductBidderQuerySet
ProductIDIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDLt ¶
func (qs ProductBidderQuerySet) ProductIDLt(productID int64) ProductBidderQuerySet
ProductIDLt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDLte ¶
func (qs ProductBidderQuerySet) ProductIDLte(productID int64) ProductBidderQuerySet
ProductIDLte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDNe ¶
func (qs ProductBidderQuerySet) ProductIDNe(productID int64) ProductBidderQuerySet
ProductIDNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) ProductIDNotIn ¶
func (qs ProductBidderQuerySet) ProductIDNotIn(productID ...int64) ProductBidderQuerySet
ProductIDNotIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) Select ¶
func (qs ProductBidderQuerySet) Select(fields ...ProductBidderDBSchemaField) ProductBidderQuerySet
func (ProductBidderQuerySet) UserIDEq ¶
func (qs ProductBidderQuerySet) UserIDEq(userID int64) ProductBidderQuerySet
UserIDEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDGt ¶
func (qs ProductBidderQuerySet) UserIDGt(userID int64) ProductBidderQuerySet
UserIDGt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDGte ¶
func (qs ProductBidderQuerySet) UserIDGte(userID int64) ProductBidderQuerySet
UserIDGte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDIn ¶
func (qs ProductBidderQuerySet) UserIDIn(userID ...int64) ProductBidderQuerySet
UserIDIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDLt ¶
func (qs ProductBidderQuerySet) UserIDLt(userID int64) ProductBidderQuerySet
UserIDLt is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDLte ¶
func (qs ProductBidderQuerySet) UserIDLte(userID int64) ProductBidderQuerySet
UserIDLte is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDNe ¶
func (qs ProductBidderQuerySet) UserIDNe(userID int64) ProductBidderQuerySet
UserIDNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIDNotIn ¶
func (qs ProductBidderQuerySet) UserIDNotIn(userID ...int64) ProductBidderQuerySet
UserIDNotIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIsNotNull ¶
func (qs ProductBidderQuerySet) UserIsNotNull() ProductBidderQuerySet
UserIsNotNull is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) UserIsNull ¶
func (qs ProductBidderQuerySet) UserIsNull() ProductBidderQuerySet
UserIsNull is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) WinnerEq ¶
func (qs ProductBidderQuerySet) WinnerEq(winner bool) ProductBidderQuerySet
WinnerEq is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) WinnerIn ¶
func (qs ProductBidderQuerySet) WinnerIn(winner ...bool) ProductBidderQuerySet
WinnerIn is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) WinnerNe ¶
func (qs ProductBidderQuerySet) WinnerNe(winner bool) ProductBidderQuerySet
WinnerNe is an autogenerated method nolint: dupl
func (ProductBidderQuerySet) WinnerNotIn ¶
func (qs ProductBidderQuerySet) WinnerNotIn(winner ...bool) ProductBidderQuerySet
WinnerNotIn is an autogenerated method nolint: dupl
type ProductBidderUpdater ¶
type ProductBidderUpdater struct {
// contains filtered or unexported fields
}
ProductBidderUpdater is an ProductBidder updates manager
func NewProductBidderUpdater ¶
func NewProductBidderUpdater(db *gorm.DB) ProductBidderUpdater
NewProductBidderUpdater creates new ProductBidder updater nolint: dupl
func (ProductBidderUpdater) SetBidPrice ¶
func (u ProductBidderUpdater) SetBidPrice(bidPrice float64) ProductBidderUpdater
SetBidPrice is an autogenerated method nolint: dupl
func (ProductBidderUpdater) SetCreatedAT ¶
func (u ProductBidderUpdater) SetCreatedAT(createdAT *time.Time) ProductBidderUpdater
SetCreatedAT is an autogenerated method nolint: dupl
func (ProductBidderUpdater) SetID ¶
func (u ProductBidderUpdater) SetID(ID int64) ProductBidderUpdater
SetID is an autogenerated method nolint: dupl
func (ProductBidderUpdater) SetProductID ¶
func (u ProductBidderUpdater) SetProductID(productID int64) ProductBidderUpdater
SetProductID is an autogenerated method nolint: dupl
func (ProductBidderUpdater) SetUserID ¶
func (u ProductBidderUpdater) SetUserID(userID int64) ProductBidderUpdater
SetUserID is an autogenerated method nolint: dupl
func (ProductBidderUpdater) SetWinner ¶
func (u ProductBidderUpdater) SetWinner(winner bool) ProductBidderUpdater
SetWinner is an autogenerated method nolint: dupl
func (ProductBidderUpdater) Update ¶
func (u ProductBidderUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ProductBidderUpdater) UpdateNum ¶
func (u ProductBidderUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type ProductDBSchemaField ¶
type ProductDBSchemaField string
ProductDBSchemaField describes database schema field. It requires for method 'Update'
func (ProductDBSchemaField) String ¶
func (f ProductDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ProductImage ¶
type ProductImage struct { ID int64 `json:"id"` ProductID int64 `json:"-"` ImageURL string `json:"image_url"` }
ProductImage model gen:qs
func (*ProductImage) Create ¶
func (o *ProductImage) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*ProductImage) Delete ¶
func (o *ProductImage) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*ProductImage) Update ¶
func (o *ProductImage) Update(db *gorm.DB, fields ...ProductImageDBSchemaField) error
Update updates ProductImage fields by primary key nolint: dupl
type ProductImageDBSchemaField ¶
type ProductImageDBSchemaField string
ProductImageDBSchemaField describes database schema field. It requires for method 'Update'
func (ProductImageDBSchemaField) String ¶
func (f ProductImageDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ProductImageQuerySet ¶
type ProductImageQuerySet struct {
// contains filtered or unexported fields
}
ProductImageQuerySet is an queryset type for ProductImage
func NewProductImageQuerySet ¶
func NewProductImageQuerySet(db *gorm.DB) ProductImageQuerySet
NewProductImageQuerySet constructs new ProductImageQuerySet
func (ProductImageQuerySet) All ¶
func (qs ProductImageQuerySet) All(ret *[]ProductImage) error
All is an autogenerated method nolint: dupl
func (ProductImageQuerySet) Count ¶
func (qs ProductImageQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ProductImageQuerySet) Delete ¶
func (qs ProductImageQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ProductImageQuerySet) DeleteNum ¶
func (qs ProductImageQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ProductImageQuerySet) DeleteNumUnscoped ¶
func (qs ProductImageQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ProductImageQuerySet) GetDB ¶
func (qs ProductImageQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ProductImageQuerySet) GetUpdater ¶
func (qs ProductImageQuerySet) GetUpdater() ProductImageUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDEq ¶
func (qs ProductImageQuerySet) IDEq(ID int64) ProductImageQuerySet
IDEq is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDGt ¶
func (qs ProductImageQuerySet) IDGt(ID int64) ProductImageQuerySet
IDGt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDGte ¶
func (qs ProductImageQuerySet) IDGte(ID int64) ProductImageQuerySet
IDGte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDIn ¶
func (qs ProductImageQuerySet) IDIn(ID ...int64) ProductImageQuerySet
IDIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDLt ¶
func (qs ProductImageQuerySet) IDLt(ID int64) ProductImageQuerySet
IDLt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDLte ¶
func (qs ProductImageQuerySet) IDLte(ID int64) ProductImageQuerySet
IDLte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDNe ¶
func (qs ProductImageQuerySet) IDNe(ID int64) ProductImageQuerySet
IDNe is an autogenerated method nolint: dupl
func (ProductImageQuerySet) IDNotIn ¶
func (qs ProductImageQuerySet) IDNotIn(ID ...int64) ProductImageQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLEq ¶
func (qs ProductImageQuerySet) ImageURLEq(imageURL string) ProductImageQuerySet
ImageURLEq is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLGt ¶
func (qs ProductImageQuerySet) ImageURLGt(imageURL string) ProductImageQuerySet
ImageURLGt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLGte ¶
func (qs ProductImageQuerySet) ImageURLGte(imageURL string) ProductImageQuerySet
ImageURLGte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLIn ¶
func (qs ProductImageQuerySet) ImageURLIn(imageURL ...string) ProductImageQuerySet
ImageURLIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLLike ¶
func (qs ProductImageQuerySet) ImageURLLike(imageURL string) ProductImageQuerySet
ImageURLLike is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLLt ¶
func (qs ProductImageQuerySet) ImageURLLt(imageURL string) ProductImageQuerySet
ImageURLLt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLLte ¶
func (qs ProductImageQuerySet) ImageURLLte(imageURL string) ProductImageQuerySet
ImageURLLte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLNe ¶
func (qs ProductImageQuerySet) ImageURLNe(imageURL string) ProductImageQuerySet
ImageURLNe is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLNotIn ¶
func (qs ProductImageQuerySet) ImageURLNotIn(imageURL ...string) ProductImageQuerySet
ImageURLNotIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ImageURLNotlike ¶
func (qs ProductImageQuerySet) ImageURLNotlike(imageURL string) ProductImageQuerySet
ImageURLNotlike is an autogenerated method nolint: dupl
func (ProductImageQuerySet) Limit ¶
func (qs ProductImageQuerySet) Limit(limit int) ProductImageQuerySet
Limit is an autogenerated method nolint: dupl
func (ProductImageQuerySet) Offset ¶
func (qs ProductImageQuerySet) Offset(offset int) ProductImageQuerySet
Offset is an autogenerated method nolint: dupl
func (ProductImageQuerySet) One ¶
func (qs ProductImageQuerySet) One(ret *ProductImage) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ProductImageQuerySet) OrderAscByID ¶
func (qs ProductImageQuerySet) OrderAscByID() ProductImageQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ProductImageQuerySet) OrderAscByImageURL ¶
func (qs ProductImageQuerySet) OrderAscByImageURL() ProductImageQuerySet
OrderAscByImageURL is an autogenerated method nolint: dupl
func (ProductImageQuerySet) OrderAscByProductID ¶
func (qs ProductImageQuerySet) OrderAscByProductID() ProductImageQuerySet
OrderAscByProductID is an autogenerated method nolint: dupl
func (ProductImageQuerySet) OrderDescByID ¶
func (qs ProductImageQuerySet) OrderDescByID() ProductImageQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ProductImageQuerySet) OrderDescByImageURL ¶
func (qs ProductImageQuerySet) OrderDescByImageURL() ProductImageQuerySet
OrderDescByImageURL is an autogenerated method nolint: dupl
func (ProductImageQuerySet) OrderDescByProductID ¶
func (qs ProductImageQuerySet) OrderDescByProductID() ProductImageQuerySet
OrderDescByProductID is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDEq ¶
func (qs ProductImageQuerySet) ProductIDEq(productID int64) ProductImageQuerySet
ProductIDEq is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDGt ¶
func (qs ProductImageQuerySet) ProductIDGt(productID int64) ProductImageQuerySet
ProductIDGt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDGte ¶
func (qs ProductImageQuerySet) ProductIDGte(productID int64) ProductImageQuerySet
ProductIDGte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDIn ¶
func (qs ProductImageQuerySet) ProductIDIn(productID ...int64) ProductImageQuerySet
ProductIDIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDLt ¶
func (qs ProductImageQuerySet) ProductIDLt(productID int64) ProductImageQuerySet
ProductIDLt is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDLte ¶
func (qs ProductImageQuerySet) ProductIDLte(productID int64) ProductImageQuerySet
ProductIDLte is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDNe ¶
func (qs ProductImageQuerySet) ProductIDNe(productID int64) ProductImageQuerySet
ProductIDNe is an autogenerated method nolint: dupl
func (ProductImageQuerySet) ProductIDNotIn ¶
func (qs ProductImageQuerySet) ProductIDNotIn(productID ...int64) ProductImageQuerySet
ProductIDNotIn is an autogenerated method nolint: dupl
func (ProductImageQuerySet) Select ¶
func (qs ProductImageQuerySet) Select(fields ...ProductImageDBSchemaField) ProductImageQuerySet
type ProductImageUpdater ¶
type ProductImageUpdater struct {
// contains filtered or unexported fields
}
ProductImageUpdater is an ProductImage updates manager
func NewProductImageUpdater ¶
func NewProductImageUpdater(db *gorm.DB) ProductImageUpdater
NewProductImageUpdater creates new ProductImage updater nolint: dupl
func (ProductImageUpdater) SetID ¶
func (u ProductImageUpdater) SetID(ID int64) ProductImageUpdater
SetID is an autogenerated method nolint: dupl
func (ProductImageUpdater) SetImageURL ¶
func (u ProductImageUpdater) SetImageURL(imageURL string) ProductImageUpdater
SetImageURL is an autogenerated method nolint: dupl
func (ProductImageUpdater) SetProductID ¶
func (u ProductImageUpdater) SetProductID(productID int64) ProductImageUpdater
SetProductID is an autogenerated method nolint: dupl
func (ProductImageUpdater) Update ¶
func (u ProductImageUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ProductImageUpdater) UpdateNum ¶
func (u ProductImageUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type ProductLabel ¶
type ProductLabel struct { ID int64 `json:"-"` ProductID int64 `json:"-"` Name string `json:"name"` Value string `json:"value"` }
ProductLabel model gen:qs
func (*ProductLabel) Create ¶
func (o *ProductLabel) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*ProductLabel) Delete ¶
func (o *ProductLabel) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*ProductLabel) Update ¶
func (o *ProductLabel) Update(db *gorm.DB, fields ...ProductLabelDBSchemaField) error
Update updates ProductLabel fields by primary key nolint: dupl
type ProductLabelDBSchemaField ¶
type ProductLabelDBSchemaField string
ProductLabelDBSchemaField describes database schema field. It requires for method 'Update'
func (ProductLabelDBSchemaField) String ¶
func (f ProductLabelDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type ProductLabelQuerySet ¶
type ProductLabelQuerySet struct {
// contains filtered or unexported fields
}
ProductLabelQuerySet is an queryset type for ProductLabel
func NewProductLabelQuerySet ¶
func NewProductLabelQuerySet(db *gorm.DB) ProductLabelQuerySet
NewProductLabelQuerySet constructs new ProductLabelQuerySet
func (ProductLabelQuerySet) All ¶
func (qs ProductLabelQuerySet) All(ret *[]ProductLabel) error
All is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) Count ¶
func (qs ProductLabelQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) Delete ¶
func (qs ProductLabelQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) DeleteNum ¶
func (qs ProductLabelQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) DeleteNumUnscoped ¶
func (qs ProductLabelQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) GetDB ¶
func (qs ProductLabelQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) GetUpdater ¶
func (qs ProductLabelQuerySet) GetUpdater() ProductLabelUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDEq ¶
func (qs ProductLabelQuerySet) IDEq(ID int64) ProductLabelQuerySet
IDEq is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDGt ¶
func (qs ProductLabelQuerySet) IDGt(ID int64) ProductLabelQuerySet
IDGt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDGte ¶
func (qs ProductLabelQuerySet) IDGte(ID int64) ProductLabelQuerySet
IDGte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDIn ¶
func (qs ProductLabelQuerySet) IDIn(ID ...int64) ProductLabelQuerySet
IDIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDLt ¶
func (qs ProductLabelQuerySet) IDLt(ID int64) ProductLabelQuerySet
IDLt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDLte ¶
func (qs ProductLabelQuerySet) IDLte(ID int64) ProductLabelQuerySet
IDLte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDNe ¶
func (qs ProductLabelQuerySet) IDNe(ID int64) ProductLabelQuerySet
IDNe is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) IDNotIn ¶
func (qs ProductLabelQuerySet) IDNotIn(ID ...int64) ProductLabelQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) Limit ¶
func (qs ProductLabelQuerySet) Limit(limit int) ProductLabelQuerySet
Limit is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameEq ¶
func (qs ProductLabelQuerySet) NameEq(name string) ProductLabelQuerySet
NameEq is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameGt ¶
func (qs ProductLabelQuerySet) NameGt(name string) ProductLabelQuerySet
NameGt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameGte ¶
func (qs ProductLabelQuerySet) NameGte(name string) ProductLabelQuerySet
NameGte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameIn ¶
func (qs ProductLabelQuerySet) NameIn(name ...string) ProductLabelQuerySet
NameIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameLike ¶
func (qs ProductLabelQuerySet) NameLike(name string) ProductLabelQuerySet
NameLike is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameLt ¶
func (qs ProductLabelQuerySet) NameLt(name string) ProductLabelQuerySet
NameLt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameLte ¶
func (qs ProductLabelQuerySet) NameLte(name string) ProductLabelQuerySet
NameLte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameNe ¶
func (qs ProductLabelQuerySet) NameNe(name string) ProductLabelQuerySet
NameNe is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameNotIn ¶
func (qs ProductLabelQuerySet) NameNotIn(name ...string) ProductLabelQuerySet
NameNotIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) NameNotlike ¶
func (qs ProductLabelQuerySet) NameNotlike(name string) ProductLabelQuerySet
NameNotlike is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) Offset ¶
func (qs ProductLabelQuerySet) Offset(offset int) ProductLabelQuerySet
Offset is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) One ¶
func (qs ProductLabelQuerySet) One(ret *ProductLabel) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ProductLabelQuerySet) OrderAscByID ¶
func (qs ProductLabelQuerySet) OrderAscByID() ProductLabelQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderAscByName ¶
func (qs ProductLabelQuerySet) OrderAscByName() ProductLabelQuerySet
OrderAscByName is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderAscByProductID ¶
func (qs ProductLabelQuerySet) OrderAscByProductID() ProductLabelQuerySet
OrderAscByProductID is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderAscByValue ¶
func (qs ProductLabelQuerySet) OrderAscByValue() ProductLabelQuerySet
OrderAscByValue is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderDescByID ¶
func (qs ProductLabelQuerySet) OrderDescByID() ProductLabelQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderDescByName ¶
func (qs ProductLabelQuerySet) OrderDescByName() ProductLabelQuerySet
OrderDescByName is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderDescByProductID ¶
func (qs ProductLabelQuerySet) OrderDescByProductID() ProductLabelQuerySet
OrderDescByProductID is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) OrderDescByValue ¶
func (qs ProductLabelQuerySet) OrderDescByValue() ProductLabelQuerySet
OrderDescByValue is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDEq ¶
func (qs ProductLabelQuerySet) ProductIDEq(productID int64) ProductLabelQuerySet
ProductIDEq is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDGt ¶
func (qs ProductLabelQuerySet) ProductIDGt(productID int64) ProductLabelQuerySet
ProductIDGt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDGte ¶
func (qs ProductLabelQuerySet) ProductIDGte(productID int64) ProductLabelQuerySet
ProductIDGte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDIn ¶
func (qs ProductLabelQuerySet) ProductIDIn(productID ...int64) ProductLabelQuerySet
ProductIDIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDLt ¶
func (qs ProductLabelQuerySet) ProductIDLt(productID int64) ProductLabelQuerySet
ProductIDLt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDLte ¶
func (qs ProductLabelQuerySet) ProductIDLte(productID int64) ProductLabelQuerySet
ProductIDLte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDNe ¶
func (qs ProductLabelQuerySet) ProductIDNe(productID int64) ProductLabelQuerySet
ProductIDNe is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ProductIDNotIn ¶
func (qs ProductLabelQuerySet) ProductIDNotIn(productID ...int64) ProductLabelQuerySet
ProductIDNotIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) Select ¶
func (qs ProductLabelQuerySet) Select(fields ...ProductLabelDBSchemaField) ProductLabelQuerySet
func (ProductLabelQuerySet) ValueEq ¶
func (qs ProductLabelQuerySet) ValueEq(value string) ProductLabelQuerySet
ValueEq is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueGt ¶
func (qs ProductLabelQuerySet) ValueGt(value string) ProductLabelQuerySet
ValueGt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueGte ¶
func (qs ProductLabelQuerySet) ValueGte(value string) ProductLabelQuerySet
ValueGte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueIn ¶
func (qs ProductLabelQuerySet) ValueIn(value ...string) ProductLabelQuerySet
ValueIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueLike ¶
func (qs ProductLabelQuerySet) ValueLike(value string) ProductLabelQuerySet
ValueLike is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueLt ¶
func (qs ProductLabelQuerySet) ValueLt(value string) ProductLabelQuerySet
ValueLt is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueLte ¶
func (qs ProductLabelQuerySet) ValueLte(value string) ProductLabelQuerySet
ValueLte is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueNe ¶
func (qs ProductLabelQuerySet) ValueNe(value string) ProductLabelQuerySet
ValueNe is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueNotIn ¶
func (qs ProductLabelQuerySet) ValueNotIn(value ...string) ProductLabelQuerySet
ValueNotIn is an autogenerated method nolint: dupl
func (ProductLabelQuerySet) ValueNotlike ¶
func (qs ProductLabelQuerySet) ValueNotlike(value string) ProductLabelQuerySet
ValueNotlike is an autogenerated method nolint: dupl
type ProductLabelUpdater ¶
type ProductLabelUpdater struct {
// contains filtered or unexported fields
}
ProductLabelUpdater is an ProductLabel updates manager
func NewProductLabelUpdater ¶
func NewProductLabelUpdater(db *gorm.DB) ProductLabelUpdater
NewProductLabelUpdater creates new ProductLabel updater nolint: dupl
func (ProductLabelUpdater) SetID ¶
func (u ProductLabelUpdater) SetID(ID int64) ProductLabelUpdater
SetID is an autogenerated method nolint: dupl
func (ProductLabelUpdater) SetName ¶
func (u ProductLabelUpdater) SetName(name string) ProductLabelUpdater
SetName is an autogenerated method nolint: dupl
func (ProductLabelUpdater) SetProductID ¶
func (u ProductLabelUpdater) SetProductID(productID int64) ProductLabelUpdater
SetProductID is an autogenerated method nolint: dupl
func (ProductLabelUpdater) SetValue ¶
func (u ProductLabelUpdater) SetValue(value string) ProductLabelUpdater
SetValue is an autogenerated method nolint: dupl
func (ProductLabelUpdater) Update ¶
func (u ProductLabelUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ProductLabelUpdater) UpdateNum ¶
func (u ProductLabelUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type ProductQuerySet ¶
type ProductQuerySet struct {
// contains filtered or unexported fields
}
ProductQuerySet is an queryset type for Product
func NewProductQuerySet ¶
func NewProductQuerySet(db *gorm.DB) ProductQuerySet
NewProductQuerySet constructs new ProductQuerySet
func (ProductQuerySet) All ¶
func (qs ProductQuerySet) All(ret *[]Product) error
All is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplEq ¶
func (qs ProductQuerySet) BidMultplEq(bidMultpl float64) ProductQuerySet
BidMultplEq is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplGt ¶
func (qs ProductQuerySet) BidMultplGt(bidMultpl float64) ProductQuerySet
BidMultplGt is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplGte ¶
func (qs ProductQuerySet) BidMultplGte(bidMultpl float64) ProductQuerySet
BidMultplGte is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplIn ¶
func (qs ProductQuerySet) BidMultplIn(bidMultpl ...float64) ProductQuerySet
BidMultplIn is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplLt ¶
func (qs ProductQuerySet) BidMultplLt(bidMultpl float64) ProductQuerySet
BidMultplLt is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplLte ¶
func (qs ProductQuerySet) BidMultplLte(bidMultpl float64) ProductQuerySet
BidMultplLte is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplNe ¶
func (qs ProductQuerySet) BidMultplNe(bidMultpl float64) ProductQuerySet
BidMultplNe is an autogenerated method nolint: dupl
func (ProductQuerySet) BidMultplNotIn ¶
func (qs ProductQuerySet) BidMultplNotIn(bidMultpl ...float64) ProductQuerySet
BidMultplNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATEq ¶
func (qs ProductQuerySet) ClosedATEq(closedAT time.Time) ProductQuerySet
ClosedATEq is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATGt ¶
func (qs ProductQuerySet) ClosedATGt(closedAT time.Time) ProductQuerySet
ClosedATGt is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATGte ¶
func (qs ProductQuerySet) ClosedATGte(closedAT time.Time) ProductQuerySet
ClosedATGte is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATIsNotNull ¶
func (qs ProductQuerySet) ClosedATIsNotNull() ProductQuerySet
ClosedATIsNotNull is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATIsNull ¶
func (qs ProductQuerySet) ClosedATIsNull() ProductQuerySet
ClosedATIsNull is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATLt ¶
func (qs ProductQuerySet) ClosedATLt(closedAT time.Time) ProductQuerySet
ClosedATLt is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATLte ¶
func (qs ProductQuerySet) ClosedATLte(closedAT time.Time) ProductQuerySet
ClosedATLte is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedATNe ¶
func (qs ProductQuerySet) ClosedATNe(closedAT time.Time) ProductQuerySet
ClosedATNe is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedEq ¶
func (qs ProductQuerySet) ClosedEq(closed bool) ProductQuerySet
ClosedEq is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedIn ¶
func (qs ProductQuerySet) ClosedIn(closed ...bool) ProductQuerySet
ClosedIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedNe ¶
func (qs ProductQuerySet) ClosedNe(closed bool) ProductQuerySet
ClosedNe is an autogenerated method nolint: dupl
func (ProductQuerySet) ClosedNotIn ¶
func (qs ProductQuerySet) ClosedNotIn(closed ...bool) ProductQuerySet
ClosedNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgEq ¶
func (qs ProductQuerySet) ConditionAvgEq(conditionAvg float64) ProductQuerySet
ConditionAvgEq is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgGt ¶
func (qs ProductQuerySet) ConditionAvgGt(conditionAvg float64) ProductQuerySet
ConditionAvgGt is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgGte ¶
func (qs ProductQuerySet) ConditionAvgGte(conditionAvg float64) ProductQuerySet
ConditionAvgGte is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgIn ¶
func (qs ProductQuerySet) ConditionAvgIn(conditionAvg ...float64) ProductQuerySet
ConditionAvgIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgLt ¶
func (qs ProductQuerySet) ConditionAvgLt(conditionAvg float64) ProductQuerySet
ConditionAvgLt is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgLte ¶
func (qs ProductQuerySet) ConditionAvgLte(conditionAvg float64) ProductQuerySet
ConditionAvgLte is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgNe ¶
func (qs ProductQuerySet) ConditionAvgNe(conditionAvg float64) ProductQuerySet
ConditionAvgNe is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionAvgNotIn ¶
func (qs ProductQuerySet) ConditionAvgNotIn(conditionAvg ...float64) ProductQuerySet
ConditionAvgNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionEq ¶
func (qs ProductQuerySet) ConditionEq(condition int32) ProductQuerySet
ConditionEq is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionGt ¶
func (qs ProductQuerySet) ConditionGt(condition int32) ProductQuerySet
ConditionGt is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionGte ¶
func (qs ProductQuerySet) ConditionGte(condition int32) ProductQuerySet
ConditionGte is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionIn ¶
func (qs ProductQuerySet) ConditionIn(condition ...int32) ProductQuerySet
ConditionIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionLt ¶
func (qs ProductQuerySet) ConditionLt(condition int32) ProductQuerySet
ConditionLt is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionLte ¶
func (qs ProductQuerySet) ConditionLte(condition int32) ProductQuerySet
ConditionLte is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionNe ¶
func (qs ProductQuerySet) ConditionNe(condition int32) ProductQuerySet
ConditionNe is an autogenerated method nolint: dupl
func (ProductQuerySet) ConditionNotIn ¶
func (qs ProductQuerySet) ConditionNotIn(condition ...int32) ProductQuerySet
ConditionNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) Count ¶
func (qs ProductQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATEq ¶
func (qs ProductQuerySet) CreatedATEq(createdAT time.Time) ProductQuerySet
CreatedATEq is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATGt ¶
func (qs ProductQuerySet) CreatedATGt(createdAT time.Time) ProductQuerySet
CreatedATGt is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATGte ¶
func (qs ProductQuerySet) CreatedATGte(createdAT time.Time) ProductQuerySet
CreatedATGte is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATIsNotNull ¶
func (qs ProductQuerySet) CreatedATIsNotNull() ProductQuerySet
CreatedATIsNotNull is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATIsNull ¶
func (qs ProductQuerySet) CreatedATIsNull() ProductQuerySet
CreatedATIsNull is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATLt ¶
func (qs ProductQuerySet) CreatedATLt(createdAT time.Time) ProductQuerySet
CreatedATLt is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATLte ¶
func (qs ProductQuerySet) CreatedATLte(createdAT time.Time) ProductQuerySet
CreatedATLte is an autogenerated method nolint: dupl
func (ProductQuerySet) CreatedATNe ¶
func (qs ProductQuerySet) CreatedATNe(createdAT time.Time) ProductQuerySet
CreatedATNe is an autogenerated method nolint: dupl
func (ProductQuerySet) Delete ¶
func (qs ProductQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (ProductQuerySet) DeleteNum ¶
func (qs ProductQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (ProductQuerySet) DeleteNumUnscoped ¶
func (qs ProductQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (ProductQuerySet) DescEq ¶
func (qs ProductQuerySet) DescEq(desc string) ProductQuerySet
DescEq is an autogenerated method nolint: dupl
func (ProductQuerySet) DescGt ¶
func (qs ProductQuerySet) DescGt(desc string) ProductQuerySet
DescGt is an autogenerated method nolint: dupl
func (ProductQuerySet) DescGte ¶
func (qs ProductQuerySet) DescGte(desc string) ProductQuerySet
DescGte is an autogenerated method nolint: dupl
func (ProductQuerySet) DescIn ¶
func (qs ProductQuerySet) DescIn(desc ...string) ProductQuerySet
DescIn is an autogenerated method nolint: dupl
func (ProductQuerySet) DescLike ¶
func (qs ProductQuerySet) DescLike(desc string) ProductQuerySet
DescLike is an autogenerated method nolint: dupl
func (ProductQuerySet) DescLt ¶
func (qs ProductQuerySet) DescLt(desc string) ProductQuerySet
DescLt is an autogenerated method nolint: dupl
func (ProductQuerySet) DescLte ¶
func (qs ProductQuerySet) DescLte(desc string) ProductQuerySet
DescLte is an autogenerated method nolint: dupl
func (ProductQuerySet) DescNe ¶
func (qs ProductQuerySet) DescNe(desc string) ProductQuerySet
DescNe is an autogenerated method nolint: dupl
func (ProductQuerySet) DescNotIn ¶
func (qs ProductQuerySet) DescNotIn(desc ...string) ProductQuerySet
DescNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) DescNotlike ¶
func (qs ProductQuerySet) DescNotlike(desc string) ProductQuerySet
DescNotlike is an autogenerated method nolint: dupl
func (ProductQuerySet) GetDB ¶
func (qs ProductQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (ProductQuerySet) GetUpdater ¶
func (qs ProductQuerySet) GetUpdater() ProductUpdater
GetUpdater is an autogenerated method nolint: dupl
func (ProductQuerySet) IDEq ¶
func (qs ProductQuerySet) IDEq(ID int64) ProductQuerySet
IDEq is an autogenerated method nolint: dupl
func (ProductQuerySet) IDGt ¶
func (qs ProductQuerySet) IDGt(ID int64) ProductQuerySet
IDGt is an autogenerated method nolint: dupl
func (ProductQuerySet) IDGte ¶
func (qs ProductQuerySet) IDGte(ID int64) ProductQuerySet
IDGte is an autogenerated method nolint: dupl
func (ProductQuerySet) IDIn ¶
func (qs ProductQuerySet) IDIn(ID ...int64) ProductQuerySet
IDIn is an autogenerated method nolint: dupl
func (ProductQuerySet) IDLt ¶
func (qs ProductQuerySet) IDLt(ID int64) ProductQuerySet
IDLt is an autogenerated method nolint: dupl
func (ProductQuerySet) IDLte ¶
func (qs ProductQuerySet) IDLte(ID int64) ProductQuerySet
IDLte is an autogenerated method nolint: dupl
func (ProductQuerySet) IDNe ¶
func (qs ProductQuerySet) IDNe(ID int64) ProductQuerySet
IDNe is an autogenerated method nolint: dupl
func (ProductQuerySet) IDNotIn ¶
func (qs ProductQuerySet) IDNotIn(ID ...int64) ProductQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) Limit ¶
func (qs ProductQuerySet) Limit(limit int) ProductQuerySet
Limit is an autogenerated method nolint: dupl
func (ProductQuerySet) Offset ¶
func (qs ProductQuerySet) Offset(offset int) ProductQuerySet
Offset is an autogenerated method nolint: dupl
func (ProductQuerySet) One ¶
func (qs ProductQuerySet) One(ret *Product) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (ProductQuerySet) OrderAscByBidMultpl ¶
func (qs ProductQuerySet) OrderAscByBidMultpl() ProductQuerySet
OrderAscByBidMultpl is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByClosed ¶
func (qs ProductQuerySet) OrderAscByClosed() ProductQuerySet
OrderAscByClosed is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByClosedAT ¶
func (qs ProductQuerySet) OrderAscByClosedAT() ProductQuerySet
OrderAscByClosedAT is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByCondition ¶
func (qs ProductQuerySet) OrderAscByCondition() ProductQuerySet
OrderAscByCondition is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByConditionAvg ¶
func (qs ProductQuerySet) OrderAscByConditionAvg() ProductQuerySet
OrderAscByConditionAvg is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByCreatedAT ¶
func (qs ProductQuerySet) OrderAscByCreatedAT() ProductQuerySet
OrderAscByCreatedAT is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByDesc ¶
func (qs ProductQuerySet) OrderAscByDesc() ProductQuerySet
OrderAscByDesc is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByID ¶
func (qs ProductQuerySet) OrderAscByID() ProductQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByProductName ¶
func (qs ProductQuerySet) OrderAscByProductName() ProductQuerySet
OrderAscByProductName is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscBySold ¶
func (qs ProductQuerySet) OrderAscBySold() ProductQuerySet
OrderAscBySold is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByStartPrice ¶
func (qs ProductQuerySet) OrderAscByStartPrice() ProductQuerySet
OrderAscByStartPrice is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderAscByStoreID ¶
func (qs ProductQuerySet) OrderAscByStoreID() ProductQuerySet
OrderAscByStoreID is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByBidMultpl ¶
func (qs ProductQuerySet) OrderDescByBidMultpl() ProductQuerySet
OrderDescByBidMultpl is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByClosed ¶
func (qs ProductQuerySet) OrderDescByClosed() ProductQuerySet
OrderDescByClosed is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByClosedAT ¶
func (qs ProductQuerySet) OrderDescByClosedAT() ProductQuerySet
OrderDescByClosedAT is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByCondition ¶
func (qs ProductQuerySet) OrderDescByCondition() ProductQuerySet
OrderDescByCondition is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByConditionAvg ¶
func (qs ProductQuerySet) OrderDescByConditionAvg() ProductQuerySet
OrderDescByConditionAvg is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByCreatedAT ¶
func (qs ProductQuerySet) OrderDescByCreatedAT() ProductQuerySet
OrderDescByCreatedAT is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByDesc ¶
func (qs ProductQuerySet) OrderDescByDesc() ProductQuerySet
OrderDescByDesc is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByID ¶
func (qs ProductQuerySet) OrderDescByID() ProductQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByProductName ¶
func (qs ProductQuerySet) OrderDescByProductName() ProductQuerySet
OrderDescByProductName is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescBySold ¶
func (qs ProductQuerySet) OrderDescBySold() ProductQuerySet
OrderDescBySold is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByStartPrice ¶
func (qs ProductQuerySet) OrderDescByStartPrice() ProductQuerySet
OrderDescByStartPrice is an autogenerated method nolint: dupl
func (ProductQuerySet) OrderDescByStoreID ¶
func (qs ProductQuerySet) OrderDescByStoreID() ProductQuerySet
OrderDescByStoreID is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameEq ¶
func (qs ProductQuerySet) ProductNameEq(productName string) ProductQuerySet
ProductNameEq is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameGt ¶
func (qs ProductQuerySet) ProductNameGt(productName string) ProductQuerySet
ProductNameGt is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameGte ¶
func (qs ProductQuerySet) ProductNameGte(productName string) ProductQuerySet
ProductNameGte is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameIn ¶
func (qs ProductQuerySet) ProductNameIn(productName ...string) ProductQuerySet
ProductNameIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameLike ¶
func (qs ProductQuerySet) ProductNameLike(productName string) ProductQuerySet
ProductNameLike is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameLt ¶
func (qs ProductQuerySet) ProductNameLt(productName string) ProductQuerySet
ProductNameLt is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameLte ¶
func (qs ProductQuerySet) ProductNameLte(productName string) ProductQuerySet
ProductNameLte is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameNe ¶
func (qs ProductQuerySet) ProductNameNe(productName string) ProductQuerySet
ProductNameNe is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameNotIn ¶
func (qs ProductQuerySet) ProductNameNotIn(productName ...string) ProductQuerySet
ProductNameNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) ProductNameNotlike ¶
func (qs ProductQuerySet) ProductNameNotlike(productName string) ProductQuerySet
ProductNameNotlike is an autogenerated method nolint: dupl
func (ProductQuerySet) Select ¶
func (qs ProductQuerySet) Select(fields ...ProductDBSchemaField) ProductQuerySet
func (ProductQuerySet) SoldEq ¶
func (qs ProductQuerySet) SoldEq(sold bool) ProductQuerySet
SoldEq is an autogenerated method nolint: dupl
func (ProductQuerySet) SoldIn ¶
func (qs ProductQuerySet) SoldIn(sold ...bool) ProductQuerySet
SoldIn is an autogenerated method nolint: dupl
func (ProductQuerySet) SoldNe ¶
func (qs ProductQuerySet) SoldNe(sold bool) ProductQuerySet
SoldNe is an autogenerated method nolint: dupl
func (ProductQuerySet) SoldNotIn ¶
func (qs ProductQuerySet) SoldNotIn(sold ...bool) ProductQuerySet
SoldNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceEq ¶
func (qs ProductQuerySet) StartPriceEq(startPrice float64) ProductQuerySet
StartPriceEq is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceGt ¶
func (qs ProductQuerySet) StartPriceGt(startPrice float64) ProductQuerySet
StartPriceGt is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceGte ¶
func (qs ProductQuerySet) StartPriceGte(startPrice float64) ProductQuerySet
StartPriceGte is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceIn ¶
func (qs ProductQuerySet) StartPriceIn(startPrice ...float64) ProductQuerySet
StartPriceIn is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceLt ¶
func (qs ProductQuerySet) StartPriceLt(startPrice float64) ProductQuerySet
StartPriceLt is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceLte ¶
func (qs ProductQuerySet) StartPriceLte(startPrice float64) ProductQuerySet
StartPriceLte is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceNe ¶
func (qs ProductQuerySet) StartPriceNe(startPrice float64) ProductQuerySet
StartPriceNe is an autogenerated method nolint: dupl
func (ProductQuerySet) StartPriceNotIn ¶
func (qs ProductQuerySet) StartPriceNotIn(startPrice ...float64) ProductQuerySet
StartPriceNotIn is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDEq ¶
func (qs ProductQuerySet) StoreIDEq(storeID int64) ProductQuerySet
StoreIDEq is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDGt ¶
func (qs ProductQuerySet) StoreIDGt(storeID int64) ProductQuerySet
StoreIDGt is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDGte ¶
func (qs ProductQuerySet) StoreIDGte(storeID int64) ProductQuerySet
StoreIDGte is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDIn ¶
func (qs ProductQuerySet) StoreIDIn(storeID ...int64) ProductQuerySet
StoreIDIn is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDLt ¶
func (qs ProductQuerySet) StoreIDLt(storeID int64) ProductQuerySet
StoreIDLt is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDLte ¶
func (qs ProductQuerySet) StoreIDLte(storeID int64) ProductQuerySet
StoreIDLte is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDNe ¶
func (qs ProductQuerySet) StoreIDNe(storeID int64) ProductQuerySet
StoreIDNe is an autogenerated method nolint: dupl
func (ProductQuerySet) StoreIDNotIn ¶
func (qs ProductQuerySet) StoreIDNotIn(storeID ...int64) ProductQuerySet
StoreIDNotIn is an autogenerated method nolint: dupl
type ProductUpdater ¶
type ProductUpdater struct {
// contains filtered or unexported fields
}
ProductUpdater is an Product updates manager
func NewProductUpdater ¶
func NewProductUpdater(db *gorm.DB) ProductUpdater
NewProductUpdater creates new Product updater nolint: dupl
func (ProductUpdater) SetBidMultpl ¶
func (u ProductUpdater) SetBidMultpl(bidMultpl float64) ProductUpdater
SetBidMultpl is an autogenerated method nolint: dupl
func (ProductUpdater) SetClosed ¶
func (u ProductUpdater) SetClosed(closed bool) ProductUpdater
SetClosed is an autogenerated method nolint: dupl
func (ProductUpdater) SetClosedAT ¶
func (u ProductUpdater) SetClosedAT(closedAT *time.Time) ProductUpdater
SetClosedAT is an autogenerated method nolint: dupl
func (ProductUpdater) SetCondition ¶
func (u ProductUpdater) SetCondition(condition int32) ProductUpdater
SetCondition is an autogenerated method nolint: dupl
func (ProductUpdater) SetConditionAvg ¶
func (u ProductUpdater) SetConditionAvg(conditionAvg float64) ProductUpdater
SetConditionAvg is an autogenerated method nolint: dupl
func (ProductUpdater) SetCreatedAT ¶
func (u ProductUpdater) SetCreatedAT(createdAT *time.Time) ProductUpdater
SetCreatedAT is an autogenerated method nolint: dupl
func (ProductUpdater) SetDesc ¶
func (u ProductUpdater) SetDesc(desc string) ProductUpdater
SetDesc is an autogenerated method nolint: dupl
func (ProductUpdater) SetID ¶
func (u ProductUpdater) SetID(ID int64) ProductUpdater
SetID is an autogenerated method nolint: dupl
func (ProductUpdater) SetProductName ¶
func (u ProductUpdater) SetProductName(productName string) ProductUpdater
SetProductName is an autogenerated method nolint: dupl
func (ProductUpdater) SetSold ¶
func (u ProductUpdater) SetSold(sold bool) ProductUpdater
SetSold is an autogenerated method nolint: dupl
func (ProductUpdater) SetStartPrice ¶
func (u ProductUpdater) SetStartPrice(startPrice float64) ProductUpdater
SetStartPrice is an autogenerated method nolint: dupl
func (ProductUpdater) SetStoreID ¶
func (u ProductUpdater) SetStoreID(storeID int64) ProductUpdater
SetStoreID is an autogenerated method nolint: dupl
func (ProductUpdater) Update ¶
func (u ProductUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (ProductUpdater) UpdateNum ¶
func (u ProductUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type RegisterUser ¶
type RegisterUser struct { FullName string `json:"full_name"` Email string `json:"email"` PhoneNum string `json:"phone_num"` Token string `json:"token"` Code string `json:"code"` RegisteredAt time.Time `json:"registered_at"` }
RegisterUser definisi model untuk register user gen:qs
func (*RegisterUser) ClearRegisteredUser ¶
func (user *RegisterUser) ClearRegisteredUser() error
ClearRegisteredUser dao untuk menghapus user yang sudah diaktifkan
func (*RegisterUser) Create ¶
func (o *RegisterUser) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*RegisterUser) Delete ¶
func (o *RegisterUser) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*RegisterUser) Update ¶
func (o *RegisterUser) Update(db *gorm.DB, fields ...RegisterUserDBSchemaField) error
Update updates RegisterUser fields by primary key nolint: dupl
type RegisterUserDBSchemaField ¶
type RegisterUserDBSchemaField string
RegisterUserDBSchemaField describes database schema field. It requires for method 'Update'
func (RegisterUserDBSchemaField) String ¶
func (f RegisterUserDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type RegisterUserQuerySet ¶
type RegisterUserQuerySet struct {
// contains filtered or unexported fields
}
RegisterUserQuerySet is an queryset type for RegisterUser
func NewRegisterUserQuerySet ¶
func NewRegisterUserQuerySet(db *gorm.DB) RegisterUserQuerySet
NewRegisterUserQuerySet constructs new RegisterUserQuerySet
func (RegisterUserQuerySet) All ¶
func (qs RegisterUserQuerySet) All(ret *[]RegisterUser) error
All is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeEq ¶
func (qs RegisterUserQuerySet) CodeEq(code string) RegisterUserQuerySet
CodeEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeGt ¶
func (qs RegisterUserQuerySet) CodeGt(code string) RegisterUserQuerySet
CodeGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeGte ¶
func (qs RegisterUserQuerySet) CodeGte(code string) RegisterUserQuerySet
CodeGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeIn ¶
func (qs RegisterUserQuerySet) CodeIn(code ...string) RegisterUserQuerySet
CodeIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeLike ¶
func (qs RegisterUserQuerySet) CodeLike(code string) RegisterUserQuerySet
CodeLike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeLt ¶
func (qs RegisterUserQuerySet) CodeLt(code string) RegisterUserQuerySet
CodeLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeLte ¶
func (qs RegisterUserQuerySet) CodeLte(code string) RegisterUserQuerySet
CodeLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeNe ¶
func (qs RegisterUserQuerySet) CodeNe(code string) RegisterUserQuerySet
CodeNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeNotIn ¶
func (qs RegisterUserQuerySet) CodeNotIn(code ...string) RegisterUserQuerySet
CodeNotIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) CodeNotlike ¶
func (qs RegisterUserQuerySet) CodeNotlike(code string) RegisterUserQuerySet
CodeNotlike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) Count ¶
func (qs RegisterUserQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) Delete ¶
func (qs RegisterUserQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) DeleteNum ¶
func (qs RegisterUserQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) DeleteNumUnscoped ¶
func (qs RegisterUserQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailEq ¶
func (qs RegisterUserQuerySet) EmailEq(email string) RegisterUserQuerySet
EmailEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailGt ¶
func (qs RegisterUserQuerySet) EmailGt(email string) RegisterUserQuerySet
EmailGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailGte ¶
func (qs RegisterUserQuerySet) EmailGte(email string) RegisterUserQuerySet
EmailGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailIn ¶
func (qs RegisterUserQuerySet) EmailIn(email ...string) RegisterUserQuerySet
EmailIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailLike ¶
func (qs RegisterUserQuerySet) EmailLike(email string) RegisterUserQuerySet
EmailLike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailLt ¶
func (qs RegisterUserQuerySet) EmailLt(email string) RegisterUserQuerySet
EmailLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailLte ¶
func (qs RegisterUserQuerySet) EmailLte(email string) RegisterUserQuerySet
EmailLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailNe ¶
func (qs RegisterUserQuerySet) EmailNe(email string) RegisterUserQuerySet
EmailNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailNotIn ¶
func (qs RegisterUserQuerySet) EmailNotIn(email ...string) RegisterUserQuerySet
EmailNotIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) EmailNotlike ¶
func (qs RegisterUserQuerySet) EmailNotlike(email string) RegisterUserQuerySet
EmailNotlike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameEq ¶
func (qs RegisterUserQuerySet) FullNameEq(fullName string) RegisterUserQuerySet
FullNameEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameGt ¶
func (qs RegisterUserQuerySet) FullNameGt(fullName string) RegisterUserQuerySet
FullNameGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameGte ¶
func (qs RegisterUserQuerySet) FullNameGte(fullName string) RegisterUserQuerySet
FullNameGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameIn ¶
func (qs RegisterUserQuerySet) FullNameIn(fullName ...string) RegisterUserQuerySet
FullNameIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameLike ¶
func (qs RegisterUserQuerySet) FullNameLike(fullName string) RegisterUserQuerySet
FullNameLike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameLt ¶
func (qs RegisterUserQuerySet) FullNameLt(fullName string) RegisterUserQuerySet
FullNameLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameLte ¶
func (qs RegisterUserQuerySet) FullNameLte(fullName string) RegisterUserQuerySet
FullNameLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameNe ¶
func (qs RegisterUserQuerySet) FullNameNe(fullName string) RegisterUserQuerySet
FullNameNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameNotIn ¶
func (qs RegisterUserQuerySet) FullNameNotIn(fullName ...string) RegisterUserQuerySet
FullNameNotIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) FullNameNotlike ¶
func (qs RegisterUserQuerySet) FullNameNotlike(fullName string) RegisterUserQuerySet
FullNameNotlike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) GetDB ¶
func (qs RegisterUserQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) GetUpdater ¶
func (qs RegisterUserQuerySet) GetUpdater() RegisterUserUpdater
GetUpdater is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) Limit ¶
func (qs RegisterUserQuerySet) Limit(limit int) RegisterUserQuerySet
Limit is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) Offset ¶
func (qs RegisterUserQuerySet) Offset(offset int) RegisterUserQuerySet
Offset is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) One ¶
func (qs RegisterUserQuerySet) One(ret *RegisterUser) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (RegisterUserQuerySet) OrderAscByCode ¶
func (qs RegisterUserQuerySet) OrderAscByCode() RegisterUserQuerySet
OrderAscByCode is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderAscByEmail ¶
func (qs RegisterUserQuerySet) OrderAscByEmail() RegisterUserQuerySet
OrderAscByEmail is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderAscByFullName ¶
func (qs RegisterUserQuerySet) OrderAscByFullName() RegisterUserQuerySet
OrderAscByFullName is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderAscByPhoneNum ¶
func (qs RegisterUserQuerySet) OrderAscByPhoneNum() RegisterUserQuerySet
OrderAscByPhoneNum is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderAscByRegisteredAt ¶
func (qs RegisterUserQuerySet) OrderAscByRegisteredAt() RegisterUserQuerySet
OrderAscByRegisteredAt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderAscByToken ¶
func (qs RegisterUserQuerySet) OrderAscByToken() RegisterUserQuerySet
OrderAscByToken is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByCode ¶
func (qs RegisterUserQuerySet) OrderDescByCode() RegisterUserQuerySet
OrderDescByCode is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByEmail ¶
func (qs RegisterUserQuerySet) OrderDescByEmail() RegisterUserQuerySet
OrderDescByEmail is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByFullName ¶
func (qs RegisterUserQuerySet) OrderDescByFullName() RegisterUserQuerySet
OrderDescByFullName is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByPhoneNum ¶
func (qs RegisterUserQuerySet) OrderDescByPhoneNum() RegisterUserQuerySet
OrderDescByPhoneNum is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByRegisteredAt ¶
func (qs RegisterUserQuerySet) OrderDescByRegisteredAt() RegisterUserQuerySet
OrderDescByRegisteredAt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) OrderDescByToken ¶
func (qs RegisterUserQuerySet) OrderDescByToken() RegisterUserQuerySet
OrderDescByToken is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumEq ¶
func (qs RegisterUserQuerySet) PhoneNumEq(phoneNum string) RegisterUserQuerySet
PhoneNumEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumGt ¶
func (qs RegisterUserQuerySet) PhoneNumGt(phoneNum string) RegisterUserQuerySet
PhoneNumGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumGte ¶
func (qs RegisterUserQuerySet) PhoneNumGte(phoneNum string) RegisterUserQuerySet
PhoneNumGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumIn ¶
func (qs RegisterUserQuerySet) PhoneNumIn(phoneNum ...string) RegisterUserQuerySet
PhoneNumIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumLike ¶
func (qs RegisterUserQuerySet) PhoneNumLike(phoneNum string) RegisterUserQuerySet
PhoneNumLike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumLt ¶
func (qs RegisterUserQuerySet) PhoneNumLt(phoneNum string) RegisterUserQuerySet
PhoneNumLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumLte ¶
func (qs RegisterUserQuerySet) PhoneNumLte(phoneNum string) RegisterUserQuerySet
PhoneNumLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumNe ¶
func (qs RegisterUserQuerySet) PhoneNumNe(phoneNum string) RegisterUserQuerySet
PhoneNumNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumNotIn ¶
func (qs RegisterUserQuerySet) PhoneNumNotIn(phoneNum ...string) RegisterUserQuerySet
PhoneNumNotIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) PhoneNumNotlike ¶
func (qs RegisterUserQuerySet) PhoneNumNotlike(phoneNum string) RegisterUserQuerySet
PhoneNumNotlike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtEq ¶
func (qs RegisterUserQuerySet) RegisteredAtEq(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtGt ¶
func (qs RegisterUserQuerySet) RegisteredAtGt(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtGte ¶
func (qs RegisterUserQuerySet) RegisteredAtGte(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtLt ¶
func (qs RegisterUserQuerySet) RegisteredAtLt(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtLte ¶
func (qs RegisterUserQuerySet) RegisteredAtLte(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) RegisteredAtNe ¶
func (qs RegisterUserQuerySet) RegisteredAtNe(registeredAt time.Time) RegisterUserQuerySet
RegisteredAtNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) Select ¶
func (qs RegisterUserQuerySet) Select(fields ...RegisterUserDBSchemaField) RegisterUserQuerySet
func (RegisterUserQuerySet) TokenEq ¶
func (qs RegisterUserQuerySet) TokenEq(token string) RegisterUserQuerySet
TokenEq is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenGt ¶
func (qs RegisterUserQuerySet) TokenGt(token string) RegisterUserQuerySet
TokenGt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenGte ¶
func (qs RegisterUserQuerySet) TokenGte(token string) RegisterUserQuerySet
TokenGte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenIn ¶
func (qs RegisterUserQuerySet) TokenIn(token ...string) RegisterUserQuerySet
TokenIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenLike ¶
func (qs RegisterUserQuerySet) TokenLike(token string) RegisterUserQuerySet
TokenLike is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenLt ¶
func (qs RegisterUserQuerySet) TokenLt(token string) RegisterUserQuerySet
TokenLt is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenLte ¶
func (qs RegisterUserQuerySet) TokenLte(token string) RegisterUserQuerySet
TokenLte is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenNe ¶
func (qs RegisterUserQuerySet) TokenNe(token string) RegisterUserQuerySet
TokenNe is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenNotIn ¶
func (qs RegisterUserQuerySet) TokenNotIn(token ...string) RegisterUserQuerySet
TokenNotIn is an autogenerated method nolint: dupl
func (RegisterUserQuerySet) TokenNotlike ¶
func (qs RegisterUserQuerySet) TokenNotlike(token string) RegisterUserQuerySet
TokenNotlike is an autogenerated method nolint: dupl
type RegisterUserUpdater ¶
type RegisterUserUpdater struct {
// contains filtered or unexported fields
}
RegisterUserUpdater is an RegisterUser updates manager
func NewRegisterUserUpdater ¶
func NewRegisterUserUpdater(db *gorm.DB) RegisterUserUpdater
NewRegisterUserUpdater creates new RegisterUser updater nolint: dupl
func (RegisterUserUpdater) SetCode ¶
func (u RegisterUserUpdater) SetCode(code string) RegisterUserUpdater
SetCode is an autogenerated method nolint: dupl
func (RegisterUserUpdater) SetEmail ¶
func (u RegisterUserUpdater) SetEmail(email string) RegisterUserUpdater
SetEmail is an autogenerated method nolint: dupl
func (RegisterUserUpdater) SetFullName ¶
func (u RegisterUserUpdater) SetFullName(fullName string) RegisterUserUpdater
SetFullName is an autogenerated method nolint: dupl
func (RegisterUserUpdater) SetPhoneNum ¶
func (u RegisterUserUpdater) SetPhoneNum(phoneNum string) RegisterUserUpdater
SetPhoneNum is an autogenerated method nolint: dupl
func (RegisterUserUpdater) SetRegisteredAt ¶
func (u RegisterUserUpdater) SetRegisteredAt(registeredAt time.Time) RegisterUserUpdater
SetRegisteredAt is an autogenerated method nolint: dupl
func (RegisterUserUpdater) SetToken ¶
func (u RegisterUserUpdater) SetToken(token string) RegisterUserUpdater
SetToken is an autogenerated method nolint: dupl
func (RegisterUserUpdater) Update ¶
func (u RegisterUserUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (RegisterUserUpdater) UpdateNum ¶
func (u RegisterUserUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type Store ¶
type Store struct { ID int64 `json:"id"` Name string `json:"name"` Info string `json:"info"` Owner *UserSimple `json:"owner"` OwnerID int64 `json:"owner_id"` Announcement string `json:"announcement"` ProductCount int `json:"product_count"` Province string `json:"province"` Regency string `json:"regency"` SUBDistrict string `json:"sub_district"` Village string `json:"village"` Address string `json:"address"` LastUpdated *time.Time `json:"last_updated"` TS *time.Time `json:"ts"` }
Store definisi model untuk store gen:qs
type StoreDBSchemaField ¶
type StoreDBSchemaField string
StoreDBSchemaField describes database schema field. It requires for method 'Update'
func (StoreDBSchemaField) String ¶
func (f StoreDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type StoreQuerySet ¶
type StoreQuerySet struct {
// contains filtered or unexported fields
}
StoreQuerySet is an queryset type for Store
func NewStoreQuerySet ¶
func NewStoreQuerySet(db *gorm.DB) StoreQuerySet
NewStoreQuerySet constructs new StoreQuerySet
func (StoreQuerySet) AddressEq ¶
func (qs StoreQuerySet) AddressEq(address string) StoreQuerySet
AddressEq is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressGt ¶
func (qs StoreQuerySet) AddressGt(address string) StoreQuerySet
AddressGt is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressGte ¶
func (qs StoreQuerySet) AddressGte(address string) StoreQuerySet
AddressGte is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressIn ¶
func (qs StoreQuerySet) AddressIn(address ...string) StoreQuerySet
AddressIn is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressLike ¶
func (qs StoreQuerySet) AddressLike(address string) StoreQuerySet
AddressLike is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressLt ¶
func (qs StoreQuerySet) AddressLt(address string) StoreQuerySet
AddressLt is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressLte ¶
func (qs StoreQuerySet) AddressLte(address string) StoreQuerySet
AddressLte is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressNe ¶
func (qs StoreQuerySet) AddressNe(address string) StoreQuerySet
AddressNe is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressNotIn ¶
func (qs StoreQuerySet) AddressNotIn(address ...string) StoreQuerySet
AddressNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) AddressNotlike ¶
func (qs StoreQuerySet) AddressNotlike(address string) StoreQuerySet
AddressNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) All ¶
func (qs StoreQuerySet) All(ret *[]Store) error
All is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementEq ¶
func (qs StoreQuerySet) AnnouncementEq(announcement string) StoreQuerySet
AnnouncementEq is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementGt ¶
func (qs StoreQuerySet) AnnouncementGt(announcement string) StoreQuerySet
AnnouncementGt is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementGte ¶
func (qs StoreQuerySet) AnnouncementGte(announcement string) StoreQuerySet
AnnouncementGte is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementIn ¶
func (qs StoreQuerySet) AnnouncementIn(announcement ...string) StoreQuerySet
AnnouncementIn is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementLike ¶
func (qs StoreQuerySet) AnnouncementLike(announcement string) StoreQuerySet
AnnouncementLike is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementLt ¶
func (qs StoreQuerySet) AnnouncementLt(announcement string) StoreQuerySet
AnnouncementLt is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementLte ¶
func (qs StoreQuerySet) AnnouncementLte(announcement string) StoreQuerySet
AnnouncementLte is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementNe ¶
func (qs StoreQuerySet) AnnouncementNe(announcement string) StoreQuerySet
AnnouncementNe is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementNotIn ¶
func (qs StoreQuerySet) AnnouncementNotIn(announcement ...string) StoreQuerySet
AnnouncementNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) AnnouncementNotlike ¶
func (qs StoreQuerySet) AnnouncementNotlike(announcement string) StoreQuerySet
AnnouncementNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) Count ¶
func (qs StoreQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (StoreQuerySet) Delete ¶
func (qs StoreQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (StoreQuerySet) DeleteNum ¶
func (qs StoreQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (StoreQuerySet) DeleteNumUnscoped ¶
func (qs StoreQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (StoreQuerySet) GetDB ¶
func (qs StoreQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (StoreQuerySet) GetUpdater ¶
func (qs StoreQuerySet) GetUpdater() StoreUpdater
GetUpdater is an autogenerated method nolint: dupl
func (StoreQuerySet) IDEq ¶
func (qs StoreQuerySet) IDEq(ID int64) StoreQuerySet
IDEq is an autogenerated method nolint: dupl
func (StoreQuerySet) IDGt ¶
func (qs StoreQuerySet) IDGt(ID int64) StoreQuerySet
IDGt is an autogenerated method nolint: dupl
func (StoreQuerySet) IDGte ¶
func (qs StoreQuerySet) IDGte(ID int64) StoreQuerySet
IDGte is an autogenerated method nolint: dupl
func (StoreQuerySet) IDIn ¶
func (qs StoreQuerySet) IDIn(ID ...int64) StoreQuerySet
IDIn is an autogenerated method nolint: dupl
func (StoreQuerySet) IDLt ¶
func (qs StoreQuerySet) IDLt(ID int64) StoreQuerySet
IDLt is an autogenerated method nolint: dupl
func (StoreQuerySet) IDLte ¶
func (qs StoreQuerySet) IDLte(ID int64) StoreQuerySet
IDLte is an autogenerated method nolint: dupl
func (StoreQuerySet) IDNe ¶
func (qs StoreQuerySet) IDNe(ID int64) StoreQuerySet
IDNe is an autogenerated method nolint: dupl
func (StoreQuerySet) IDNotIn ¶
func (qs StoreQuerySet) IDNotIn(ID ...int64) StoreQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoEq ¶
func (qs StoreQuerySet) InfoEq(info string) StoreQuerySet
InfoEq is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoGt ¶
func (qs StoreQuerySet) InfoGt(info string) StoreQuerySet
InfoGt is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoGte ¶
func (qs StoreQuerySet) InfoGte(info string) StoreQuerySet
InfoGte is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoIn ¶
func (qs StoreQuerySet) InfoIn(info ...string) StoreQuerySet
InfoIn is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoLike ¶
func (qs StoreQuerySet) InfoLike(info string) StoreQuerySet
InfoLike is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoLt ¶
func (qs StoreQuerySet) InfoLt(info string) StoreQuerySet
InfoLt is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoLte ¶
func (qs StoreQuerySet) InfoLte(info string) StoreQuerySet
InfoLte is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoNe ¶
func (qs StoreQuerySet) InfoNe(info string) StoreQuerySet
InfoNe is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoNotIn ¶
func (qs StoreQuerySet) InfoNotIn(info ...string) StoreQuerySet
InfoNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) InfoNotlike ¶
func (qs StoreQuerySet) InfoNotlike(info string) StoreQuerySet
InfoNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedEq ¶
func (qs StoreQuerySet) LastUpdatedEq(lastUpdated time.Time) StoreQuerySet
LastUpdatedEq is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedGt ¶
func (qs StoreQuerySet) LastUpdatedGt(lastUpdated time.Time) StoreQuerySet
LastUpdatedGt is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedGte ¶
func (qs StoreQuerySet) LastUpdatedGte(lastUpdated time.Time) StoreQuerySet
LastUpdatedGte is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedIsNotNull ¶
func (qs StoreQuerySet) LastUpdatedIsNotNull() StoreQuerySet
LastUpdatedIsNotNull is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedIsNull ¶
func (qs StoreQuerySet) LastUpdatedIsNull() StoreQuerySet
LastUpdatedIsNull is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedLt ¶
func (qs StoreQuerySet) LastUpdatedLt(lastUpdated time.Time) StoreQuerySet
LastUpdatedLt is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedLte ¶
func (qs StoreQuerySet) LastUpdatedLte(lastUpdated time.Time) StoreQuerySet
LastUpdatedLte is an autogenerated method nolint: dupl
func (StoreQuerySet) LastUpdatedNe ¶
func (qs StoreQuerySet) LastUpdatedNe(lastUpdated time.Time) StoreQuerySet
LastUpdatedNe is an autogenerated method nolint: dupl
func (StoreQuerySet) Limit ¶
func (qs StoreQuerySet) Limit(limit int) StoreQuerySet
Limit is an autogenerated method nolint: dupl
func (StoreQuerySet) NameEq ¶
func (qs StoreQuerySet) NameEq(name string) StoreQuerySet
NameEq is an autogenerated method nolint: dupl
func (StoreQuerySet) NameGt ¶
func (qs StoreQuerySet) NameGt(name string) StoreQuerySet
NameGt is an autogenerated method nolint: dupl
func (StoreQuerySet) NameGte ¶
func (qs StoreQuerySet) NameGte(name string) StoreQuerySet
NameGte is an autogenerated method nolint: dupl
func (StoreQuerySet) NameIn ¶
func (qs StoreQuerySet) NameIn(name ...string) StoreQuerySet
NameIn is an autogenerated method nolint: dupl
func (StoreQuerySet) NameLike ¶
func (qs StoreQuerySet) NameLike(name string) StoreQuerySet
NameLike is an autogenerated method nolint: dupl
func (StoreQuerySet) NameLt ¶
func (qs StoreQuerySet) NameLt(name string) StoreQuerySet
NameLt is an autogenerated method nolint: dupl
func (StoreQuerySet) NameLte ¶
func (qs StoreQuerySet) NameLte(name string) StoreQuerySet
NameLte is an autogenerated method nolint: dupl
func (StoreQuerySet) NameNe ¶
func (qs StoreQuerySet) NameNe(name string) StoreQuerySet
NameNe is an autogenerated method nolint: dupl
func (StoreQuerySet) NameNotIn ¶
func (qs StoreQuerySet) NameNotIn(name ...string) StoreQuerySet
NameNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) NameNotlike ¶
func (qs StoreQuerySet) NameNotlike(name string) StoreQuerySet
NameNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) Offset ¶
func (qs StoreQuerySet) Offset(offset int) StoreQuerySet
Offset is an autogenerated method nolint: dupl
func (StoreQuerySet) One ¶
func (qs StoreQuerySet) One(ret *Store) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (StoreQuerySet) OrderAscByAddress ¶
func (qs StoreQuerySet) OrderAscByAddress() StoreQuerySet
OrderAscByAddress is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByAnnouncement ¶
func (qs StoreQuerySet) OrderAscByAnnouncement() StoreQuerySet
OrderAscByAnnouncement is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByID ¶
func (qs StoreQuerySet) OrderAscByID() StoreQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByInfo ¶
func (qs StoreQuerySet) OrderAscByInfo() StoreQuerySet
OrderAscByInfo is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByLastUpdated ¶
func (qs StoreQuerySet) OrderAscByLastUpdated() StoreQuerySet
OrderAscByLastUpdated is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByName ¶
func (qs StoreQuerySet) OrderAscByName() StoreQuerySet
OrderAscByName is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByOwnerID ¶
func (qs StoreQuerySet) OrderAscByOwnerID() StoreQuerySet
OrderAscByOwnerID is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByProductCount ¶
func (qs StoreQuerySet) OrderAscByProductCount() StoreQuerySet
OrderAscByProductCount is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByProvince ¶
func (qs StoreQuerySet) OrderAscByProvince() StoreQuerySet
OrderAscByProvince is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByRegency ¶
func (qs StoreQuerySet) OrderAscByRegency() StoreQuerySet
OrderAscByRegency is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscBySUBDistrict ¶
func (qs StoreQuerySet) OrderAscBySUBDistrict() StoreQuerySet
OrderAscBySUBDistrict is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByTS ¶
func (qs StoreQuerySet) OrderAscByTS() StoreQuerySet
OrderAscByTS is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderAscByVillage ¶
func (qs StoreQuerySet) OrderAscByVillage() StoreQuerySet
OrderAscByVillage is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByAddress ¶
func (qs StoreQuerySet) OrderDescByAddress() StoreQuerySet
OrderDescByAddress is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByAnnouncement ¶
func (qs StoreQuerySet) OrderDescByAnnouncement() StoreQuerySet
OrderDescByAnnouncement is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByID ¶
func (qs StoreQuerySet) OrderDescByID() StoreQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByInfo ¶
func (qs StoreQuerySet) OrderDescByInfo() StoreQuerySet
OrderDescByInfo is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByLastUpdated ¶
func (qs StoreQuerySet) OrderDescByLastUpdated() StoreQuerySet
OrderDescByLastUpdated is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByName ¶
func (qs StoreQuerySet) OrderDescByName() StoreQuerySet
OrderDescByName is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByOwnerID ¶
func (qs StoreQuerySet) OrderDescByOwnerID() StoreQuerySet
OrderDescByOwnerID is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByProductCount ¶
func (qs StoreQuerySet) OrderDescByProductCount() StoreQuerySet
OrderDescByProductCount is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByProvince ¶
func (qs StoreQuerySet) OrderDescByProvince() StoreQuerySet
OrderDescByProvince is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByRegency ¶
func (qs StoreQuerySet) OrderDescByRegency() StoreQuerySet
OrderDescByRegency is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescBySUBDistrict ¶
func (qs StoreQuerySet) OrderDescBySUBDistrict() StoreQuerySet
OrderDescBySUBDistrict is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByTS ¶
func (qs StoreQuerySet) OrderDescByTS() StoreQuerySet
OrderDescByTS is an autogenerated method nolint: dupl
func (StoreQuerySet) OrderDescByVillage ¶
func (qs StoreQuerySet) OrderDescByVillage() StoreQuerySet
OrderDescByVillage is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDEq ¶
func (qs StoreQuerySet) OwnerIDEq(ownerID int64) StoreQuerySet
OwnerIDEq is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDGt ¶
func (qs StoreQuerySet) OwnerIDGt(ownerID int64) StoreQuerySet
OwnerIDGt is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDGte ¶
func (qs StoreQuerySet) OwnerIDGte(ownerID int64) StoreQuerySet
OwnerIDGte is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDIn ¶
func (qs StoreQuerySet) OwnerIDIn(ownerID ...int64) StoreQuerySet
OwnerIDIn is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDLt ¶
func (qs StoreQuerySet) OwnerIDLt(ownerID int64) StoreQuerySet
OwnerIDLt is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDLte ¶
func (qs StoreQuerySet) OwnerIDLte(ownerID int64) StoreQuerySet
OwnerIDLte is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDNe ¶
func (qs StoreQuerySet) OwnerIDNe(ownerID int64) StoreQuerySet
OwnerIDNe is an autogenerated method nolint: dupl
func (StoreQuerySet) OwnerIDNotIn ¶
func (qs StoreQuerySet) OwnerIDNotIn(ownerID ...int64) StoreQuerySet
OwnerIDNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountEq ¶
func (qs StoreQuerySet) ProductCountEq(productCount int) StoreQuerySet
ProductCountEq is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountGt ¶
func (qs StoreQuerySet) ProductCountGt(productCount int) StoreQuerySet
ProductCountGt is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountGte ¶
func (qs StoreQuerySet) ProductCountGte(productCount int) StoreQuerySet
ProductCountGte is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountIn ¶
func (qs StoreQuerySet) ProductCountIn(productCount ...int) StoreQuerySet
ProductCountIn is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountLt ¶
func (qs StoreQuerySet) ProductCountLt(productCount int) StoreQuerySet
ProductCountLt is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountLte ¶
func (qs StoreQuerySet) ProductCountLte(productCount int) StoreQuerySet
ProductCountLte is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountNe ¶
func (qs StoreQuerySet) ProductCountNe(productCount int) StoreQuerySet
ProductCountNe is an autogenerated method nolint: dupl
func (StoreQuerySet) ProductCountNotIn ¶
func (qs StoreQuerySet) ProductCountNotIn(productCount ...int) StoreQuerySet
ProductCountNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceEq ¶
func (qs StoreQuerySet) ProvinceEq(province string) StoreQuerySet
ProvinceEq is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceGt ¶
func (qs StoreQuerySet) ProvinceGt(province string) StoreQuerySet
ProvinceGt is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceGte ¶
func (qs StoreQuerySet) ProvinceGte(province string) StoreQuerySet
ProvinceGte is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceIn ¶
func (qs StoreQuerySet) ProvinceIn(province ...string) StoreQuerySet
ProvinceIn is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceLike ¶
func (qs StoreQuerySet) ProvinceLike(province string) StoreQuerySet
ProvinceLike is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceLt ¶
func (qs StoreQuerySet) ProvinceLt(province string) StoreQuerySet
ProvinceLt is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceLte ¶
func (qs StoreQuerySet) ProvinceLte(province string) StoreQuerySet
ProvinceLte is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceNe ¶
func (qs StoreQuerySet) ProvinceNe(province string) StoreQuerySet
ProvinceNe is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceNotIn ¶
func (qs StoreQuerySet) ProvinceNotIn(province ...string) StoreQuerySet
ProvinceNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) ProvinceNotlike ¶
func (qs StoreQuerySet) ProvinceNotlike(province string) StoreQuerySet
ProvinceNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyEq ¶
func (qs StoreQuerySet) RegencyEq(regency string) StoreQuerySet
RegencyEq is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyGt ¶
func (qs StoreQuerySet) RegencyGt(regency string) StoreQuerySet
RegencyGt is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyGte ¶
func (qs StoreQuerySet) RegencyGte(regency string) StoreQuerySet
RegencyGte is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyIn ¶
func (qs StoreQuerySet) RegencyIn(regency ...string) StoreQuerySet
RegencyIn is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyLike ¶
func (qs StoreQuerySet) RegencyLike(regency string) StoreQuerySet
RegencyLike is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyLt ¶
func (qs StoreQuerySet) RegencyLt(regency string) StoreQuerySet
RegencyLt is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyLte ¶
func (qs StoreQuerySet) RegencyLte(regency string) StoreQuerySet
RegencyLte is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyNe ¶
func (qs StoreQuerySet) RegencyNe(regency string) StoreQuerySet
RegencyNe is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyNotIn ¶
func (qs StoreQuerySet) RegencyNotIn(regency ...string) StoreQuerySet
RegencyNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) RegencyNotlike ¶
func (qs StoreQuerySet) RegencyNotlike(regency string) StoreQuerySet
RegencyNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictEq ¶
func (qs StoreQuerySet) SUBDistrictEq(sUBDistrict string) StoreQuerySet
SUBDistrictEq is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictGt ¶
func (qs StoreQuerySet) SUBDistrictGt(sUBDistrict string) StoreQuerySet
SUBDistrictGt is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictGte ¶
func (qs StoreQuerySet) SUBDistrictGte(sUBDistrict string) StoreQuerySet
SUBDistrictGte is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictIn ¶
func (qs StoreQuerySet) SUBDistrictIn(sUBDistrict ...string) StoreQuerySet
SUBDistrictIn is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictLike ¶
func (qs StoreQuerySet) SUBDistrictLike(sUBDistrict string) StoreQuerySet
SUBDistrictLike is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictLt ¶
func (qs StoreQuerySet) SUBDistrictLt(sUBDistrict string) StoreQuerySet
SUBDistrictLt is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictLte ¶
func (qs StoreQuerySet) SUBDistrictLte(sUBDistrict string) StoreQuerySet
SUBDistrictLte is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictNe ¶
func (qs StoreQuerySet) SUBDistrictNe(sUBDistrict string) StoreQuerySet
SUBDistrictNe is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictNotIn ¶
func (qs StoreQuerySet) SUBDistrictNotIn(sUBDistrict ...string) StoreQuerySet
SUBDistrictNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) SUBDistrictNotlike ¶
func (qs StoreQuerySet) SUBDistrictNotlike(sUBDistrict string) StoreQuerySet
SUBDistrictNotlike is an autogenerated method nolint: dupl
func (StoreQuerySet) Select ¶
func (qs StoreQuerySet) Select(fields ...StoreDBSchemaField) StoreQuerySet
func (StoreQuerySet) TSEq ¶
func (qs StoreQuerySet) TSEq(tS time.Time) StoreQuerySet
TSEq is an autogenerated method nolint: dupl
func (StoreQuerySet) TSGt ¶
func (qs StoreQuerySet) TSGt(tS time.Time) StoreQuerySet
TSGt is an autogenerated method nolint: dupl
func (StoreQuerySet) TSGte ¶
func (qs StoreQuerySet) TSGte(tS time.Time) StoreQuerySet
TSGte is an autogenerated method nolint: dupl
func (StoreQuerySet) TSIsNotNull ¶
func (qs StoreQuerySet) TSIsNotNull() StoreQuerySet
TSIsNotNull is an autogenerated method nolint: dupl
func (StoreQuerySet) TSIsNull ¶
func (qs StoreQuerySet) TSIsNull() StoreQuerySet
TSIsNull is an autogenerated method nolint: dupl
func (StoreQuerySet) TSLt ¶
func (qs StoreQuerySet) TSLt(tS time.Time) StoreQuerySet
TSLt is an autogenerated method nolint: dupl
func (StoreQuerySet) TSLte ¶
func (qs StoreQuerySet) TSLte(tS time.Time) StoreQuerySet
TSLte is an autogenerated method nolint: dupl
func (StoreQuerySet) TSNe ¶
func (qs StoreQuerySet) TSNe(tS time.Time) StoreQuerySet
TSNe is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageEq ¶
func (qs StoreQuerySet) VillageEq(village string) StoreQuerySet
VillageEq is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageGt ¶
func (qs StoreQuerySet) VillageGt(village string) StoreQuerySet
VillageGt is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageGte ¶
func (qs StoreQuerySet) VillageGte(village string) StoreQuerySet
VillageGte is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageIn ¶
func (qs StoreQuerySet) VillageIn(village ...string) StoreQuerySet
VillageIn is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageLike ¶
func (qs StoreQuerySet) VillageLike(village string) StoreQuerySet
VillageLike is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageLt ¶
func (qs StoreQuerySet) VillageLt(village string) StoreQuerySet
VillageLt is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageLte ¶
func (qs StoreQuerySet) VillageLte(village string) StoreQuerySet
VillageLte is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageNe ¶
func (qs StoreQuerySet) VillageNe(village string) StoreQuerySet
VillageNe is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageNotIn ¶
func (qs StoreQuerySet) VillageNotIn(village ...string) StoreQuerySet
VillageNotIn is an autogenerated method nolint: dupl
func (StoreQuerySet) VillageNotlike ¶
func (qs StoreQuerySet) VillageNotlike(village string) StoreQuerySet
VillageNotlike is an autogenerated method nolint: dupl
type StoreUpdater ¶
type StoreUpdater struct {
// contains filtered or unexported fields
}
StoreUpdater is an Store updates manager
func NewStoreUpdater ¶
func NewStoreUpdater(db *gorm.DB) StoreUpdater
NewStoreUpdater creates new Store updater nolint: dupl
func (StoreUpdater) SetAddress ¶
func (u StoreUpdater) SetAddress(address string) StoreUpdater
SetAddress is an autogenerated method nolint: dupl
func (StoreUpdater) SetAnnouncement ¶
func (u StoreUpdater) SetAnnouncement(announcement string) StoreUpdater
SetAnnouncement is an autogenerated method nolint: dupl
func (StoreUpdater) SetID ¶
func (u StoreUpdater) SetID(ID int64) StoreUpdater
SetID is an autogenerated method nolint: dupl
func (StoreUpdater) SetInfo ¶
func (u StoreUpdater) SetInfo(info string) StoreUpdater
SetInfo is an autogenerated method nolint: dupl
func (StoreUpdater) SetLastUpdated ¶
func (u StoreUpdater) SetLastUpdated(lastUpdated *time.Time) StoreUpdater
SetLastUpdated is an autogenerated method nolint: dupl
func (StoreUpdater) SetName ¶
func (u StoreUpdater) SetName(name string) StoreUpdater
SetName is an autogenerated method nolint: dupl
func (StoreUpdater) SetOwnerID ¶
func (u StoreUpdater) SetOwnerID(ownerID int64) StoreUpdater
SetOwnerID is an autogenerated method nolint: dupl
func (StoreUpdater) SetProductCount ¶
func (u StoreUpdater) SetProductCount(productCount int) StoreUpdater
SetProductCount is an autogenerated method nolint: dupl
func (StoreUpdater) SetProvince ¶
func (u StoreUpdater) SetProvince(province string) StoreUpdater
SetProvince is an autogenerated method nolint: dupl
func (StoreUpdater) SetRegency ¶
func (u StoreUpdater) SetRegency(regency string) StoreUpdater
SetRegency is an autogenerated method nolint: dupl
func (StoreUpdater) SetSUBDistrict ¶
func (u StoreUpdater) SetSUBDistrict(sUBDistrict string) StoreUpdater
SetSUBDistrict is an autogenerated method nolint: dupl
func (StoreUpdater) SetTS ¶
func (u StoreUpdater) SetTS(tS *time.Time) StoreUpdater
SetTS is an autogenerated method nolint: dupl
func (StoreUpdater) SetVillage ¶
func (u StoreUpdater) SetVillage(village string) StoreUpdater
SetVillage is an autogenerated method nolint: dupl
func (StoreUpdater) Update ¶
func (u StoreUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (StoreUpdater) UpdateNum ¶
func (u StoreUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type User ¶
type User struct { ID int64 `json:"id"` FullName string `json:"full_name"` Email string `json:"email"` PhoneNum string `json:"phone_num,omitempty"` Address string `json:"address"` Avatar string `json:"avatar"` Type int `json:"type,omitempty"` Active bool `json:"active,omitempty"` LastLogin *time.Time `json:"last_login,omitempty"` RegisteredAt time.Time `json:"registered_at,omitempty"` }
User definisi model untuk user gen:qs
func (*User) CreateUser ¶
CreateUser dao untuk menambahkan user
type UserConnect ¶
type UserConnect struct { UserID int64 `json:"user_id"` ProviderName string `json:"provider_name"` AppID string `json:"app_id"` }
UserConnect model gen:qs
func (*UserConnect) Create ¶
func (o *UserConnect) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*UserConnect) Delete ¶
func (o *UserConnect) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*UserConnect) Update ¶
func (o *UserConnect) Update(db *gorm.DB, fields ...UserConnectDBSchemaField) error
Update updates UserConnect fields by primary key nolint: dupl
type UserConnectDBSchemaField ¶
type UserConnectDBSchemaField string
UserConnectDBSchemaField describes database schema field. It requires for method 'Update'
func (UserConnectDBSchemaField) String ¶
func (f UserConnectDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type UserConnectQuerySet ¶
type UserConnectQuerySet struct {
// contains filtered or unexported fields
}
UserConnectQuerySet is an queryset type for UserConnect
func NewUserConnectQuerySet ¶
func NewUserConnectQuerySet(db *gorm.DB) UserConnectQuerySet
NewUserConnectQuerySet constructs new UserConnectQuerySet
func (UserConnectQuerySet) All ¶
func (qs UserConnectQuerySet) All(ret *[]UserConnect) error
All is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDEq ¶
func (qs UserConnectQuerySet) AppIDEq(appID string) UserConnectQuerySet
AppIDEq is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDGt ¶
func (qs UserConnectQuerySet) AppIDGt(appID string) UserConnectQuerySet
AppIDGt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDGte ¶
func (qs UserConnectQuerySet) AppIDGte(appID string) UserConnectQuerySet
AppIDGte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDIn ¶
func (qs UserConnectQuerySet) AppIDIn(appID ...string) UserConnectQuerySet
AppIDIn is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDLike ¶
func (qs UserConnectQuerySet) AppIDLike(appID string) UserConnectQuerySet
AppIDLike is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDLt ¶
func (qs UserConnectQuerySet) AppIDLt(appID string) UserConnectQuerySet
AppIDLt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDLte ¶
func (qs UserConnectQuerySet) AppIDLte(appID string) UserConnectQuerySet
AppIDLte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDNe ¶
func (qs UserConnectQuerySet) AppIDNe(appID string) UserConnectQuerySet
AppIDNe is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDNotIn ¶
func (qs UserConnectQuerySet) AppIDNotIn(appID ...string) UserConnectQuerySet
AppIDNotIn is an autogenerated method nolint: dupl
func (UserConnectQuerySet) AppIDNotlike ¶
func (qs UserConnectQuerySet) AppIDNotlike(appID string) UserConnectQuerySet
AppIDNotlike is an autogenerated method nolint: dupl
func (UserConnectQuerySet) Count ¶
func (qs UserConnectQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (UserConnectQuerySet) Delete ¶
func (qs UserConnectQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (UserConnectQuerySet) DeleteNum ¶
func (qs UserConnectQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (UserConnectQuerySet) DeleteNumUnscoped ¶
func (qs UserConnectQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (UserConnectQuerySet) GetDB ¶
func (qs UserConnectQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (UserConnectQuerySet) GetUpdater ¶
func (qs UserConnectQuerySet) GetUpdater() UserConnectUpdater
GetUpdater is an autogenerated method nolint: dupl
func (UserConnectQuerySet) Limit ¶
func (qs UserConnectQuerySet) Limit(limit int) UserConnectQuerySet
Limit is an autogenerated method nolint: dupl
func (UserConnectQuerySet) Offset ¶
func (qs UserConnectQuerySet) Offset(offset int) UserConnectQuerySet
Offset is an autogenerated method nolint: dupl
func (UserConnectQuerySet) One ¶
func (qs UserConnectQuerySet) One(ret *UserConnect) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (UserConnectQuerySet) OrderAscByAppID ¶
func (qs UserConnectQuerySet) OrderAscByAppID() UserConnectQuerySet
OrderAscByAppID is an autogenerated method nolint: dupl
func (UserConnectQuerySet) OrderAscByProviderName ¶
func (qs UserConnectQuerySet) OrderAscByProviderName() UserConnectQuerySet
OrderAscByProviderName is an autogenerated method nolint: dupl
func (UserConnectQuerySet) OrderAscByUserID ¶
func (qs UserConnectQuerySet) OrderAscByUserID() UserConnectQuerySet
OrderAscByUserID is an autogenerated method nolint: dupl
func (UserConnectQuerySet) OrderDescByAppID ¶
func (qs UserConnectQuerySet) OrderDescByAppID() UserConnectQuerySet
OrderDescByAppID is an autogenerated method nolint: dupl
func (UserConnectQuerySet) OrderDescByProviderName ¶
func (qs UserConnectQuerySet) OrderDescByProviderName() UserConnectQuerySet
OrderDescByProviderName is an autogenerated method nolint: dupl
func (UserConnectQuerySet) OrderDescByUserID ¶
func (qs UserConnectQuerySet) OrderDescByUserID() UserConnectQuerySet
OrderDescByUserID is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameEq ¶
func (qs UserConnectQuerySet) ProviderNameEq(providerName string) UserConnectQuerySet
ProviderNameEq is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameGt ¶
func (qs UserConnectQuerySet) ProviderNameGt(providerName string) UserConnectQuerySet
ProviderNameGt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameGte ¶
func (qs UserConnectQuerySet) ProviderNameGte(providerName string) UserConnectQuerySet
ProviderNameGte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameIn ¶
func (qs UserConnectQuerySet) ProviderNameIn(providerName ...string) UserConnectQuerySet
ProviderNameIn is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameLike ¶
func (qs UserConnectQuerySet) ProviderNameLike(providerName string) UserConnectQuerySet
ProviderNameLike is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameLt ¶
func (qs UserConnectQuerySet) ProviderNameLt(providerName string) UserConnectQuerySet
ProviderNameLt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameLte ¶
func (qs UserConnectQuerySet) ProviderNameLte(providerName string) UserConnectQuerySet
ProviderNameLte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameNe ¶
func (qs UserConnectQuerySet) ProviderNameNe(providerName string) UserConnectQuerySet
ProviderNameNe is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameNotIn ¶
func (qs UserConnectQuerySet) ProviderNameNotIn(providerName ...string) UserConnectQuerySet
ProviderNameNotIn is an autogenerated method nolint: dupl
func (UserConnectQuerySet) ProviderNameNotlike ¶
func (qs UserConnectQuerySet) ProviderNameNotlike(providerName string) UserConnectQuerySet
ProviderNameNotlike is an autogenerated method nolint: dupl
func (UserConnectQuerySet) Select ¶
func (qs UserConnectQuerySet) Select(fields ...UserConnectDBSchemaField) UserConnectQuerySet
func (UserConnectQuerySet) UserIDEq ¶
func (qs UserConnectQuerySet) UserIDEq(userID int64) UserConnectQuerySet
UserIDEq is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDGt ¶
func (qs UserConnectQuerySet) UserIDGt(userID int64) UserConnectQuerySet
UserIDGt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDGte ¶
func (qs UserConnectQuerySet) UserIDGte(userID int64) UserConnectQuerySet
UserIDGte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDIn ¶
func (qs UserConnectQuerySet) UserIDIn(userID ...int64) UserConnectQuerySet
UserIDIn is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDLt ¶
func (qs UserConnectQuerySet) UserIDLt(userID int64) UserConnectQuerySet
UserIDLt is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDLte ¶
func (qs UserConnectQuerySet) UserIDLte(userID int64) UserConnectQuerySet
UserIDLte is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDNe ¶
func (qs UserConnectQuerySet) UserIDNe(userID int64) UserConnectQuerySet
UserIDNe is an autogenerated method nolint: dupl
func (UserConnectQuerySet) UserIDNotIn ¶
func (qs UserConnectQuerySet) UserIDNotIn(userID ...int64) UserConnectQuerySet
UserIDNotIn is an autogenerated method nolint: dupl
type UserConnectUpdater ¶
type UserConnectUpdater struct {
// contains filtered or unexported fields
}
UserConnectUpdater is an UserConnect updates manager
func NewUserConnectUpdater ¶
func NewUserConnectUpdater(db *gorm.DB) UserConnectUpdater
NewUserConnectUpdater creates new UserConnect updater nolint: dupl
func (UserConnectUpdater) SetAppID ¶
func (u UserConnectUpdater) SetAppID(appID string) UserConnectUpdater
SetAppID is an autogenerated method nolint: dupl
func (UserConnectUpdater) SetProviderName ¶
func (u UserConnectUpdater) SetProviderName(providerName string) UserConnectUpdater
SetProviderName is an autogenerated method nolint: dupl
func (UserConnectUpdater) SetUserID ¶
func (u UserConnectUpdater) SetUserID(userID int64) UserConnectUpdater
SetUserID is an autogenerated method nolint: dupl
func (UserConnectUpdater) Update ¶
func (u UserConnectUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (UserConnectUpdater) UpdateNum ¶
func (u UserConnectUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type UserDBSchemaField ¶
type UserDBSchemaField string
UserDBSchemaField describes database schema field. It requires for method 'Update'
func (UserDBSchemaField) String ¶
func (f UserDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type UserNotif ¶
type UserNotif struct { ID int64 `json:"id"` UserID int64 `json:"user_id"` Title string `json:"title"` Content string `json:"content"` NotifType int `json:"notif_type"` Target int `json:"target"` CreatedAT *time.Time `json:"created_at"` Read bool `json:"read"` }
UserNotif model gen:qs
type UserNotifDBSchemaField ¶
type UserNotifDBSchemaField string
UserNotifDBSchemaField describes database schema field. It requires for method 'Update'
func (UserNotifDBSchemaField) String ¶
func (f UserNotifDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type UserNotifQuerySet ¶
type UserNotifQuerySet struct {
// contains filtered or unexported fields
}
UserNotifQuerySet is an queryset type for UserNotif
func NewUserNotifQuerySet ¶
func NewUserNotifQuerySet(db *gorm.DB) UserNotifQuerySet
NewUserNotifQuerySet constructs new UserNotifQuerySet
func (UserNotifQuerySet) All ¶
func (qs UserNotifQuerySet) All(ret *[]UserNotif) error
All is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentEq ¶
func (qs UserNotifQuerySet) ContentEq(content string) UserNotifQuerySet
ContentEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentGt ¶
func (qs UserNotifQuerySet) ContentGt(content string) UserNotifQuerySet
ContentGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentGte ¶
func (qs UserNotifQuerySet) ContentGte(content string) UserNotifQuerySet
ContentGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentIn ¶
func (qs UserNotifQuerySet) ContentIn(content ...string) UserNotifQuerySet
ContentIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentLike ¶
func (qs UserNotifQuerySet) ContentLike(content string) UserNotifQuerySet
ContentLike is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentLt ¶
func (qs UserNotifQuerySet) ContentLt(content string) UserNotifQuerySet
ContentLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentLte ¶
func (qs UserNotifQuerySet) ContentLte(content string) UserNotifQuerySet
ContentLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentNe ¶
func (qs UserNotifQuerySet) ContentNe(content string) UserNotifQuerySet
ContentNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentNotIn ¶
func (qs UserNotifQuerySet) ContentNotIn(content ...string) UserNotifQuerySet
ContentNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ContentNotlike ¶
func (qs UserNotifQuerySet) ContentNotlike(content string) UserNotifQuerySet
ContentNotlike is an autogenerated method nolint: dupl
func (UserNotifQuerySet) Count ¶
func (qs UserNotifQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATEq ¶
func (qs UserNotifQuerySet) CreatedATEq(createdAT time.Time) UserNotifQuerySet
CreatedATEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATGt ¶
func (qs UserNotifQuerySet) CreatedATGt(createdAT time.Time) UserNotifQuerySet
CreatedATGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATGte ¶
func (qs UserNotifQuerySet) CreatedATGte(createdAT time.Time) UserNotifQuerySet
CreatedATGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATIsNotNull ¶
func (qs UserNotifQuerySet) CreatedATIsNotNull() UserNotifQuerySet
CreatedATIsNotNull is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATIsNull ¶
func (qs UserNotifQuerySet) CreatedATIsNull() UserNotifQuerySet
CreatedATIsNull is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATLt ¶
func (qs UserNotifQuerySet) CreatedATLt(createdAT time.Time) UserNotifQuerySet
CreatedATLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATLte ¶
func (qs UserNotifQuerySet) CreatedATLte(createdAT time.Time) UserNotifQuerySet
CreatedATLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) CreatedATNe ¶
func (qs UserNotifQuerySet) CreatedATNe(createdAT time.Time) UserNotifQuerySet
CreatedATNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) Delete ¶
func (qs UserNotifQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (UserNotifQuerySet) DeleteNum ¶
func (qs UserNotifQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (UserNotifQuerySet) DeleteNumUnscoped ¶
func (qs UserNotifQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (UserNotifQuerySet) GetDB ¶
func (qs UserNotifQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (UserNotifQuerySet) GetUpdater ¶
func (qs UserNotifQuerySet) GetUpdater() UserNotifUpdater
GetUpdater is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDEq ¶
func (qs UserNotifQuerySet) IDEq(ID int64) UserNotifQuerySet
IDEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDGt ¶
func (qs UserNotifQuerySet) IDGt(ID int64) UserNotifQuerySet
IDGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDGte ¶
func (qs UserNotifQuerySet) IDGte(ID int64) UserNotifQuerySet
IDGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDIn ¶
func (qs UserNotifQuerySet) IDIn(ID ...int64) UserNotifQuerySet
IDIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDLt ¶
func (qs UserNotifQuerySet) IDLt(ID int64) UserNotifQuerySet
IDLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDLte ¶
func (qs UserNotifQuerySet) IDLte(ID int64) UserNotifQuerySet
IDLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDNe ¶
func (qs UserNotifQuerySet) IDNe(ID int64) UserNotifQuerySet
IDNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) IDNotIn ¶
func (qs UserNotifQuerySet) IDNotIn(ID ...int64) UserNotifQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) Limit ¶
func (qs UserNotifQuerySet) Limit(limit int) UserNotifQuerySet
Limit is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeEq ¶
func (qs UserNotifQuerySet) NotifTypeEq(notifType int) UserNotifQuerySet
NotifTypeEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeGt ¶
func (qs UserNotifQuerySet) NotifTypeGt(notifType int) UserNotifQuerySet
NotifTypeGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeGte ¶
func (qs UserNotifQuerySet) NotifTypeGte(notifType int) UserNotifQuerySet
NotifTypeGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeIn ¶
func (qs UserNotifQuerySet) NotifTypeIn(notifType ...int) UserNotifQuerySet
NotifTypeIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeLt ¶
func (qs UserNotifQuerySet) NotifTypeLt(notifType int) UserNotifQuerySet
NotifTypeLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeLte ¶
func (qs UserNotifQuerySet) NotifTypeLte(notifType int) UserNotifQuerySet
NotifTypeLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeNe ¶
func (qs UserNotifQuerySet) NotifTypeNe(notifType int) UserNotifQuerySet
NotifTypeNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) NotifTypeNotIn ¶
func (qs UserNotifQuerySet) NotifTypeNotIn(notifType ...int) UserNotifQuerySet
NotifTypeNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) Offset ¶
func (qs UserNotifQuerySet) Offset(offset int) UserNotifQuerySet
Offset is an autogenerated method nolint: dupl
func (UserNotifQuerySet) One ¶
func (qs UserNotifQuerySet) One(ret *UserNotif) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (UserNotifQuerySet) OrderAscByContent ¶
func (qs UserNotifQuerySet) OrderAscByContent() UserNotifQuerySet
OrderAscByContent is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByCreatedAT ¶
func (qs UserNotifQuerySet) OrderAscByCreatedAT() UserNotifQuerySet
OrderAscByCreatedAT is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByID ¶
func (qs UserNotifQuerySet) OrderAscByID() UserNotifQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByNotifType ¶
func (qs UserNotifQuerySet) OrderAscByNotifType() UserNotifQuerySet
OrderAscByNotifType is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByRead ¶
func (qs UserNotifQuerySet) OrderAscByRead() UserNotifQuerySet
OrderAscByRead is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByTarget ¶
func (qs UserNotifQuerySet) OrderAscByTarget() UserNotifQuerySet
OrderAscByTarget is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByTitle ¶
func (qs UserNotifQuerySet) OrderAscByTitle() UserNotifQuerySet
OrderAscByTitle is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderAscByUserID ¶
func (qs UserNotifQuerySet) OrderAscByUserID() UserNotifQuerySet
OrderAscByUserID is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByContent ¶
func (qs UserNotifQuerySet) OrderDescByContent() UserNotifQuerySet
OrderDescByContent is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByCreatedAT ¶
func (qs UserNotifQuerySet) OrderDescByCreatedAT() UserNotifQuerySet
OrderDescByCreatedAT is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByID ¶
func (qs UserNotifQuerySet) OrderDescByID() UserNotifQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByNotifType ¶
func (qs UserNotifQuerySet) OrderDescByNotifType() UserNotifQuerySet
OrderDescByNotifType is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByRead ¶
func (qs UserNotifQuerySet) OrderDescByRead() UserNotifQuerySet
OrderDescByRead is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByTarget ¶
func (qs UserNotifQuerySet) OrderDescByTarget() UserNotifQuerySet
OrderDescByTarget is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByTitle ¶
func (qs UserNotifQuerySet) OrderDescByTitle() UserNotifQuerySet
OrderDescByTitle is an autogenerated method nolint: dupl
func (UserNotifQuerySet) OrderDescByUserID ¶
func (qs UserNotifQuerySet) OrderDescByUserID() UserNotifQuerySet
OrderDescByUserID is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ReadEq ¶
func (qs UserNotifQuerySet) ReadEq(read bool) UserNotifQuerySet
ReadEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ReadIn ¶
func (qs UserNotifQuerySet) ReadIn(read ...bool) UserNotifQuerySet
ReadIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ReadNe ¶
func (qs UserNotifQuerySet) ReadNe(read bool) UserNotifQuerySet
ReadNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) ReadNotIn ¶
func (qs UserNotifQuerySet) ReadNotIn(read ...bool) UserNotifQuerySet
ReadNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) Select ¶
func (qs UserNotifQuerySet) Select(fields ...UserNotifDBSchemaField) UserNotifQuerySet
func (UserNotifQuerySet) TargetEq ¶
func (qs UserNotifQuerySet) TargetEq(target int) UserNotifQuerySet
TargetEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetGt ¶
func (qs UserNotifQuerySet) TargetGt(target int) UserNotifQuerySet
TargetGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetGte ¶
func (qs UserNotifQuerySet) TargetGte(target int) UserNotifQuerySet
TargetGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetIn ¶
func (qs UserNotifQuerySet) TargetIn(target ...int) UserNotifQuerySet
TargetIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetLt ¶
func (qs UserNotifQuerySet) TargetLt(target int) UserNotifQuerySet
TargetLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetLte ¶
func (qs UserNotifQuerySet) TargetLte(target int) UserNotifQuerySet
TargetLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetNe ¶
func (qs UserNotifQuerySet) TargetNe(target int) UserNotifQuerySet
TargetNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TargetNotIn ¶
func (qs UserNotifQuerySet) TargetNotIn(target ...int) UserNotifQuerySet
TargetNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleEq ¶
func (qs UserNotifQuerySet) TitleEq(title string) UserNotifQuerySet
TitleEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleGt ¶
func (qs UserNotifQuerySet) TitleGt(title string) UserNotifQuerySet
TitleGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleGte ¶
func (qs UserNotifQuerySet) TitleGte(title string) UserNotifQuerySet
TitleGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleIn ¶
func (qs UserNotifQuerySet) TitleIn(title ...string) UserNotifQuerySet
TitleIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleLike ¶
func (qs UserNotifQuerySet) TitleLike(title string) UserNotifQuerySet
TitleLike is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleLt ¶
func (qs UserNotifQuerySet) TitleLt(title string) UserNotifQuerySet
TitleLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleLte ¶
func (qs UserNotifQuerySet) TitleLte(title string) UserNotifQuerySet
TitleLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleNe ¶
func (qs UserNotifQuerySet) TitleNe(title string) UserNotifQuerySet
TitleNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleNotIn ¶
func (qs UserNotifQuerySet) TitleNotIn(title ...string) UserNotifQuerySet
TitleNotIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) TitleNotlike ¶
func (qs UserNotifQuerySet) TitleNotlike(title string) UserNotifQuerySet
TitleNotlike is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDEq ¶
func (qs UserNotifQuerySet) UserIDEq(userID int64) UserNotifQuerySet
UserIDEq is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDGt ¶
func (qs UserNotifQuerySet) UserIDGt(userID int64) UserNotifQuerySet
UserIDGt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDGte ¶
func (qs UserNotifQuerySet) UserIDGte(userID int64) UserNotifQuerySet
UserIDGte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDIn ¶
func (qs UserNotifQuerySet) UserIDIn(userID ...int64) UserNotifQuerySet
UserIDIn is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDLt ¶
func (qs UserNotifQuerySet) UserIDLt(userID int64) UserNotifQuerySet
UserIDLt is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDLte ¶
func (qs UserNotifQuerySet) UserIDLte(userID int64) UserNotifQuerySet
UserIDLte is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDNe ¶
func (qs UserNotifQuerySet) UserIDNe(userID int64) UserNotifQuerySet
UserIDNe is an autogenerated method nolint: dupl
func (UserNotifQuerySet) UserIDNotIn ¶
func (qs UserNotifQuerySet) UserIDNotIn(userID ...int64) UserNotifQuerySet
UserIDNotIn is an autogenerated method nolint: dupl
type UserNotifUpdater ¶
type UserNotifUpdater struct {
// contains filtered or unexported fields
}
UserNotifUpdater is an UserNotif updates manager
func NewUserNotifUpdater ¶
func NewUserNotifUpdater(db *gorm.DB) UserNotifUpdater
NewUserNotifUpdater creates new UserNotif updater nolint: dupl
func (UserNotifUpdater) SetContent ¶
func (u UserNotifUpdater) SetContent(content string) UserNotifUpdater
SetContent is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetCreatedAT ¶
func (u UserNotifUpdater) SetCreatedAT(createdAT *time.Time) UserNotifUpdater
SetCreatedAT is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetID ¶
func (u UserNotifUpdater) SetID(ID int64) UserNotifUpdater
SetID is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetNotifType ¶
func (u UserNotifUpdater) SetNotifType(notifType int) UserNotifUpdater
SetNotifType is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetRead ¶
func (u UserNotifUpdater) SetRead(read bool) UserNotifUpdater
SetRead is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetTarget ¶
func (u UserNotifUpdater) SetTarget(target int) UserNotifUpdater
SetTarget is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetTitle ¶
func (u UserNotifUpdater) SetTitle(title string) UserNotifUpdater
SetTitle is an autogenerated method nolint: dupl
func (UserNotifUpdater) SetUserID ¶
func (u UserNotifUpdater) SetUserID(userID int64) UserNotifUpdater
SetUserID is an autogenerated method nolint: dupl
func (UserNotifUpdater) Update ¶
func (u UserNotifUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (UserNotifUpdater) UpdateNum ¶
func (u UserNotifUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type UserPasshash ¶
type UserPasshash struct { ID int64 `json:"id"` UserID int64 `json:"user_id"` User *User `json:"-"` Passhash string `json:"-"` Deprecated bool `json:"deprecated"` Ver int `json:"ver"` Created time.Time `json:"created"` }
UserPasshash definisi model untuk mengaktifkan user gen:qs
func (*UserPasshash) ActivateUser ¶
func (userPasshash *UserPasshash) ActivateUser() error
ActivateUser dao untuk mengaktifkan user
func (*UserPasshash) Create ¶
func (o *UserPasshash) Create(db *gorm.DB) error
Create is an autogenerated method nolint: dupl
func (*UserPasshash) Delete ¶
func (o *UserPasshash) Delete(db *gorm.DB) error
Delete is an autogenerated method nolint: dupl
func (*UserPasshash) Update ¶
func (o *UserPasshash) Update(db *gorm.DB, fields ...UserPasshashDBSchemaField) error
Update updates UserPasshash fields by primary key nolint: dupl
type UserPasshashDBSchemaField ¶
type UserPasshashDBSchemaField string
UserPasshashDBSchemaField describes database schema field. It requires for method 'Update'
func (UserPasshashDBSchemaField) String ¶
func (f UserPasshashDBSchemaField) String() string
String method returns string representation of field. nolint: dupl
type UserPasshashQuerySet ¶
type UserPasshashQuerySet struct {
// contains filtered or unexported fields
}
UserPasshashQuerySet is an queryset type for UserPasshash
func NewUserPasshashQuerySet ¶
func NewUserPasshashQuerySet(db *gorm.DB) UserPasshashQuerySet
NewUserPasshashQuerySet constructs new UserPasshashQuerySet
func (UserPasshashQuerySet) All ¶
func (qs UserPasshashQuerySet) All(ret *[]UserPasshash) error
All is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) Count ¶
func (qs UserPasshashQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedEq ¶
func (qs UserPasshashQuerySet) CreatedEq(created time.Time) UserPasshashQuerySet
CreatedEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedGt ¶
func (qs UserPasshashQuerySet) CreatedGt(created time.Time) UserPasshashQuerySet
CreatedGt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedGte ¶
func (qs UserPasshashQuerySet) CreatedGte(created time.Time) UserPasshashQuerySet
CreatedGte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedLt ¶
func (qs UserPasshashQuerySet) CreatedLt(created time.Time) UserPasshashQuerySet
CreatedLt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedLte ¶
func (qs UserPasshashQuerySet) CreatedLte(created time.Time) UserPasshashQuerySet
CreatedLte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) CreatedNe ¶
func (qs UserPasshashQuerySet) CreatedNe(created time.Time) UserPasshashQuerySet
CreatedNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) Delete ¶
func (qs UserPasshashQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeleteNum ¶
func (qs UserPasshashQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeleteNumUnscoped ¶
func (qs UserPasshashQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeprecatedEq ¶
func (qs UserPasshashQuerySet) DeprecatedEq(deprecated bool) UserPasshashQuerySet
DeprecatedEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeprecatedIn ¶
func (qs UserPasshashQuerySet) DeprecatedIn(deprecated ...bool) UserPasshashQuerySet
DeprecatedIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeprecatedNe ¶
func (qs UserPasshashQuerySet) DeprecatedNe(deprecated bool) UserPasshashQuerySet
DeprecatedNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) DeprecatedNotIn ¶
func (qs UserPasshashQuerySet) DeprecatedNotIn(deprecated ...bool) UserPasshashQuerySet
DeprecatedNotIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) GetDB ¶
func (qs UserPasshashQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) GetUpdater ¶
func (qs UserPasshashQuerySet) GetUpdater() UserPasshashUpdater
GetUpdater is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDEq ¶
func (qs UserPasshashQuerySet) IDEq(ID int64) UserPasshashQuerySet
IDEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDGt ¶
func (qs UserPasshashQuerySet) IDGt(ID int64) UserPasshashQuerySet
IDGt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDGte ¶
func (qs UserPasshashQuerySet) IDGte(ID int64) UserPasshashQuerySet
IDGte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDIn ¶
func (qs UserPasshashQuerySet) IDIn(ID ...int64) UserPasshashQuerySet
IDIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDLt ¶
func (qs UserPasshashQuerySet) IDLt(ID int64) UserPasshashQuerySet
IDLt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDLte ¶
func (qs UserPasshashQuerySet) IDLte(ID int64) UserPasshashQuerySet
IDLte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDNe ¶
func (qs UserPasshashQuerySet) IDNe(ID int64) UserPasshashQuerySet
IDNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) IDNotIn ¶
func (qs UserPasshashQuerySet) IDNotIn(ID ...int64) UserPasshashQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) Limit ¶
func (qs UserPasshashQuerySet) Limit(limit int) UserPasshashQuerySet
Limit is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) Offset ¶
func (qs UserPasshashQuerySet) Offset(offset int) UserPasshashQuerySet
Offset is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) One ¶
func (qs UserPasshashQuerySet) One(ret *UserPasshash) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (UserPasshashQuerySet) OrderAscByCreated ¶
func (qs UserPasshashQuerySet) OrderAscByCreated() UserPasshashQuerySet
OrderAscByCreated is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderAscByDeprecated ¶
func (qs UserPasshashQuerySet) OrderAscByDeprecated() UserPasshashQuerySet
OrderAscByDeprecated is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderAscByID ¶
func (qs UserPasshashQuerySet) OrderAscByID() UserPasshashQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderAscByPasshash ¶
func (qs UserPasshashQuerySet) OrderAscByPasshash() UserPasshashQuerySet
OrderAscByPasshash is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderAscByUserID ¶
func (qs UserPasshashQuerySet) OrderAscByUserID() UserPasshashQuerySet
OrderAscByUserID is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderAscByVer ¶
func (qs UserPasshashQuerySet) OrderAscByVer() UserPasshashQuerySet
OrderAscByVer is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByCreated ¶
func (qs UserPasshashQuerySet) OrderDescByCreated() UserPasshashQuerySet
OrderDescByCreated is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByDeprecated ¶
func (qs UserPasshashQuerySet) OrderDescByDeprecated() UserPasshashQuerySet
OrderDescByDeprecated is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByID ¶
func (qs UserPasshashQuerySet) OrderDescByID() UserPasshashQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByPasshash ¶
func (qs UserPasshashQuerySet) OrderDescByPasshash() UserPasshashQuerySet
OrderDescByPasshash is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByUserID ¶
func (qs UserPasshashQuerySet) OrderDescByUserID() UserPasshashQuerySet
OrderDescByUserID is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) OrderDescByVer ¶
func (qs UserPasshashQuerySet) OrderDescByVer() UserPasshashQuerySet
OrderDescByVer is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashEq ¶
func (qs UserPasshashQuerySet) PasshashEq(passhash string) UserPasshashQuerySet
PasshashEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashGt ¶
func (qs UserPasshashQuerySet) PasshashGt(passhash string) UserPasshashQuerySet
PasshashGt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashGte ¶
func (qs UserPasshashQuerySet) PasshashGte(passhash string) UserPasshashQuerySet
PasshashGte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashIn ¶
func (qs UserPasshashQuerySet) PasshashIn(passhash ...string) UserPasshashQuerySet
PasshashIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashLike ¶
func (qs UserPasshashQuerySet) PasshashLike(passhash string) UserPasshashQuerySet
PasshashLike is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashLt ¶
func (qs UserPasshashQuerySet) PasshashLt(passhash string) UserPasshashQuerySet
PasshashLt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashLte ¶
func (qs UserPasshashQuerySet) PasshashLte(passhash string) UserPasshashQuerySet
PasshashLte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashNe ¶
func (qs UserPasshashQuerySet) PasshashNe(passhash string) UserPasshashQuerySet
PasshashNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashNotIn ¶
func (qs UserPasshashQuerySet) PasshashNotIn(passhash ...string) UserPasshashQuerySet
PasshashNotIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PasshashNotlike ¶
func (qs UserPasshashQuerySet) PasshashNotlike(passhash string) UserPasshashQuerySet
PasshashNotlike is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) PreloadUser ¶
func (qs UserPasshashQuerySet) PreloadUser() UserPasshashQuerySet
PreloadUser is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) Select ¶
func (qs UserPasshashQuerySet) Select(fields ...UserPasshashDBSchemaField) UserPasshashQuerySet
func (UserPasshashQuerySet) UserIDEq ¶
func (qs UserPasshashQuerySet) UserIDEq(userID int64) UserPasshashQuerySet
UserIDEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDGt ¶
func (qs UserPasshashQuerySet) UserIDGt(userID int64) UserPasshashQuerySet
UserIDGt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDGte ¶
func (qs UserPasshashQuerySet) UserIDGte(userID int64) UserPasshashQuerySet
UserIDGte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDIn ¶
func (qs UserPasshashQuerySet) UserIDIn(userID ...int64) UserPasshashQuerySet
UserIDIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDLt ¶
func (qs UserPasshashQuerySet) UserIDLt(userID int64) UserPasshashQuerySet
UserIDLt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDLte ¶
func (qs UserPasshashQuerySet) UserIDLte(userID int64) UserPasshashQuerySet
UserIDLte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDNe ¶
func (qs UserPasshashQuerySet) UserIDNe(userID int64) UserPasshashQuerySet
UserIDNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIDNotIn ¶
func (qs UserPasshashQuerySet) UserIDNotIn(userID ...int64) UserPasshashQuerySet
UserIDNotIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIsNotNull ¶
func (qs UserPasshashQuerySet) UserIsNotNull() UserPasshashQuerySet
UserIsNotNull is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) UserIsNull ¶
func (qs UserPasshashQuerySet) UserIsNull() UserPasshashQuerySet
UserIsNull is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerEq ¶
func (qs UserPasshashQuerySet) VerEq(ver int) UserPasshashQuerySet
VerEq is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerGt ¶
func (qs UserPasshashQuerySet) VerGt(ver int) UserPasshashQuerySet
VerGt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerGte ¶
func (qs UserPasshashQuerySet) VerGte(ver int) UserPasshashQuerySet
VerGte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerIn ¶
func (qs UserPasshashQuerySet) VerIn(ver ...int) UserPasshashQuerySet
VerIn is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerLt ¶
func (qs UserPasshashQuerySet) VerLt(ver int) UserPasshashQuerySet
VerLt is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerLte ¶
func (qs UserPasshashQuerySet) VerLte(ver int) UserPasshashQuerySet
VerLte is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerNe ¶
func (qs UserPasshashQuerySet) VerNe(ver int) UserPasshashQuerySet
VerNe is an autogenerated method nolint: dupl
func (UserPasshashQuerySet) VerNotIn ¶
func (qs UserPasshashQuerySet) VerNotIn(ver ...int) UserPasshashQuerySet
VerNotIn is an autogenerated method nolint: dupl
type UserPasshashUpdater ¶
type UserPasshashUpdater struct {
// contains filtered or unexported fields
}
UserPasshashUpdater is an UserPasshash updates manager
func NewUserPasshashUpdater ¶
func NewUserPasshashUpdater(db *gorm.DB) UserPasshashUpdater
NewUserPasshashUpdater creates new UserPasshash updater nolint: dupl
func (UserPasshashUpdater) SetCreated ¶
func (u UserPasshashUpdater) SetCreated(created time.Time) UserPasshashUpdater
SetCreated is an autogenerated method nolint: dupl
func (UserPasshashUpdater) SetDeprecated ¶
func (u UserPasshashUpdater) SetDeprecated(deprecated bool) UserPasshashUpdater
SetDeprecated is an autogenerated method nolint: dupl
func (UserPasshashUpdater) SetID ¶
func (u UserPasshashUpdater) SetID(ID int64) UserPasshashUpdater
SetID is an autogenerated method nolint: dupl
func (UserPasshashUpdater) SetPasshash ¶
func (u UserPasshashUpdater) SetPasshash(passhash string) UserPasshashUpdater
SetPasshash is an autogenerated method nolint: dupl
func (UserPasshashUpdater) SetUserID ¶
func (u UserPasshashUpdater) SetUserID(userID int64) UserPasshashUpdater
SetUserID is an autogenerated method nolint: dupl
func (UserPasshashUpdater) SetVer ¶
func (u UserPasshashUpdater) SetVer(ver int) UserPasshashUpdater
SetVer is an autogenerated method nolint: dupl
func (UserPasshashUpdater) Update ¶
func (u UserPasshashUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (UserPasshashUpdater) UpdateNum ¶
func (u UserPasshashUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl
type UserQuerySet ¶
type UserQuerySet struct {
// contains filtered or unexported fields
}
UserQuerySet is an queryset type for User
func NewUserQuerySet ¶
func NewUserQuerySet(db *gorm.DB) UserQuerySet
NewUserQuerySet constructs new UserQuerySet
func (UserQuerySet) ActiveEq ¶
func (qs UserQuerySet) ActiveEq(active bool) UserQuerySet
ActiveEq is an autogenerated method nolint: dupl
func (UserQuerySet) ActiveIn ¶
func (qs UserQuerySet) ActiveIn(active ...bool) UserQuerySet
ActiveIn is an autogenerated method nolint: dupl
func (UserQuerySet) ActiveNe ¶
func (qs UserQuerySet) ActiveNe(active bool) UserQuerySet
ActiveNe is an autogenerated method nolint: dupl
func (UserQuerySet) ActiveNotIn ¶
func (qs UserQuerySet) ActiveNotIn(active ...bool) UserQuerySet
ActiveNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) AddressEq ¶
func (qs UserQuerySet) AddressEq(address string) UserQuerySet
AddressEq is an autogenerated method nolint: dupl
func (UserQuerySet) AddressGt ¶
func (qs UserQuerySet) AddressGt(address string) UserQuerySet
AddressGt is an autogenerated method nolint: dupl
func (UserQuerySet) AddressGte ¶
func (qs UserQuerySet) AddressGte(address string) UserQuerySet
AddressGte is an autogenerated method nolint: dupl
func (UserQuerySet) AddressIn ¶
func (qs UserQuerySet) AddressIn(address ...string) UserQuerySet
AddressIn is an autogenerated method nolint: dupl
func (UserQuerySet) AddressLike ¶
func (qs UserQuerySet) AddressLike(address string) UserQuerySet
AddressLike is an autogenerated method nolint: dupl
func (UserQuerySet) AddressLt ¶
func (qs UserQuerySet) AddressLt(address string) UserQuerySet
AddressLt is an autogenerated method nolint: dupl
func (UserQuerySet) AddressLte ¶
func (qs UserQuerySet) AddressLte(address string) UserQuerySet
AddressLte is an autogenerated method nolint: dupl
func (UserQuerySet) AddressNe ¶
func (qs UserQuerySet) AddressNe(address string) UserQuerySet
AddressNe is an autogenerated method nolint: dupl
func (UserQuerySet) AddressNotIn ¶
func (qs UserQuerySet) AddressNotIn(address ...string) UserQuerySet
AddressNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) AddressNotlike ¶
func (qs UserQuerySet) AddressNotlike(address string) UserQuerySet
AddressNotlike is an autogenerated method nolint: dupl
func (UserQuerySet) All ¶
func (qs UserQuerySet) All(ret *[]User) error
All is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarEq ¶
func (qs UserQuerySet) AvatarEq(avatar string) UserQuerySet
AvatarEq is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarGt ¶
func (qs UserQuerySet) AvatarGt(avatar string) UserQuerySet
AvatarGt is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarGte ¶
func (qs UserQuerySet) AvatarGte(avatar string) UserQuerySet
AvatarGte is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarIn ¶
func (qs UserQuerySet) AvatarIn(avatar ...string) UserQuerySet
AvatarIn is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarLike ¶
func (qs UserQuerySet) AvatarLike(avatar string) UserQuerySet
AvatarLike is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarLt ¶
func (qs UserQuerySet) AvatarLt(avatar string) UserQuerySet
AvatarLt is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarLte ¶
func (qs UserQuerySet) AvatarLte(avatar string) UserQuerySet
AvatarLte is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarNe ¶
func (qs UserQuerySet) AvatarNe(avatar string) UserQuerySet
AvatarNe is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarNotIn ¶
func (qs UserQuerySet) AvatarNotIn(avatar ...string) UserQuerySet
AvatarNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) AvatarNotlike ¶
func (qs UserQuerySet) AvatarNotlike(avatar string) UserQuerySet
AvatarNotlike is an autogenerated method nolint: dupl
func (UserQuerySet) Count ¶
func (qs UserQuerySet) Count() (int, error)
Count is an autogenerated method nolint: dupl
func (UserQuerySet) Delete ¶
func (qs UserQuerySet) Delete() error
Delete is an autogenerated method nolint: dupl
func (UserQuerySet) DeleteNum ¶
func (qs UserQuerySet) DeleteNum() (int64, error)
DeleteNum is an autogenerated method nolint: dupl
func (UserQuerySet) DeleteNumUnscoped ¶
func (qs UserQuerySet) DeleteNumUnscoped() (int64, error)
DeleteNumUnscoped is an autogenerated method nolint: dupl
func (UserQuerySet) EmailEq ¶
func (qs UserQuerySet) EmailEq(email string) UserQuerySet
EmailEq is an autogenerated method nolint: dupl
func (UserQuerySet) EmailGt ¶
func (qs UserQuerySet) EmailGt(email string) UserQuerySet
EmailGt is an autogenerated method nolint: dupl
func (UserQuerySet) EmailGte ¶
func (qs UserQuerySet) EmailGte(email string) UserQuerySet
EmailGte is an autogenerated method nolint: dupl
func (UserQuerySet) EmailIn ¶
func (qs UserQuerySet) EmailIn(email ...string) UserQuerySet
EmailIn is an autogenerated method nolint: dupl
func (UserQuerySet) EmailLike ¶
func (qs UserQuerySet) EmailLike(email string) UserQuerySet
EmailLike is an autogenerated method nolint: dupl
func (UserQuerySet) EmailLt ¶
func (qs UserQuerySet) EmailLt(email string) UserQuerySet
EmailLt is an autogenerated method nolint: dupl
func (UserQuerySet) EmailLte ¶
func (qs UserQuerySet) EmailLte(email string) UserQuerySet
EmailLte is an autogenerated method nolint: dupl
func (UserQuerySet) EmailNe ¶
func (qs UserQuerySet) EmailNe(email string) UserQuerySet
EmailNe is an autogenerated method nolint: dupl
func (UserQuerySet) EmailNotIn ¶
func (qs UserQuerySet) EmailNotIn(email ...string) UserQuerySet
EmailNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) EmailNotlike ¶
func (qs UserQuerySet) EmailNotlike(email string) UserQuerySet
EmailNotlike is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameEq ¶
func (qs UserQuerySet) FullNameEq(fullName string) UserQuerySet
FullNameEq is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameGt ¶
func (qs UserQuerySet) FullNameGt(fullName string) UserQuerySet
FullNameGt is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameGte ¶
func (qs UserQuerySet) FullNameGte(fullName string) UserQuerySet
FullNameGte is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameIn ¶
func (qs UserQuerySet) FullNameIn(fullName ...string) UserQuerySet
FullNameIn is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameLike ¶
func (qs UserQuerySet) FullNameLike(fullName string) UserQuerySet
FullNameLike is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameLt ¶
func (qs UserQuerySet) FullNameLt(fullName string) UserQuerySet
FullNameLt is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameLte ¶
func (qs UserQuerySet) FullNameLte(fullName string) UserQuerySet
FullNameLte is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameNe ¶
func (qs UserQuerySet) FullNameNe(fullName string) UserQuerySet
FullNameNe is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameNotIn ¶
func (qs UserQuerySet) FullNameNotIn(fullName ...string) UserQuerySet
FullNameNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) FullNameNotlike ¶
func (qs UserQuerySet) FullNameNotlike(fullName string) UserQuerySet
FullNameNotlike is an autogenerated method nolint: dupl
func (UserQuerySet) GetDB ¶
func (qs UserQuerySet) GetDB() *gorm.DB
GetDB is an autogenerated method nolint: dupl
func (UserQuerySet) GetUpdater ¶
func (qs UserQuerySet) GetUpdater() UserUpdater
GetUpdater is an autogenerated method nolint: dupl
func (UserQuerySet) IDEq ¶
func (qs UserQuerySet) IDEq(ID int64) UserQuerySet
IDEq is an autogenerated method nolint: dupl
func (UserQuerySet) IDGt ¶
func (qs UserQuerySet) IDGt(ID int64) UserQuerySet
IDGt is an autogenerated method nolint: dupl
func (UserQuerySet) IDGte ¶
func (qs UserQuerySet) IDGte(ID int64) UserQuerySet
IDGte is an autogenerated method nolint: dupl
func (UserQuerySet) IDIn ¶
func (qs UserQuerySet) IDIn(ID ...int64) UserQuerySet
IDIn is an autogenerated method nolint: dupl
func (UserQuerySet) IDLt ¶
func (qs UserQuerySet) IDLt(ID int64) UserQuerySet
IDLt is an autogenerated method nolint: dupl
func (UserQuerySet) IDLte ¶
func (qs UserQuerySet) IDLte(ID int64) UserQuerySet
IDLte is an autogenerated method nolint: dupl
func (UserQuerySet) IDNe ¶
func (qs UserQuerySet) IDNe(ID int64) UserQuerySet
IDNe is an autogenerated method nolint: dupl
func (UserQuerySet) IDNotIn ¶
func (qs UserQuerySet) IDNotIn(ID ...int64) UserQuerySet
IDNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginEq ¶
func (qs UserQuerySet) LastLoginEq(lastLogin time.Time) UserQuerySet
LastLoginEq is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginGt ¶
func (qs UserQuerySet) LastLoginGt(lastLogin time.Time) UserQuerySet
LastLoginGt is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginGte ¶
func (qs UserQuerySet) LastLoginGte(lastLogin time.Time) UserQuerySet
LastLoginGte is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginIsNotNull ¶
func (qs UserQuerySet) LastLoginIsNotNull() UserQuerySet
LastLoginIsNotNull is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginIsNull ¶
func (qs UserQuerySet) LastLoginIsNull() UserQuerySet
LastLoginIsNull is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginLt ¶
func (qs UserQuerySet) LastLoginLt(lastLogin time.Time) UserQuerySet
LastLoginLt is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginLte ¶
func (qs UserQuerySet) LastLoginLte(lastLogin time.Time) UserQuerySet
LastLoginLte is an autogenerated method nolint: dupl
func (UserQuerySet) LastLoginNe ¶
func (qs UserQuerySet) LastLoginNe(lastLogin time.Time) UserQuerySet
LastLoginNe is an autogenerated method nolint: dupl
func (UserQuerySet) Limit ¶
func (qs UserQuerySet) Limit(limit int) UserQuerySet
Limit is an autogenerated method nolint: dupl
func (UserQuerySet) Offset ¶
func (qs UserQuerySet) Offset(offset int) UserQuerySet
Offset is an autogenerated method nolint: dupl
func (UserQuerySet) One ¶
func (qs UserQuerySet) One(ret *User) error
One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched
func (UserQuerySet) OrderAscByActive ¶
func (qs UserQuerySet) OrderAscByActive() UserQuerySet
OrderAscByActive is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByAddress ¶
func (qs UserQuerySet) OrderAscByAddress() UserQuerySet
OrderAscByAddress is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByAvatar ¶
func (qs UserQuerySet) OrderAscByAvatar() UserQuerySet
OrderAscByAvatar is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByEmail ¶
func (qs UserQuerySet) OrderAscByEmail() UserQuerySet
OrderAscByEmail is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByFullName ¶
func (qs UserQuerySet) OrderAscByFullName() UserQuerySet
OrderAscByFullName is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByID ¶
func (qs UserQuerySet) OrderAscByID() UserQuerySet
OrderAscByID is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByLastLogin ¶
func (qs UserQuerySet) OrderAscByLastLogin() UserQuerySet
OrderAscByLastLogin is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByPhoneNum ¶
func (qs UserQuerySet) OrderAscByPhoneNum() UserQuerySet
OrderAscByPhoneNum is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByRegisteredAt ¶
func (qs UserQuerySet) OrderAscByRegisteredAt() UserQuerySet
OrderAscByRegisteredAt is an autogenerated method nolint: dupl
func (UserQuerySet) OrderAscByType ¶
func (qs UserQuerySet) OrderAscByType() UserQuerySet
OrderAscByType is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByActive ¶
func (qs UserQuerySet) OrderDescByActive() UserQuerySet
OrderDescByActive is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByAddress ¶
func (qs UserQuerySet) OrderDescByAddress() UserQuerySet
OrderDescByAddress is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByAvatar ¶
func (qs UserQuerySet) OrderDescByAvatar() UserQuerySet
OrderDescByAvatar is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByEmail ¶
func (qs UserQuerySet) OrderDescByEmail() UserQuerySet
OrderDescByEmail is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByFullName ¶
func (qs UserQuerySet) OrderDescByFullName() UserQuerySet
OrderDescByFullName is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByID ¶
func (qs UserQuerySet) OrderDescByID() UserQuerySet
OrderDescByID is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByLastLogin ¶
func (qs UserQuerySet) OrderDescByLastLogin() UserQuerySet
OrderDescByLastLogin is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByPhoneNum ¶
func (qs UserQuerySet) OrderDescByPhoneNum() UserQuerySet
OrderDescByPhoneNum is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByRegisteredAt ¶
func (qs UserQuerySet) OrderDescByRegisteredAt() UserQuerySet
OrderDescByRegisteredAt is an autogenerated method nolint: dupl
func (UserQuerySet) OrderDescByType ¶
func (qs UserQuerySet) OrderDescByType() UserQuerySet
OrderDescByType is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumEq ¶
func (qs UserQuerySet) PhoneNumEq(phoneNum string) UserQuerySet
PhoneNumEq is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumGt ¶
func (qs UserQuerySet) PhoneNumGt(phoneNum string) UserQuerySet
PhoneNumGt is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumGte ¶
func (qs UserQuerySet) PhoneNumGte(phoneNum string) UserQuerySet
PhoneNumGte is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumIn ¶
func (qs UserQuerySet) PhoneNumIn(phoneNum ...string) UserQuerySet
PhoneNumIn is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumLike ¶
func (qs UserQuerySet) PhoneNumLike(phoneNum string) UserQuerySet
PhoneNumLike is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumLt ¶
func (qs UserQuerySet) PhoneNumLt(phoneNum string) UserQuerySet
PhoneNumLt is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumLte ¶
func (qs UserQuerySet) PhoneNumLte(phoneNum string) UserQuerySet
PhoneNumLte is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumNe ¶
func (qs UserQuerySet) PhoneNumNe(phoneNum string) UserQuerySet
PhoneNumNe is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumNotIn ¶
func (qs UserQuerySet) PhoneNumNotIn(phoneNum ...string) UserQuerySet
PhoneNumNotIn is an autogenerated method nolint: dupl
func (UserQuerySet) PhoneNumNotlike ¶
func (qs UserQuerySet) PhoneNumNotlike(phoneNum string) UserQuerySet
PhoneNumNotlike is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtEq ¶
func (qs UserQuerySet) RegisteredAtEq(registeredAt time.Time) UserQuerySet
RegisteredAtEq is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtGt ¶
func (qs UserQuerySet) RegisteredAtGt(registeredAt time.Time) UserQuerySet
RegisteredAtGt is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtGte ¶
func (qs UserQuerySet) RegisteredAtGte(registeredAt time.Time) UserQuerySet
RegisteredAtGte is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtLt ¶
func (qs UserQuerySet) RegisteredAtLt(registeredAt time.Time) UserQuerySet
RegisteredAtLt is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtLte ¶
func (qs UserQuerySet) RegisteredAtLte(registeredAt time.Time) UserQuerySet
RegisteredAtLte is an autogenerated method nolint: dupl
func (UserQuerySet) RegisteredAtNe ¶
func (qs UserQuerySet) RegisteredAtNe(registeredAt time.Time) UserQuerySet
RegisteredAtNe is an autogenerated method nolint: dupl
func (UserQuerySet) Select ¶
func (qs UserQuerySet) Select(fields ...UserDBSchemaField) UserQuerySet
func (UserQuerySet) TypeEq ¶
func (qs UserQuerySet) TypeEq(typeValue int) UserQuerySet
TypeEq is an autogenerated method nolint: dupl
func (UserQuerySet) TypeGt ¶
func (qs UserQuerySet) TypeGt(typeValue int) UserQuerySet
TypeGt is an autogenerated method nolint: dupl
func (UserQuerySet) TypeGte ¶
func (qs UserQuerySet) TypeGte(typeValue int) UserQuerySet
TypeGte is an autogenerated method nolint: dupl
func (UserQuerySet) TypeIn ¶
func (qs UserQuerySet) TypeIn(typeValue ...int) UserQuerySet
TypeIn is an autogenerated method nolint: dupl
func (UserQuerySet) TypeLt ¶
func (qs UserQuerySet) TypeLt(typeValue int) UserQuerySet
TypeLt is an autogenerated method nolint: dupl
func (UserQuerySet) TypeLte ¶
func (qs UserQuerySet) TypeLte(typeValue int) UserQuerySet
TypeLte is an autogenerated method nolint: dupl
func (UserQuerySet) TypeNe ¶
func (qs UserQuerySet) TypeNe(typeValue int) UserQuerySet
TypeNe is an autogenerated method nolint: dupl
func (UserQuerySet) TypeNotIn ¶
func (qs UserQuerySet) TypeNotIn(typeValue ...int) UserQuerySet
TypeNotIn is an autogenerated method nolint: dupl
type UserSimple ¶
type UserSimple struct { ID int64 `json:"id"` FullName string `json:"full_name"` Avatar string `json:"avatar"` Address string `json:"address"` }
UserSimple ...
type UserUpdater ¶
type UserUpdater struct {
// contains filtered or unexported fields
}
UserUpdater is an User updates manager
func NewUserUpdater ¶
func NewUserUpdater(db *gorm.DB) UserUpdater
NewUserUpdater creates new User updater nolint: dupl
func (UserUpdater) SetActive ¶
func (u UserUpdater) SetActive(active bool) UserUpdater
SetActive is an autogenerated method nolint: dupl
func (UserUpdater) SetAddress ¶
func (u UserUpdater) SetAddress(address string) UserUpdater
SetAddress is an autogenerated method nolint: dupl
func (UserUpdater) SetAvatar ¶
func (u UserUpdater) SetAvatar(avatar string) UserUpdater
SetAvatar is an autogenerated method nolint: dupl
func (UserUpdater) SetEmail ¶
func (u UserUpdater) SetEmail(email string) UserUpdater
SetEmail is an autogenerated method nolint: dupl
func (UserUpdater) SetFullName ¶
func (u UserUpdater) SetFullName(fullName string) UserUpdater
SetFullName is an autogenerated method nolint: dupl
func (UserUpdater) SetID ¶
func (u UserUpdater) SetID(ID int64) UserUpdater
SetID is an autogenerated method nolint: dupl
func (UserUpdater) SetLastLogin ¶
func (u UserUpdater) SetLastLogin(lastLogin *time.Time) UserUpdater
SetLastLogin is an autogenerated method nolint: dupl
func (UserUpdater) SetPhoneNum ¶
func (u UserUpdater) SetPhoneNum(phoneNum string) UserUpdater
SetPhoneNum is an autogenerated method nolint: dupl
func (UserUpdater) SetRegisteredAt ¶
func (u UserUpdater) SetRegisteredAt(registeredAt time.Time) UserUpdater
SetRegisteredAt is an autogenerated method nolint: dupl
func (UserUpdater) SetType ¶
func (u UserUpdater) SetType(typeValue int) UserUpdater
SetType is an autogenerated method nolint: dupl
func (UserUpdater) Update ¶
func (u UserUpdater) Update() error
Update is an autogenerated method nolint: dupl
func (UserUpdater) UpdateNum ¶
func (u UserUpdater) UpdateNum() (int64, error)
UpdateNum is an autogenerated method nolint: dupl