application

package
v0.0.0-...-0fbf3a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the application type in the database.
	Label = "application"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "application_id"
	// FieldBasicID holds the string denoting the basic_id field in the database.
	FieldBasicID = "basic_id"
	// FieldPremiumID holds the string denoting the premium_id field in the database.
	FieldPremiumID = "premium_id"
	// FieldBotDisplayName holds the string denoting the bot_display_name field in the database.
	FieldBotDisplayName = "bot_display_name"
	// FieldBotMid holds the string denoting the bot_mid field in the database.
	FieldBotMid = "bot_mid"
	// FieldBotActiveStatus holds the string denoting the bot_active_status field in the database.
	FieldBotActiveStatus = "bot_active_status"
	// FieldBotSuspendReason holds the string denoting the bot_suspend_reason field in the database.
	FieldBotSuspendReason = "bot_suspend_reason"
	// FieldApplicantName holds the string denoting the applicant_name field in the database.
	FieldApplicantName = "applicant_name"
	// FieldApplicantBizID holds the string denoting the applicant_biz_id field in the database.
	FieldApplicantBizID = "applicant_biz_id"
	// FieldApplicantMid holds the string denoting the applicant_mid field in the database.
	FieldApplicantMid = "applicant_mid"
	// FieldApplicantEmail holds the string denoting the applicant_email field in the database.
	FieldApplicantEmail = "applicant_email"
	// FieldRemark holds the string denoting the remark field in the database.
	FieldRemark = "remark"
	// FieldStoreType holds the string denoting the store_type field in the database.
	FieldStoreType = "store_type"
	// FieldWebsiteURL holds the string denoting the website_url field in the database.
	FieldWebsiteURL = "website_url"
	// FieldApplicationStatus holds the string denoting the application_status field in the database.
	FieldApplicationStatus = "application_status"
	// FieldReviewComment holds the string denoting the review_comment field in the database.
	FieldReviewComment = "review_comment"
	// FieldAssigner holds the string denoting the assigner field in the database.
	FieldAssigner = "assigner"
	// FieldAssignee holds the string denoting the assignee field in the database.
	FieldAssignee = "assignee"
	// FieldCreatedDtime holds the string denoting the created_dtime field in the database.
	FieldCreatedDtime = "created_dtime"
	// FieldUpdatedDtime holds the string denoting the updated_dtime field in the database.
	FieldUpdatedDtime = "updated_dtime"
	// EdgeTickets holds the string denoting the tickets edge name in mutations.
	EdgeTickets = "tickets"
	// EdgeAssignmentHistories holds the string denoting the assignment_histories edge name in mutations.
	EdgeAssignmentHistories = "assignment_histories"
	// EdgeStatusHistories holds the string denoting the status_histories edge name in mutations.
	EdgeStatusHistories = "status_histories"
	// EdgeAttachments holds the string denoting the attachments edge name in mutations.
	EdgeAttachments = "attachments"
	// TicketFieldID holds the string denoting the ID field of the Ticket.
	TicketFieldID = "ticket_id"
	// ApplicationAssignmentHistoryFieldID holds the string denoting the ID field of the ApplicationAssignmentHistory.
	ApplicationAssignmentHistoryFieldID = "id"
	// ApplicationStatusHistoryFieldID holds the string denoting the ID field of the ApplicationStatusHistory.
	ApplicationStatusHistoryFieldID = "id"
	// AttachmentFieldID holds the string denoting the ID field of the Attachment.
	AttachmentFieldID = "id"
	// Table holds the table name of the application in the database.
	Table = "applications"
	// TicketsTable is the table that holds the tickets relation/edge.
	TicketsTable = "tickets"
	// TicketsInverseTable is the table name for the Ticket entity.
	// It exists in this package in order to avoid circular dependency with the "ticket" package.
	TicketsInverseTable = "tickets"
	// TicketsColumn is the table column denoting the tickets relation/edge.
	TicketsColumn = "application_id"
	// AssignmentHistoriesTable is the table that holds the assignment_histories relation/edge.
	AssignmentHistoriesTable = "application_assignment_histories"
	// AssignmentHistoriesInverseTable is the table name for the ApplicationAssignmentHistory entity.
	// It exists in this package in order to avoid circular dependency with the "applicationassignmenthistory" package.
	AssignmentHistoriesInverseTable = "application_assignment_histories"
	// AssignmentHistoriesColumn is the table column denoting the assignment_histories relation/edge.
	AssignmentHistoriesColumn = "application_id"
	// StatusHistoriesTable is the table that holds the status_histories relation/edge.
	StatusHistoriesTable = "application_status_histories"
	// StatusHistoriesInverseTable is the table name for the ApplicationStatusHistory entity.
	// It exists in this package in order to avoid circular dependency with the "applicationstatushistory" package.
	StatusHistoriesInverseTable = "application_status_histories"
	// StatusHistoriesColumn is the table column denoting the status_histories relation/edge.
	StatusHistoriesColumn = "application_id"
	// AttachmentsTable is the table that holds the attachments relation/edge.
	AttachmentsTable = "attachments"
	// AttachmentsInverseTable is the table name for the Attachment entity.
	// It exists in this package in order to avoid circular dependency with the "attachment" package.
	AttachmentsInverseTable = "attachments"
	// AttachmentsColumn is the table column denoting the attachments relation/edge.
	AttachmentsColumn = "application_id"
)

Variables

