applicationstatushistory

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 applicationstatushistory type in the database.
	Label = "application_status_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldApplicationID holds the string denoting the application_id field in the database.
	FieldApplicationID = "application_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldCreatedTime holds the string denoting the created_time field in the database.
	FieldCreatedTime = "created_time"
	// EdgeApplications holds the string denoting the applications edge name in mutations.
	EdgeApplications = "applications"
	// ApplicationFieldID holds the string denoting the ID field of the Application.
	ApplicationFieldID = "application_id"
	// Table holds the table name of the applicationstatushistory in the database.
	Table = "application_status_histories"
	// ApplicationsTable is the table that holds the applications relation/edge.
	ApplicationsTable = "application_status_histories"
	// ApplicationsInverseTable is the table name for the Application entity.
	// It exists in this package in order to avoid circular dependency with the "application" package.
	ApplicationsInverseTable = "applications"
	// ApplicationsColumn is the table column denoting the applications relation/edge.
	ApplicationsColumn = "application_id"
)

Variables

Columns holds all SQL columns for applicationstatushistory fields.

View Source
var (
	// DefaultCreatedTime holds the default value on creation for the "created_time" field.
	DefaultCreatedTime func() time.Time
)

Functions

func And

And groups predicates with the AND operator between them.

func ApplicationID

ApplicationID applies equality check predicate on the "application_id" field. It's identical to ApplicationIDEQ.

func ApplicationIDEQ

func ApplicationIDEQ(v uuid.UUID) predicate.ApplicationStatusHistory

ApplicationIDEQ applies the EQ predicate on the "application_id" field.

func ApplicationIDIn

func ApplicationIDIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory

ApplicationIDIn applies the In predicate on the "application_id" field.

func ApplicationIDNEQ

func ApplicationIDNEQ(v uuid.UUID) predicate.ApplicationStatusHistory

ApplicationIDNEQ applies the NEQ predicate on the "application_id" field.

func ApplicationIDNotIn

func ApplicationIDNotIn(vs ...uuid.UUID) predicate.ApplicationStatusHistory

ApplicationIDNotIn applies the NotIn predicate on the "application_id" field.

func CreatedTime

CreatedTime applies equality check predicate on the "created_time" field. It's identical to CreatedTimeEQ.

func CreatedTimeEQ

CreatedTimeEQ applies the EQ predicate on the "created_time" field.

func CreatedTimeGT

CreatedTimeGT applies the GT predicate on the "created_time" field.

func CreatedTimeGTE

func CreatedTimeGTE(v time.Time) predicate.ApplicationStatusHistory

CreatedTimeGTE applies the GTE predicate on the "created_time" field.

func CreatedTimeIn

func CreatedTimeIn(vs ...time.Time) predicate.ApplicationStatusHistory

CreatedTimeIn applies the In predicate on the "created_time" field.

func CreatedTimeLT

CreatedTimeLT applies the LT predicate on the "created_time" field.

func CreatedTimeLTE

func CreatedTimeLTE(v time.Time) predicate.ApplicationStatusHistory

CreatedTimeLTE applies the LTE predicate on the "created_time" field.

func CreatedTimeNEQ

func CreatedTimeNEQ(v time.Time) predicate.ApplicationStatusHistory

CreatedTimeNEQ applies the NEQ predicate on the "created_time" field.

func CreatedTimeNotIn

func CreatedTimeNotIn(vs ...time.Time) predicate.ApplicationStatusHistory

CreatedTimeNotIn applies the NotIn predicate on the "created_time" field.

func HasApplications

func HasApplications() predicate.ApplicationStatusHistory

HasApplications applies the HasEdge predicate on the "applications" edge.

func HasApplicationsWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ApplicationStatusHistory

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.ApplicationStatusHistory

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusWip       Status = "wip"
	StatusReviewing Status = "reviewing"
	StatusVerified  Status = "verified"
	StatusRejected  Status = "rejected"
	StatusWaiting   Status = "waiting"
	StatusReplied   Status = "replied"
	StatusRevoked   Status = "revoked"
	StatusCanceling Status = "canceling"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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