func AddUserAccountEthnicityHook(hookPoint boil.HookPoint, userAccountEthnicityHook UserAccountEthnicityHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		userAccountEthnicityBeforeInsertHooks = append(userAccountEthnicityBeforeInsertHooks, userAccountEthnicityHook)
	case boil.BeforeUpdateHook:
		userAccountEthnicityBeforeUpdateHooks = append(userAccountEthnicityBeforeUpdateHooks, userAccountEthnicityHook)
	case boil.BeforeDeleteHook:
		userAccountEthnicityBeforeDeleteHooks = append(userAccountEthnicityBeforeDeleteHooks, userAccountEthnicityHook)
	case boil.BeforeUpsertHook:
		userAccountEthnicityBeforeUpsertHooks = append(userAccountEthnicityBeforeUpsertHooks, userAccountEthnicityHook)
	case boil.AfterInsertHook:
		userAccountEthnicityAfterInsertHooks = append(userAccountEthnicityAfterInsertHooks, userAccountEthnicityHook)
	case boil.AfterSelectHook:
		userAccountEthnicityAfterSelectHooks = append(userAccountEthnicityAfterSelectHooks, userAccountEthnicityHook)
	case boil.AfterUpdateHook:
		userAccountEthnicityAfterUpdateHooks = append(userAccountEthnicityAfterUpdateHooks, userAccountEthnicityHook)
	case boil.AfterDeleteHook:
		userAccountEthnicityAfterDeleteHooks = append(userAccountEthnicityAfterDeleteHooks, userAccountEthnicityHook)
	case boil.AfterUpsertHook:
		userAccountEthnicityAfterUpsertHooks = append(userAccountEthnicityAfterUpsertHooks, userAccountEthnicityHook)
	}
}
// AddUserAccountEthnicityHook registers your hook function for all future operations.
AddUserAccountEthnicityHook registers your hook function for all future operations.
// AddUserAccountEthnicityHook registers your hook function for all future operations .
func AddUserAccountEthnicityHook(hookPoint boil.HookPoint, userAccountEthnicityHook UserAccountEthnicityHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		userAccountEthnicityBeforeInsertHooks = append(userAccountEthnicityBeforeInsertHooks, userAccountEthnicityHook)
	case boil.BeforeUpdateHook:
		userAccountEthnicityBeforeUpdateHooks = append(userAccountEthnicityBeforeUpdateHooks, userAccountEthnicityHook)
	case boil.BeforeDeleteHook:
		userAccountEthnicityBeforeDeleteHooks = append(userAccountEthnicityBeforeDeleteHooks, userAccountEthnicityHook)
	case boil.BeforeUpsertHook:
		userAccountEthnicityBeforeUpsertHooks = append(userAccountEthnicityBeforeUpsertHooks, userAccountEthnicityHook)
	case boil.AfterInsertHook:
		userAccountEthnicityAfterInsertHooks = append(userAccountEthnicityAfterInsertHooks, userAccountEthnicityHook)
	case boil.AfterSelectHook:
		userAccountEthnicityAfterSelectHooks = append(userAccountEthnicityAfterSelectHooks, userAccountEthnicityHook)
	case boil.AfterUpdateHook:
		userAccountEthnicityAfterUpdateHooks = append(userAccountEthnicityAfterUpdateHooks, userAccountEthnicityHook)
	case boil.AfterDeleteHook:
		userAccountEthnicityAfterDeleteHooks = append(userAccountEthnicityAfterDeleteHooks, userAccountEthnicityHook)
	case boil.AfterUpsertHook:
		userAccountEthnicityAfterUpsertHooks = append(userAccountEthnicityAfterUpsertHooks, userAccountEthnicityHook)
	}
}
func AddUserAccountEthnicityHook ( hookPoint boil . HookPoint , userAccountEthnicityHook UserAccountEthnicityHook ) { switch hookPoint { case boil . BeforeInsertHook : userAccountEthnicityBeforeInsertHooks = append ( userAccountEthnicityBeforeInsertHooks , userAccountEthnicityHook ) case boil . BeforeUpdateHook : userAccountEthnicityBeforeUpdateHooks = append ( userAccountEthnicityBeforeUpdateHooks , userAccountEthnicityHook ) case boil . BeforeDeleteHook : userAccountEthnicityBeforeDeleteHooks = append ( userAccountEthnicityBeforeDeleteHooks , userAccountEthnicityHook ) case boil . BeforeUpsertHook : userAccountEthnicityBeforeUpsertHooks = append ( userAccountEthnicityBeforeUpsertHooks , userAccountEthnicityHook ) case boil . AfterInsertHook : userAccountEthnicityAfterInsertHooks = append ( userAccountEthnicityAfterInsertHooks , userAccountEthnicityHook ) case boil . AfterSelectHook : userAccountEthnicityAfterSelectHooks = append ( userAccountEthnicityAfterSelectHooks , userAccountEthnicityHook ) case boil . AfterUpdateHook : userAccountEthnicityAfterUpdateHooks = append ( userAccountEthnicityAfterUpdateHooks , userAccountEthnicityHook ) case boil . AfterDeleteHook : userAccountEthnicityAfterDeleteHooks = append ( userAccountEthnicityAfterDeleteHooks , userAccountEthnicityHook ) case boil . AfterUpsertHook : userAccountEthnicityAfterUpsertHooks = append ( userAccountEthnicityAfterUpsertHooks , userAccountEthnicityHook ) } }
AddUserAccountEthnicityHook registers your hook function for all future operations.
AddUserAccountEthnicityHook registers your hook function for all future operations .