View Source
var (
	// BasicIDValidator is a validator for the "basic_id" field. It is called by the builders before save.
	BasicIDValidator func(string) error
	// PremiumIDValidator is a validator for the "premium_id" field. It is called by the builders before save.
	PremiumIDValidator func(string) error
	// BotDisplayNameValidator is a validator for the "bot_display_name" field. It is called by the builders before save.
	BotDisplayNameValidator func(string) error
	// BotMidValidator is a validator for the "bot_mid" field. It is called by the builders before save.
	BotMidValidator func(string) error
	// ApplicantNameValidator is a validator for the "applicant_name" field. It is called by the builders before save.
	ApplicantNameValidator func(string) error
	// ApplicantBizIDValidator is a validator for the "applicant_biz_id" field. It is called by the builders before save.
	ApplicantBizIDValidator func(string) error
	// ApplicantMidValidator is a validator for the "applicant_mid" field. It is called by the builders before save.
	ApplicantMidValidator func(string) error
	// ApplicantEmailValidator is a validator for the "applicant_email" field. It is called by the builders before save.
	ApplicantEmailValidator func(string) error
	// RemarkValidator is a validator for the "remark" field. It is called by the builders before save.
	RemarkValidator func(string) error
	// AssignerValidator is a validator for the "assigner" field. It is called by the builders before save.
	AssignerValidator func(string) error
	// AssigneeValidator is a validator for the "assignee" field. It is called by the builders before save.
	AssigneeValidator func(string) error
	// DefaultCreatedDtime holds the default value on creation for the "created_dtime" field.
	DefaultCreatedDtime func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for application fields.

Functions

func And

func And(predicates ...predicate.Application) predicate.Application

And groups predicates with the AND operator between them.

func ApplicantBizID

func ApplicantBizID(v string) predicate.Application

ApplicantBizID applies equality check predicate on the "applicant_biz_id" field. It's identical to ApplicantBizIDEQ.

func ApplicantBizIDContains

func ApplicantBizIDContains(v string) predicate.Application

ApplicantBizIDContains applies the Contains predicate on the "applicant_biz_id" field.

func ApplicantBizIDContainsFold

func ApplicantBizIDContainsFold(v string) predicate.Application

ApplicantBizIDContainsFold applies the ContainsFold predicate on the "applicant_biz_id" field.

func ApplicantBizIDEQ

func ApplicantBizIDEQ(v string) predicate.Application

ApplicantBizIDEQ applies the EQ predicate on the "applicant_biz_id" field.

func ApplicantBizIDEqualFold

func ApplicantBizIDEqualFold(v string) predicate.Application

ApplicantBizIDEqualFold applies the EqualFold predicate on the "applicant_biz_id" field.

func ApplicantBizIDGT

func ApplicantBizIDGT(v string) predicate.Application

ApplicantBizIDGT applies the GT predicate on the "applicant_biz_id" field.

func ApplicantBizIDGTE

func ApplicantBizIDGTE(v string) predicate.Application

ApplicantBizIDGTE applies the GTE predicate on the "applicant_biz_id" field.

func ApplicantBizIDHasPrefix

func ApplicantBizIDHasPrefix(v string) predicate.Application

ApplicantBizIDHasPrefix applies the HasPrefix predicate on the "applicant_biz_id" field.

func ApplicantBizIDHasSuffix

func ApplicantBizIDHasSuffix(v string) predicate.Application

ApplicantBizIDHasSuffix applies the HasSuffix predicate on the "applicant_biz_id" field.

func ApplicantBizIDIn

func ApplicantBizIDIn(vs ...string) predicate.Application

ApplicantBizIDIn applies the In predicate on the "applicant_biz_id" field.

func ApplicantBizIDLT

func ApplicantBizIDLT(v string) predicate.Application

ApplicantBizIDLT applies the LT predicate on the "applicant_biz_id" field.

func ApplicantBizIDLTE

func ApplicantBizIDLTE(v string) predicate.Application

ApplicantBizIDLTE applies the LTE predicate on the "applicant_biz_id" field.

func ApplicantBizIDNEQ

func ApplicantBizIDNEQ(v string) predicate.Application

ApplicantBizIDNEQ applies the NEQ predicate on the "applicant_biz_id" field.

func ApplicantBizIDNotIn

func ApplicantBizIDNotIn(vs ...string) predicate.Application

ApplicantBizIDNotIn applies the NotIn predicate on the "applicant_biz_id" field.

func ApplicantEmail

func ApplicantEmail(v string) predicate.Application

ApplicantEmail applies equality check predicate on the "applicant_email" field. It's identical to ApplicantEmailEQ.

func ApplicantEmailContains

func ApplicantEmailContains(v string) predicate.Application

ApplicantEmailContains applies the Contains predicate on the "applicant_email" field.

func ApplicantEmailContainsFold

func ApplicantEmailContainsFold(v string) predicate.Application

ApplicantEmailContainsFold applies the ContainsFold predicate on the "applicant_email" field.

func ApplicantEmailEQ

func ApplicantEmailEQ(v string) predicate.Application

ApplicantEmailEQ applies the EQ predicate on the "applicant_email" field.

func ApplicantEmailEqualFold

func ApplicantEmailEqualFold(v string) predicate.Application

ApplicantEmailEqualFold applies the EqualFold predicate on the "applicant_email" field.

func ApplicantEmailGT

func ApplicantEmailGT(v string) predicate.Application

ApplicantEmailGT applies the GT predicate on the "applicant_email" field.

func ApplicantEmailGTE

func ApplicantEmailGTE(v string) predicate.Application

ApplicantEmailGTE applies the GTE predicate on the "applicant_email" field.

func ApplicantEmailHasPrefix

func ApplicantEmailHasPrefix(v string) predicate.Application

ApplicantEmailHasPrefix applies the HasPrefix predicate on the "applicant_email" field.

func ApplicantEmailHasSuffix

func ApplicantEmailHasSuffix(v string) predicate.Application

ApplicantEmailHasSuffix applies the HasSuffix predicate on the "applicant_email" field.

func ApplicantEmailIn

func ApplicantEmailIn(vs ...string) predicate.Application

ApplicantEmailIn applies the In predicate on the "applicant_email" field.

func ApplicantEmailLT

func ApplicantEmailLT(v string) predicate.Application

ApplicantEmailLT applies the LT predicate on the "applicant_email" field.

func ApplicantEmailLTE

func ApplicantEmailLTE(v string) predicate.Application

ApplicantEmailLTE applies the LTE predicate on the "applicant_email" field.

func ApplicantEmailNEQ

func ApplicantEmailNEQ(v string) predicate.Application

ApplicantEmailNEQ applies the NEQ predicate on the "applicant_email" field.

func ApplicantEmailNotIn

func ApplicantEmailNotIn(vs ...string) predicate.Application

ApplicantEmailNotIn applies the NotIn predicate on the "applicant_email" field.

func ApplicantMid

func ApplicantMid(v string) predicate.Application

ApplicantMid applies equality check predicate on the "applicant_mid" field. It's identical to ApplicantMidEQ.

func ApplicantMidContains

func ApplicantMidContains(v string) predicate.Application

ApplicantMidContains applies the Contains predicate on the "applicant_mid" field.

func ApplicantMidContainsFold

func ApplicantMidContainsFold(v string) predicate.Application

ApplicantMidContainsFold applies the ContainsFold predicate on the "applicant_mid" field.

func ApplicantMidEQ

func ApplicantMidEQ(v string) predicate.Application

ApplicantMidEQ applies the EQ predicate on the "applicant_mid" field.

func ApplicantMidEqualFold

func ApplicantMidEqualFold(v string) predicate.Application

ApplicantMidEqualFold applies the EqualFold predicate on the "applicant_mid" field.

func ApplicantMidGT

func ApplicantMidGT(v string) predicate.Application

ApplicantMidGT applies the GT predicate on the "applicant_mid" field.

func ApplicantMidGTE

func ApplicantMidGTE(v string) predicate.Application

ApplicantMidGTE applies the GTE predicate on the "applicant_mid" field.

func ApplicantMidHasPrefix

func ApplicantMidHasPrefix(v string) predicate.Application

ApplicantMidHasPrefix applies the HasPrefix predicate on the "applicant_mid" field.

func ApplicantMidHasSuffix

func ApplicantMidHasSuffix(v string) predicate.Application

ApplicantMidHasSuffix applies the HasSuffix predicate on the "applicant_mid" field.

func ApplicantMidIn

func ApplicantMidIn(vs ...string) predicate.Application

ApplicantMidIn applies the In predicate on the "applicant_mid" field.

func ApplicantMidLT

func ApplicantMidLT(v string) predicate.Application

ApplicantMidLT applies the LT predicate on the "applicant_mid" field.

func ApplicantMidLTE

func ApplicantMidLTE(v string) predicate.Application

ApplicantMidLTE applies the LTE predicate on the "applicant_mid" field.

func ApplicantMidNEQ

func ApplicantMidNEQ(v string) predicate.Application

ApplicantMidNEQ applies the NEQ predicate on the "applicant_mid" field.

func ApplicantMidNotIn

func ApplicantMidNotIn(vs ...string) predicate.Application

ApplicantMidNotIn applies the NotIn predicate on the "applicant_mid" field.

func ApplicantName

func ApplicantName(v string) predicate.Application

ApplicantName applies equality check predicate on the "applicant_name" field. It's identical to ApplicantNameEQ.

func ApplicantNameContains

func ApplicantNameContains(v string) predicate.Application

ApplicantNameContains applies the Contains predicate on the "applicant_name" field.

func ApplicantNameContainsFold

func ApplicantNameContainsFold(v string) predicate.Application

ApplicantNameContainsFold applies the ContainsFold predicate on the "applicant_name" field.

func ApplicantNameEQ

func ApplicantNameEQ(v string) predicate.Application

ApplicantNameEQ applies the EQ predicate on the "applicant_name" field.

func ApplicantNameEqualFold

func ApplicantNameEqualFold(v string) predicate.Application

ApplicantNameEqualFold applies the EqualFold predicate on the "applicant_name" field.

func ApplicantNameGT

func ApplicantNameGT(v string) predicate.Application

ApplicantNameGT applies the GT predicate on the "applicant_name" field.

func ApplicantNameGTE

func ApplicantNameGTE(v string) predicate.Application

ApplicantNameGTE applies the GTE predicate on the "applicant_name" field.

func ApplicantNameHasPrefix

func ApplicantNameHasPrefix(v string) predicate.Application

ApplicantNameHasPrefix applies the HasPrefix predicate on the "applicant_name" field.

func ApplicantNameHasSuffix

func ApplicantNameHasSuffix(v string) predicate.Application

ApplicantNameHasSuffix applies the HasSuffix predicate on the "applicant_name" field.

func ApplicantNameIn

func ApplicantNameIn(vs ...string) predicate.Application

ApplicantNameIn applies the In predicate on the "applicant_name" field.

func ApplicantNameLT

func ApplicantNameLT(v string) predicate.Application

ApplicantNameLT applies the LT predicate on the "applicant_name" field.

func ApplicantNameLTE

func ApplicantNameLTE(v string) predicate.Application

ApplicantNameLTE applies the LTE predicate on the "applicant_name" field.

func ApplicantNameNEQ

func ApplicantNameNEQ(v string) predicate.Application

ApplicantNameNEQ applies the NEQ predicate on the "applicant_name" field.

func ApplicantNameNotIn

func ApplicantNameNotIn(vs ...string) predicate.Application

ApplicantNameNotIn applies the NotIn predicate on the "applicant_name" field.

func ApplicationStatusEQ

func ApplicationStatusEQ(v ApplicationStatus) predicate.Application

ApplicationStatusEQ applies the EQ predicate on the "application_status" field.

func ApplicationStatusIn

func ApplicationStatusIn(vs ...ApplicationStatus) predicate.Application

ApplicationStatusIn applies the In predicate on the "application_status" field.

func ApplicationStatusNEQ

func ApplicationStatusNEQ(v ApplicationStatus) predicate.Application

ApplicationStatusNEQ applies the NEQ predicate on the "application_status" field.

func ApplicationStatusNotIn

func ApplicationStatusNotIn(vs ...ApplicationStatus) predicate.Application

ApplicationStatusNotIn applies the NotIn predicate on the "application_status" field.

func ApplicationStatusValidator

func ApplicationStatusValidator(as ApplicationStatus) error

ApplicationStatusValidator is a validator for the "application_status" field enum values. It is called by the builders before save.

func Assignee

func Assignee(v string) predicate.Application

Assignee applies equality check predicate on the "assignee" field. It's identical to AssigneeEQ.

func AssigneeContains

func AssigneeContains(v string) predicate.Application

AssigneeContains applies the Contains predicate on the "assignee" field.

func AssigneeContainsFold

func AssigneeContainsFold(v string) predicate.Application

AssigneeContainsFold applies the ContainsFold predicate on the "assignee" field.

func AssigneeEQ

func AssigneeEQ(v string) predicate.Application

AssigneeEQ applies the EQ predicate on the "assignee" field.

func AssigneeEqualFold

func AssigneeEqualFold(v string) predicate.Application

AssigneeEqualFold applies the EqualFold predicate on the "assignee" field.

func AssigneeGT

func AssigneeGT(v string) predicate.Application

AssigneeGT applies the GT predicate on the "assignee" field.

func AssigneeGTE

func AssigneeGTE(v string) predicate.Application

AssigneeGTE applies the GTE predicate on the "assignee" field.

func AssigneeHasPrefix

func AssigneeHasPrefix(v string) predicate.Application

AssigneeHasPrefix applies the HasPrefix predicate on the "assignee" field.

func AssigneeHasSuffix

func AssigneeHasSuffix(v string) predicate.Application

AssigneeHasSuffix applies the HasSuffix predicate on the "assignee" field.

func AssigneeIn

func AssigneeIn(vs ...string) predicate.Application

AssigneeIn applies the In predicate on the "assignee" field.

func AssigneeLT

func AssigneeLT(v string) predicate.Application

AssigneeLT applies the LT predicate on the "assignee" field.

func AssigneeLTE

func AssigneeLTE(v string) predicate.Application

AssigneeLTE applies the LTE predicate on the "assignee" field.

func AssigneeNEQ

func AssigneeNEQ(v string) predicate.Application

AssigneeNEQ applies the NEQ predicate on the "assignee" field.

func AssigneeNotIn

func AssigneeNotIn(vs ...string) predicate.Application

AssigneeNotIn applies the NotIn predicate on the "assignee" field.

func Assigner

func Assigner(v string) predicate.Application

Assigner applies equality check predicate on the "assigner" field. It's identical to AssignerEQ.

func AssignerContains

func AssignerContains(v string) predicate.Application

AssignerContains applies the Contains predicate on the "assigner" field.

func AssignerContainsFold

func AssignerContainsFold(v string) predicate.Application

AssignerContainsFold applies the ContainsFold predicate on the "assigner" field.

func AssignerEQ

func AssignerEQ(v string) predicate.Application

AssignerEQ applies the EQ predicate on the "assigner" field.

func AssignerEqualFold

func AssignerEqualFold(v string) predicate.Application

AssignerEqualFold applies the EqualFold predicate on the "assigner" field.

func AssignerGT

func AssignerGT(v string) predicate.Application

AssignerGT applies the GT predicate on the "assigner" field.

func AssignerGTE

func AssignerGTE(v string) predicate.Application

AssignerGTE applies the GTE predicate on the "assigner" field.

func AssignerHasPrefix

func AssignerHasPrefix(v string) predicate.Application

AssignerHasPrefix applies the HasPrefix predicate on the "assigner" field.

func AssignerHasSuffix

func AssignerHasSuffix(v string) predicate.Application

AssignerHasSuffix applies the HasSuffix predicate on the "assigner" field.

func AssignerIn

func AssignerIn(vs ...string) predicate.Application

AssignerIn applies the In predicate on the "assigner" field.

func AssignerLT

func AssignerLT(v string) predicate.Application

AssignerLT applies the LT predicate on the "assigner" field.

func AssignerLTE

func AssignerLTE(v string) predicate.Application

AssignerLTE applies the LTE predicate on the "assigner" field.

func AssignerNEQ

func AssignerNEQ(v string) predicate.Application

AssignerNEQ applies the NEQ predicate on the "assigner" field.

func AssignerNotIn

func AssignerNotIn(vs ...string) predicate.Application

AssignerNotIn applies the NotIn predicate on the "assigner" field.

func BasicID

func BasicID(v string) predicate.Application

BasicID applies equality check predicate on the "basic_id" field. It's identical to BasicIDEQ.

func BasicIDContains

func BasicIDContains(v string) predicate.Application

BasicIDContains applies the Contains predicate on the "basic_id" field.

func BasicIDContainsFold

func BasicIDContainsFold(v string) predicate.Application

BasicIDContainsFold applies the ContainsFold predicate on the "basic_id" field.

func BasicIDEQ

func BasicIDEQ(v string) predicate.Application

BasicIDEQ applies the EQ predicate on the "basic_id" field.

func BasicIDEqualFold

func BasicIDEqualFold(v string) predicate.Application

BasicIDEqualFold applies the EqualFold predicate on the "basic_id" field.

func BasicIDGT

func BasicIDGT(v string) predicate.Application

BasicIDGT applies the GT predicate on the "basic_id" field.

func BasicIDGTE

func BasicIDGTE(v string) predicate.Application

BasicIDGTE applies the GTE predicate on the "basic_id" field.

func BasicIDHasPrefix

func BasicIDHasPrefix(v string) predicate.Application

BasicIDHasPrefix applies the HasPrefix predicate on the "basic_id" field.

func BasicIDHasSuffix

func BasicIDHasSuffix(v string) predicate.Application

BasicIDHasSuffix applies the HasSuffix predicate on the "basic_id" field.

func BasicIDIn

func BasicIDIn(vs ...string) predicate.Application

BasicIDIn applies the In predicate on the "basic_id" field.

func BasicIDLT

func BasicIDLT(v string) predicate.Application

BasicIDLT applies the LT predicate on the "basic_id" field.

func BasicIDLTE

func BasicIDLTE(v string) predicate.Application

BasicIDLTE applies the LTE predicate on the "basic_id" field.

func BasicIDNEQ

func BasicIDNEQ(v string) predicate.Application

BasicIDNEQ applies the NEQ predicate on the "basic_id" field.

func BasicIDNotIn

func BasicIDNotIn(vs ...string) predicate.Application

BasicIDNotIn applies the NotIn predicate on the "basic_id" field.

func BotActiveStatusEQ

func BotActiveStatusEQ(v BotActiveStatus) predicate.Application

BotActiveStatusEQ applies the EQ predicate on the "bot_active_status" field.

func BotActiveStatusIn

func BotActiveStatusIn(vs ...BotActiveStatus) predicate.Application

BotActiveStatusIn applies the In predicate on the "bot_active_status" field.

func BotActiveStatusNEQ

func BotActiveStatusNEQ(v BotActiveStatus) predicate.Application

BotActiveStatusNEQ applies the NEQ predicate on the "bot_active_status" field.

func BotActiveStatusNotIn

func BotActiveStatusNotIn(vs ...BotActiveStatus) predicate.Application

BotActiveStatusNotIn applies the NotIn predicate on the "bot_active_status" field.

func BotActiveStatusValidator

func BotActiveStatusValidator(bas BotActiveStatus) error

BotActiveStatusValidator is a validator for the "bot_active_status" field enum values. It is called by the builders before save.

func BotDisplayName

func BotDisplayName(v string) predicate.Application

BotDisplayName applies equality check predicate on the "bot_display_name" field. It's identical to BotDisplayNameEQ.

func BotDisplayNameContains

func BotDisplayNameContains(v string) predicate.Application

BotDisplayNameContains applies the Contains predicate on the "bot_display_name" field.

func BotDisplayNameContainsFold

func BotDisplayNameContainsFold(v string) predicate.Application

BotDisplayNameContainsFold applies the ContainsFold predicate on the "bot_display_name" field.

func BotDisplayNameEQ

func BotDisplayNameEQ(v string) predicate.Application

BotDisplayNameEQ applies the EQ predicate on the "bot_display_name" field.

func BotDisplayNameEqualFold

func BotDisplayNameEqualFold(v string) predicate.Application

BotDisplayNameEqualFold applies the EqualFold predicate on the "bot_display_name" field.

func BotDisplayNameGT

func BotDisplayNameGT(v string) predicate.Application

BotDisplayNameGT applies the GT predicate on the "bot_display_name" field.

func BotDisplayNameGTE

func BotDisplayNameGTE(v string) predicate.Application

BotDisplayNameGTE applies the GTE predicate on the "bot_display_name" field.

func BotDisplayNameHasPrefix

func BotDisplayNameHasPrefix(v string) predicate.Application

BotDisplayNameHasPrefix applies the HasPrefix predicate on the "bot_display_name" field.

func BotDisplayNameHasSuffix

func BotDisplayNameHasSuffix(v string) predicate.Application

BotDisplayNameHasSuffix applies the HasSuffix predicate on the "bot_display_name" field.

func BotDisplayNameIn

func BotDisplayNameIn(vs ...string) predicate.Application

BotDisplayNameIn applies the In predicate on the "bot_display_name" field.

func BotDisplayNameLT

func BotDisplayNameLT(v string) predicate.Application

BotDisplayNameLT applies the LT predicate on the "bot_display_name" field.

func BotDisplayNameLTE

func BotDisplayNameLTE(v string) predicate.Application

BotDisplayNameLTE applies the LTE predicate on the "bot_display_name" field.

func BotDisplayNameNEQ

func BotDisplayNameNEQ(v string) predicate.Application

BotDisplayNameNEQ applies the NEQ predicate on the "bot_display_name" field.

func BotDisplayNameNotIn

func BotDisplayNameNotIn(vs ...string) predicate.Application

BotDisplayNameNotIn applies the NotIn predicate on the "bot_display_name" field.

func BotMid

func BotMid(v string) predicate.Application

BotMid applies equality check predicate on the "bot_mid" field. It's identical to BotMidEQ.

func BotMidContains

func BotMidContains(v string) predicate.Application

BotMidContains applies the Contains predicate on the "bot_mid" field.

func BotMidContainsFold

func BotMidContainsFold(v string) predicate.Application

BotMidContainsFold applies the ContainsFold predicate on the "bot_mid" field.

func BotMidEQ

func BotMidEQ(v string) predicate.Application

BotMidEQ applies the EQ predicate on the "bot_mid" field.

func BotMidEqualFold

func BotMidEqualFold(v string) predicate.Application

BotMidEqualFold applies the EqualFold predicate on the "bot_mid" field.

func BotMidGT

func BotMidGT(v string) predicate.Application

BotMidGT applies the GT predicate on the "bot_mid" field.

func BotMidGTE

func BotMidGTE(v string) predicate.Application

BotMidGTE applies the GTE predicate on the "bot_mid" field.

func BotMidHasPrefix

func BotMidHasPrefix(v string) predicate.Application

BotMidHasPrefix applies the HasPrefix predicate on the "bot_mid" field.

func BotMidHasSuffix

func BotMidHasSuffix(v string) predicate.Application

BotMidHasSuffix applies the HasSuffix predicate on the "bot_mid" field.

func BotMidIn

func BotMidIn(vs ...string) predicate.Application

BotMidIn applies the In predicate on the "bot_mid" field.

func BotMidLT

func BotMidLT(v string) predicate.Application

BotMidLT applies the LT predicate on the "bot_mid" field.

func BotMidLTE

func BotMidLTE(v string) predicate.Application

BotMidLTE applies the LTE predicate on the "bot_mid" field.

func BotMidNEQ

func BotMidNEQ(v string) predicate.Application

BotMidNEQ applies the NEQ predicate on the "bot_mid" field.

func BotMidNotIn

func BotMidNotIn(vs ...string) predicate.Application

BotMidNotIn applies the NotIn predicate on the "bot_mid" field.

func BotSuspendReasonEQ

func BotSuspendReasonEQ(v BotSuspendReason) predicate.Application

BotSuspendReasonEQ applies the EQ predicate on the "bot_suspend_reason" field.

func BotSuspendReasonIn

func BotSuspendReasonIn(vs ...BotSuspendReason) predicate.Application

BotSuspendReasonIn applies the In predicate on the "bot_suspend_reason" field.

func BotSuspendReasonNEQ

func BotSuspendReasonNEQ(v BotSuspendReason) predicate.Application

BotSuspendReasonNEQ applies the NEQ predicate on the "bot_suspend_reason" field.

func BotSuspendReasonNotIn

func BotSuspendReasonNotIn(vs ...BotSuspendReason) predicate.Application

BotSuspendReasonNotIn applies the NotIn predicate on the "bot_suspend_reason" field.

func BotSuspendReasonValidator

func BotSuspendReasonValidator(bsr BotSuspendReason) error

BotSuspendReasonValidator is a validator for the "bot_suspend_reason" field enum values. It is called by the builders before save.

func CreatedDtime

func CreatedDtime(v time.Time) predicate.Application

CreatedDtime applies equality check predicate on the "created_dtime" field. It's identical to CreatedDtimeEQ.

func CreatedDtimeEQ

func CreatedDtimeEQ(v time.Time) predicate.Application

CreatedDtimeEQ applies the EQ predicate on the "created_dtime" field.

func CreatedDtimeGT

func CreatedDtimeGT(v time.Time) predicate.Application

CreatedDtimeGT applies the GT predicate on the "created_dtime" field.

func CreatedDtimeGTE

func CreatedDtimeGTE(v time.Time) predicate.Application

CreatedDtimeGTE applies the GTE predicate on the "created_dtime" field.

func CreatedDtimeIn

func CreatedDtimeIn(vs ...time.Time) predicate.Application

CreatedDtimeIn applies the In predicate on the "created_dtime" field.

func CreatedDtimeLT

func CreatedDtimeLT(v time.Time) predicate.Application

CreatedDtimeLT applies the LT predicate on the "created_dtime" field.

func CreatedDtimeLTE

func CreatedDtimeLTE(v time.Time) predicate.Application

CreatedDtimeLTE applies the LTE predicate on the "created_dtime" field.

func CreatedDtimeNEQ

func CreatedDtimeNEQ(v time.Time) predicate.Application

CreatedDtimeNEQ applies the NEQ predicate on the "created_dtime" field.

func CreatedDtimeNotIn

func CreatedDtimeNotIn(vs ...time.Time) predicate.Application

CreatedDtimeNotIn applies the NotIn predicate on the "created_dtime" field.

func HasAssignmentHistories

func HasAssignmentHistories() predicate.Application

HasAssignmentHistories applies the HasEdge predicate on the "assignment_histories" edge.

func HasAssignmentHistoriesWith

func HasAssignmentHistoriesWith(preds ...predicate.ApplicationAssignmentHistory) predicate.Application

HasAssignmentHistoriesWith applies the HasEdge predicate on the "assignment_histories" edge with a given conditions (other predicates).

func HasAttachments

func HasAttachments() predicate.Application

HasAttachments applies the HasEdge predicate on the "attachments" edge.

func HasAttachmentsWith

func HasAttachmentsWith(preds ...predicate.Attachment) predicate.Application

HasAttachmentsWith applies the HasEdge predicate on the "attachments" edge with a given conditions (other predicates).

func HasStatusHistories

func HasStatusHistories() predicate.Application

HasStatusHistories applies the HasEdge predicate on the "status_histories" edge.

func HasStatusHistoriesWith

func HasStatusHistoriesWith(preds ...predicate.ApplicationStatusHistory) predicate.Application

HasStatusHistoriesWith applies the HasEdge predicate on the "status_histories" edge with a given conditions (other predicates).

func HasTickets

func HasTickets() predicate.Application

HasTickets applies the HasEdge predicate on the "tickets" edge.

func HasTicketsWith

func HasTicketsWith(preds ...predicate.Ticket) predicate.Application

HasTicketsWith applies the HasEdge predicate on the "tickets" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Application

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Application

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Application

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Application

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Application

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Application

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Application

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Application

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Application) predicate.Application

Or groups predicates with the OR operator between them.

func PremiumID

func PremiumID(v string) predicate.Application

PremiumID applies equality check predicate on the "premium_id" field. It's identical to PremiumIDEQ.

func PremiumIDContains

func PremiumIDContains(v string) predicate.Application

PremiumIDContains applies the Contains predicate on the "premium_id" field.

func PremiumIDContainsFold

func PremiumIDContainsFold(v string) predicate.Application

PremiumIDContainsFold applies the ContainsFold predicate on the "premium_id" field.

func PremiumIDEQ

func PremiumIDEQ(v string) predicate.Application

PremiumIDEQ applies the EQ predicate on the "premium_id" field.

func PremiumIDEqualFold

func PremiumIDEqualFold(v string) predicate.Application

PremiumIDEqualFold applies the EqualFold predicate on the "premium_id" field.

func PremiumIDGT

func PremiumIDGT(v string) predicate.Application

PremiumIDGT applies the GT predicate on the "premium_id" field.

func PremiumIDGTE

func PremiumIDGTE(v string) predicate.Application

PremiumIDGTE applies the GTE predicate on the "premium_id" field.

func PremiumIDHasPrefix

func PremiumIDHasPrefix(v string) predicate.Application

PremiumIDHasPrefix applies the HasPrefix predicate on the "premium_id" field.

func PremiumIDHasSuffix

func PremiumIDHasSuffix(v string) predicate.Application

PremiumIDHasSuffix applies the HasSuffix predicate on the "premium_id" field.

func PremiumIDIn

func PremiumIDIn(vs ...string) predicate.Application

PremiumIDIn applies the In predicate on the "premium_id" field.

func PremiumIDLT

func PremiumIDLT(v string) predicate.Application

PremiumIDLT applies the LT predicate on the "premium_id" field.

func PremiumIDLTE

func PremiumIDLTE(v string) predicate.Application

PremiumIDLTE applies the LTE predicate on the "premium_id" field.

func PremiumIDNEQ

func PremiumIDNEQ(v string) predicate.Application

PremiumIDNEQ applies the NEQ predicate on the "premium_id" field.

func PremiumIDNotIn

func PremiumIDNotIn(vs ...string) predicate.Application

PremiumIDNotIn applies the NotIn predicate on the "premium_id" field.

func Remark

func Remark(v string) predicate.Application

Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.

func RemarkContains

func RemarkContains(v string) predicate.Application

RemarkContains applies the Contains predicate on the "remark" field.

func RemarkContainsFold

func RemarkContainsFold(v string) predicate.Application

RemarkContainsFold applies the ContainsFold predicate on the "remark" field.

func RemarkEQ

func RemarkEQ(v string) predicate.Application

RemarkEQ applies the EQ predicate on the "remark" field.

func RemarkEqualFold

func RemarkEqualFold(v string) predicate.Application

RemarkEqualFold applies the EqualFold predicate on the "remark" field.

func RemarkGT

func RemarkGT(v string) predicate.Application

RemarkGT applies the GT predicate on the "remark" field.

func RemarkGTE

func RemarkGTE(v string) predicate.Application

RemarkGTE applies the GTE predicate on the "remark" field.

func RemarkHasPrefix

func RemarkHasPrefix(v string) predicate.Application

RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.

func RemarkHasSuffix

func RemarkHasSuffix(v string) predicate.Application

RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.

func RemarkIn

func RemarkIn(vs ...string) predicate.Application

RemarkIn applies the In predicate on the "remark" field.

func RemarkLT

func RemarkLT(v string) predicate.Application

RemarkLT applies the LT predicate on the "remark" field.

func RemarkLTE

func RemarkLTE(v string) predicate.Application

RemarkLTE applies the LTE predicate on the "remark" field.

func RemarkNEQ

func RemarkNEQ(v string) predicate.Application

RemarkNEQ applies the NEQ predicate on the "remark" field.

func RemarkNotIn

func RemarkNotIn(vs ...string) predicate.Application

RemarkNotIn applies the NotIn predicate on the "remark" field.

func ReviewComment

func ReviewComment(v string) predicate.Application

ReviewComment applies equality check predicate on the "review_comment" field. It's identical to ReviewCommentEQ.

func ReviewCommentContains

func ReviewCommentContains(v string) predicate.Application

ReviewCommentContains applies the Contains predicate on the "review_comment" field.

func ReviewCommentContainsFold

func ReviewCommentContainsFold(v string) predicate.Application

ReviewCommentContainsFold applies the ContainsFold predicate on the "review_comment" field.

func ReviewCommentEQ

func ReviewCommentEQ(v string) predicate.Application

ReviewCommentEQ applies the EQ predicate on the "review_comment" field.

func ReviewCommentEqualFold

func ReviewCommentEqualFold(v string) predicate.Application

ReviewCommentEqualFold applies the EqualFold predicate on the "review_comment" field.

func ReviewCommentGT

func ReviewCommentGT(v string) predicate.Application

ReviewCommentGT applies the GT predicate on the "review_comment" field.

func ReviewCommentGTE

func ReviewCommentGTE(v string) predicate.Application

ReviewCommentGTE applies the GTE predicate on the "review_comment" field.

func ReviewCommentHasPrefix

func ReviewCommentHasPrefix(v string) predicate.Application

ReviewCommentHasPrefix applies the HasPrefix predicate on the "review_comment" field.

func ReviewCommentHasSuffix

func ReviewCommentHasSuffix(v string) predicate.Application

ReviewCommentHasSuffix applies the HasSuffix predicate on the "review_comment" field.

func ReviewCommentIn

func ReviewCommentIn(vs ...string) predicate.Application

ReviewCommentIn applies the In predicate on the "review_comment" field.

func ReviewCommentLT

func ReviewCommentLT(v string) predicate.Application

ReviewCommentLT applies the LT predicate on the "review_comment" field.

func ReviewCommentLTE

func ReviewCommentLTE(v string) predicate.Application

ReviewCommentLTE applies the LTE predicate on the "review_comment" field.

func ReviewCommentNEQ

func ReviewCommentNEQ(v string) predicate.Application

ReviewCommentNEQ applies the NEQ predicate on the "review_comment" field.

func ReviewCommentNotIn

func ReviewCommentNotIn(vs ...string) predicate.Application

ReviewCommentNotIn applies the NotIn predicate on the "review_comment" field.

func StoreTypeEQ

func StoreTypeEQ(v StoreType) predicate.Application

StoreTypeEQ applies the EQ predicate on the "store_type" field.

func StoreTypeIn

func StoreTypeIn(vs ...StoreType) predicate.Application

StoreTypeIn applies the In predicate on the "store_type" field.

func StoreTypeNEQ

func StoreTypeNEQ(v StoreType) predicate.Application

StoreTypeNEQ applies the NEQ predicate on the "store_type" field.

func StoreTypeNotIn

func StoreTypeNotIn(vs ...StoreType) predicate.Application

StoreTypeNotIn applies the NotIn predicate on the "store_type" field.

func StoreTypeValidator

func StoreTypeValidator(st StoreType) error

StoreTypeValidator is a validator for the "store_type" field enum values. It is called by the builders before save.

func UpdatedDtime

func UpdatedDtime(v time.Time) predicate.Application

UpdatedDtime applies equality check predicate on the "updated_dtime" field. It's identical to UpdatedDtimeEQ.

func UpdatedDtimeEQ

func UpdatedDtimeEQ(v time.Time) predicate.Application

UpdatedDtimeEQ applies the EQ predicate on the "updated_dtime" field.

func UpdatedDtimeGT

func UpdatedDtimeGT(v time.Time) predicate.Application

UpdatedDtimeGT applies the GT predicate on the "updated_dtime" field.

func UpdatedDtimeGTE

func UpdatedDtimeGTE(v time.Time) predicate.Application

UpdatedDtimeGTE applies the GTE predicate on the "updated_dtime" field.

func UpdatedDtimeIn

func UpdatedDtimeIn(vs ...time.Time) predicate.Application

UpdatedDtimeIn applies the In predicate on the "updated_dtime" field.

func UpdatedDtimeLT

func UpdatedDtimeLT(v time.Time) predicate.Application

UpdatedDtimeLT applies the LT predicate on the "updated_dtime" field.

func UpdatedDtimeLTE

func UpdatedDtimeLTE(v time.Time) predicate.Application

UpdatedDtimeLTE applies the LTE predicate on the "updated_dtime" field.

func UpdatedDtimeNEQ

func UpdatedDtimeNEQ(v time.Time) predicate.Application

UpdatedDtimeNEQ applies the NEQ predicate on the "updated_dtime" field.

func UpdatedDtimeNotIn

func UpdatedDtimeNotIn(vs ...time.Time) predicate.Application

UpdatedDtimeNotIn applies the NotIn predicate on the "updated_dtime" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WebsiteURL

func WebsiteURL(v string) predicate.Application

WebsiteURL applies equality check predicate on the "website_url" field. It's identical to WebsiteURLEQ.

func WebsiteURLContains

func WebsiteURLContains(v string) predicate.Application

WebsiteURLContains applies the Contains predicate on the "website_url" field.

func WebsiteURLContainsFold

func WebsiteURLContainsFold(v string) predicate.Application

WebsiteURLContainsFold applies the ContainsFold predicate on the "website_url" field.

func WebsiteURLEQ

func WebsiteURLEQ(v string) predicate.Application

WebsiteURLEQ applies the EQ predicate on the "website_url" field.

func WebsiteURLEqualFold

func WebsiteURLEqualFold(v string) predicate.Application

WebsiteURLEqualFold applies the EqualFold predicate on the "website_url" field.

func WebsiteURLGT

func WebsiteURLGT(v string) predicate.Application

WebsiteURLGT applies the GT predicate on the "website_url" field.

func WebsiteURLGTE

func WebsiteURLGTE(v string) predicate.Application

WebsiteURLGTE applies the GTE predicate on the "website_url" field.

func WebsiteURLHasPrefix

func WebsiteURLHasPrefix(v string) predicate.Application

WebsiteURLHasPrefix applies the HasPrefix predicate on the "website_url" field.

func WebsiteURLHasSuffix

func WebsiteURLHasSuffix(v string) predicate.Application

WebsiteURLHasSuffix applies the HasSuffix predicate on the "website_url" field.

func WebsiteURLIn

func WebsiteURLIn(vs ...string) predicate.Application

WebsiteURLIn applies the In predicate on the "website_url" field.

func WebsiteURLLT

func WebsiteURLLT(v string) predicate.Application

WebsiteURLLT applies the LT predicate on the "website_url" field.

func WebsiteURLLTE

func WebsiteURLLTE(v string) predicate.Application

WebsiteURLLTE applies the LTE predicate on the "website_url" field.

func WebsiteURLNEQ

func WebsiteURLNEQ(v string) predicate.Application

WebsiteURLNEQ applies the NEQ predicate on the "website_url" field.

func WebsiteURLNotIn

func WebsiteURLNotIn(vs ...string) predicate.Application

WebsiteURLNotIn applies the NotIn predicate on the "website_url" field.

Types

type ApplicationStatus

type ApplicationStatus string

ApplicationStatus defines the type for the "application_status" enum field.

const (
	ApplicationStatusWip       ApplicationStatus = "wip"
	ApplicationStatusReviewing ApplicationStatus = "reviewing"
	ApplicationStatusVerified  ApplicationStatus = "verified"
	ApplicationStatusRejected  ApplicationStatus = "rejected"
	ApplicationStatusWaiting   ApplicationStatus = "waiting"
	ApplicationStatusReplied   ApplicationStatus = "replied"
	ApplicationStatusRevoked   ApplicationStatus = "revoked"
	ApplicationStatusCanceling ApplicationStatus = "canceling"
)

ApplicationStatus values.

func (ApplicationStatus) String

func (as ApplicationStatus) String() string

type BotActiveStatus

type BotActiveStatus string

BotActiveStatus defines the type for the "bot_active_status" enum field.

const (
	BotActiveStatusActive  BotActiveStatus = "active"
	BotActiveStatusSuspend BotActiveStatus = "suspend"
	BotActiveStatusDelete  BotActiveStatus = "delete"
)

BotActiveStatus values.

func (BotActiveStatus) String

func (bas BotActiveStatus) String() string

type BotSuspendReason

type BotSuspendReason string

BotSuspendReason defines the type for the "bot_suspend_reason" enum field.

const (
	BotSuspendReasonUserResign  BotSuspendReason = "user_resign"
	BotSuspendReasonForceResign BotSuspendReason = "force_resign"
	BotSuspendReasonPenalty     BotSuspendReason = "penalty"
	BotSuspendReasonUnpaid      BotSuspendReason = "unpaid"
)

BotSuspendReason values.

func (BotSuspendReason) String

func (bsr BotSuspendReason) String() string

type StoreType

type StoreType string

StoreType defines the type for the "store_type" enum field.

const (
	StoreTypeOnlineStore   StoreType = "online_store"
	StoreTypePhysicalStore StoreType = "physical_store"
)

StoreType values.

func (StoreType) String

func (st StoreType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL