ticket

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 ticket type in the database.
	Label = "ticket"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "ticket_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"
	// FieldCreator holds the string denoting the creator field in the database.
	FieldCreator = "creator"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldReply holds the string denoting the reply field in the database.
	FieldReply = "reply"
	// FieldReplier holds the string denoting the replier field in the database.
	FieldReplier = "replier"
	// FieldReviewer holds the string denoting the reviewer field in the database.
	FieldReviewer = "reviewer"
	// FieldReviewRemark holds the string denoting the review_remark field in the database.
	FieldReviewRemark = "review_remark"
	// FieldRepliedDtime holds the string denoting the replied_dtime field in the database.
	FieldRepliedDtime = "replied_dtime"
	// FieldReviewedDtime holds the string denoting the reviewed_dtime field in the database.
	FieldReviewedDtime = "reviewed_dtime"
	// 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"
	// EdgeApplications holds the string denoting the applications edge name in mutations.
	EdgeApplications = "applications"
	// EdgeAttachments holds the string denoting the attachments edge name in mutations.
	EdgeAttachments = "attachments"
	// ApplicationFieldID holds the string denoting the ID field of the Application.
	ApplicationFieldID = "application_id"
	// AttachmentFieldID holds the string denoting the ID field of the Attachment.
	AttachmentFieldID = "id"
	// Table holds the table name of the ticket in the database.
	Table = "tickets"
	// ApplicationsTable is the table that holds the applications relation/edge.
	ApplicationsTable = "tickets"
	// 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"
	// 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 = "ticket_id"
)

Variables

View Source
var (
	// CreatorValidator is a validator for the "creator" field. It is called by the builders before save.
	CreatorValidator func(string) error
	// ReplierValidator is a validator for the "replier" field. It is called by the builders before save.
	ReplierValidator func(string) error
	// ReviewerValidator is a validator for the "reviewer" field. It is called by the builders before save.
	ReviewerValidator func(string) error
	// DefaultCreatedDtime holds the default value on creation for the "created_dtime" field.
	DefaultCreatedDtime func() time.Time
)

Columns holds all SQL columns for ticket fields.

Functions

func And

func And(predicates ...predicate.Ticket) predicate.Ticket

And groups predicates with the AND operator between them.

func ApplicationID

func ApplicationID(v uuid.UUID) predicate.Ticket

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

func ApplicationIDEQ

func ApplicationIDEQ(v uuid.UUID) predicate.Ticket

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

func ApplicationIDIn

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

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

func ApplicationIDNEQ

func ApplicationIDNEQ(v uuid.UUID) predicate.Ticket

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

func ApplicationIDNotIn

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

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

func Content

func Content(v string) predicate.Ticket

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.Ticket

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.Ticket

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.Ticket

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.Ticket

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.Ticket

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.Ticket

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.Ticket

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.Ticket

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.Ticket

ContentIn applies the In predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.Ticket

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.Ticket

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.Ticket

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.Ticket

ContentNotIn applies the NotIn predicate on the "content" field.

func CreatedDtime

func CreatedDtime(v time.Time) predicate.Ticket

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

func CreatedDtimeEQ

func CreatedDtimeEQ(v time.Time) predicate.Ticket

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

func CreatedDtimeGT

func CreatedDtimeGT(v time.Time) predicate.Ticket

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

func CreatedDtimeGTE

func CreatedDtimeGTE(v time.Time) predicate.Ticket

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

func CreatedDtimeIn

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

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

func CreatedDtimeLT

func CreatedDtimeLT(v time.Time) predicate.Ticket

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

func CreatedDtimeLTE

func CreatedDtimeLTE(v time.Time) predicate.Ticket

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

func CreatedDtimeNEQ

func CreatedDtimeNEQ(v time.Time) predicate.Ticket

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

func CreatedDtimeNotIn

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

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

func Creator

func Creator(v string) predicate.Ticket

Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.

func CreatorContains

func CreatorContains(v string) predicate.Ticket

CreatorContains applies the Contains predicate on the "creator" field.

func CreatorContainsFold

func CreatorContainsFold(v string) predicate.Ticket

CreatorContainsFold applies the ContainsFold predicate on the "creator" field.

func CreatorEQ

func CreatorEQ(v string) predicate.Ticket

CreatorEQ applies the EQ predicate on the "creator" field.

func CreatorEqualFold

func CreatorEqualFold(v string) predicate.Ticket

CreatorEqualFold applies the EqualFold predicate on the "creator" field.

func CreatorGT

func CreatorGT(v string) predicate.Ticket

CreatorGT applies the GT predicate on the "creator" field.

func CreatorGTE

func CreatorGTE(v string) predicate.Ticket

CreatorGTE applies the GTE predicate on the "creator" field.

func CreatorHasPrefix

func CreatorHasPrefix(v string) predicate.Ticket

CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.

func CreatorHasSuffix

func CreatorHasSuffix(v string) predicate.Ticket

CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.

func CreatorIn

func CreatorIn(vs ...string) predicate.Ticket

CreatorIn applies the In predicate on the "creator" field.

func CreatorLT

func CreatorLT(v string) predicate.Ticket

CreatorLT applies the LT predicate on the "creator" field.

func CreatorLTE

func CreatorLTE(v string) predicate.Ticket

CreatorLTE applies the LTE predicate on the "creator" field.

func CreatorNEQ

func CreatorNEQ(v string) predicate.Ticket

CreatorNEQ applies the NEQ predicate on the "creator" field.

func CreatorNotIn

func CreatorNotIn(vs ...string) predicate.Ticket

CreatorNotIn applies the NotIn predicate on the "creator" field.

func HasApplications

func HasApplications() predicate.Ticket

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

func HasApplicationsWith

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

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

func HasAttachments

func HasAttachments() predicate.Ticket

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

func HasAttachmentsWith

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

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

func ID

func ID(id int) predicate.Ticket

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Ticket

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Ticket

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Ticket

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Ticket

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Ticket

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Ticket

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Ticket

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.Ticket) predicate.Ticket

Or groups predicates with the OR operator between them.

func RepliedDtime

func RepliedDtime(v time.Time) predicate.Ticket

RepliedDtime applies equality check predicate on the "replied_dtime" field. It's identical to RepliedDtimeEQ.

func RepliedDtimeEQ

func RepliedDtimeEQ(v time.Time) predicate.Ticket

RepliedDtimeEQ applies the EQ predicate on the "replied_dtime" field.

func RepliedDtimeGT

func RepliedDtimeGT(v time.Time) predicate.Ticket

RepliedDtimeGT applies the GT predicate on the "replied_dtime" field.

func RepliedDtimeGTE

func RepliedDtimeGTE(v time.Time) predicate.Ticket

RepliedDtimeGTE applies the GTE predicate on the "replied_dtime" field.

func RepliedDtimeIn

func RepliedDtimeIn(vs ...time.Time) predicate.Ticket

RepliedDtimeIn applies the In predicate on the "replied_dtime" field.

func RepliedDtimeLT

func RepliedDtimeLT(v time.Time) predicate.Ticket

RepliedDtimeLT applies the LT predicate on the "replied_dtime" field.

func RepliedDtimeLTE

func RepliedDtimeLTE(v time.Time) predicate.Ticket

RepliedDtimeLTE applies the LTE predicate on the "replied_dtime" field.

func RepliedDtimeNEQ

func RepliedDtimeNEQ(v time.Time) predicate.Ticket

RepliedDtimeNEQ applies the NEQ predicate on the "replied_dtime" field.

func RepliedDtimeNotIn

func RepliedDtimeNotIn(vs ...time.Time) predicate.Ticket

RepliedDtimeNotIn applies the NotIn predicate on the "replied_dtime" field.

func Replier

func Replier(v string) predicate.Ticket

Replier applies equality check predicate on the "replier" field. It's identical to ReplierEQ.

func ReplierContains

func ReplierContains(v string) predicate.Ticket

ReplierContains applies the Contains predicate on the "replier" field.

func ReplierContainsFold

func ReplierContainsFold(v string) predicate.Ticket

ReplierContainsFold applies the ContainsFold predicate on the "replier" field.

func ReplierEQ

func ReplierEQ(v string) predicate.Ticket

ReplierEQ applies the EQ predicate on the "replier" field.

func ReplierEqualFold

func ReplierEqualFold(v string) predicate.Ticket

ReplierEqualFold applies the EqualFold predicate on the "replier" field.

func ReplierGT

func ReplierGT(v string) predicate.Ticket

ReplierGT applies the GT predicate on the "replier" field.

func ReplierGTE

func ReplierGTE(v string) predicate.Ticket

ReplierGTE applies the GTE predicate on the "replier" field.

func ReplierHasPrefix

func ReplierHasPrefix(v string) predicate.Ticket

ReplierHasPrefix applies the HasPrefix predicate on the "replier" field.

func ReplierHasSuffix

func ReplierHasSuffix(v string) predicate.Ticket

ReplierHasSuffix applies the HasSuffix predicate on the "replier" field.

func ReplierIn

func ReplierIn(vs ...string) predicate.Ticket

ReplierIn applies the In predicate on the "replier" field.

func ReplierLT

func ReplierLT(v string) predicate.Ticket

ReplierLT applies the LT predicate on the "replier" field.

func ReplierLTE

func ReplierLTE(v string) predicate.Ticket

ReplierLTE applies the LTE predicate on the "replier" field.

func ReplierNEQ

func ReplierNEQ(v string) predicate.Ticket

ReplierNEQ applies the NEQ predicate on the "replier" field.

func ReplierNotIn

func ReplierNotIn(vs ...string) predicate.Ticket

ReplierNotIn applies the NotIn predicate on the "replier" field.

func Reply

func Reply(v string) predicate.Ticket

Reply applies equality check predicate on the "reply" field. It's identical to ReplyEQ.

func ReplyContains

func ReplyContains(v string) predicate.Ticket

ReplyContains applies the Contains predicate on the "reply" field.

func ReplyContainsFold

func ReplyContainsFold(v string) predicate.Ticket

ReplyContainsFold applies the ContainsFold predicate on the "reply" field.

func ReplyEQ

func ReplyEQ(v string) predicate.Ticket

ReplyEQ applies the EQ predicate on the "reply" field.

func ReplyEqualFold

func ReplyEqualFold(v string) predicate.Ticket

ReplyEqualFold applies the EqualFold predicate on the "reply" field.

func ReplyGT

func ReplyGT(v string) predicate.Ticket

ReplyGT applies the GT predicate on the "reply" field.

func ReplyGTE

func ReplyGTE(v string) predicate.Ticket

ReplyGTE applies the GTE predicate on the "reply" field.

func ReplyHasPrefix

func ReplyHasPrefix(v string) predicate.Ticket

ReplyHasPrefix applies the HasPrefix predicate on the "reply" field.

func ReplyHasSuffix

func ReplyHasSuffix(v string) predicate.Ticket

ReplyHasSuffix applies the HasSuffix predicate on the "reply" field.

func ReplyIn

func ReplyIn(vs ...string) predicate.Ticket

ReplyIn applies the In predicate on the "reply" field.

func ReplyLT

func ReplyLT(v string) predicate.Ticket

ReplyLT applies the LT predicate on the "reply" field.

func ReplyLTE

func ReplyLTE(v string) predicate.Ticket

ReplyLTE applies the LTE predicate on the "reply" field.

func ReplyNEQ

func ReplyNEQ(v string) predicate.Ticket

ReplyNEQ applies the NEQ predicate on the "reply" field.

func ReplyNotIn

func ReplyNotIn(vs ...string) predicate.Ticket

ReplyNotIn applies the NotIn predicate on the "reply" field.

func ReviewRemark

func ReviewRemark(v string) predicate.Ticket

ReviewRemark applies equality check predicate on the "review_remark" field. It's identical to ReviewRemarkEQ.

func ReviewRemarkContains

func ReviewRemarkContains(v string) predicate.Ticket

ReviewRemarkContains applies the Contains predicate on the "review_remark" field.

func ReviewRemarkContainsFold

func ReviewRemarkContainsFold(v string) predicate.Ticket

ReviewRemarkContainsFold applies the ContainsFold predicate on the "review_remark" field.

func ReviewRemarkEQ

func ReviewRemarkEQ(v string) predicate.Ticket

ReviewRemarkEQ applies the EQ predicate on the "review_remark" field.

func ReviewRemarkEqualFold

func ReviewRemarkEqualFold(v string) predicate.Ticket

ReviewRemarkEqualFold applies the EqualFold predicate on the "review_remark" field.

func ReviewRemarkGT

func ReviewRemarkGT(v string) predicate.Ticket

ReviewRemarkGT applies the GT predicate on the "review_remark" field.

func ReviewRemarkGTE

func ReviewRemarkGTE(v string) predicate.Ticket

ReviewRemarkGTE applies the GTE predicate on the "review_remark" field.

func ReviewRemarkHasPrefix

func ReviewRemarkHasPrefix(v string) predicate.Ticket

ReviewRemarkHasPrefix applies the HasPrefix predicate on the "review_remark" field.

func ReviewRemarkHasSuffix

func ReviewRemarkHasSuffix(v string) predicate.Ticket

ReviewRemarkHasSuffix applies the HasSuffix predicate on the "review_remark" field.

func ReviewRemarkIn

func ReviewRemarkIn(vs ...string) predicate.Ticket

ReviewRemarkIn applies the In predicate on the "review_remark" field.

func ReviewRemarkLT

func ReviewRemarkLT(v string) predicate.Ticket

ReviewRemarkLT applies the LT predicate on the "review_remark" field.

func ReviewRemarkLTE

func ReviewRemarkLTE(v string) predicate.Ticket

ReviewRemarkLTE applies the LTE predicate on the "review_remark" field.

func ReviewRemarkNEQ

func ReviewRemarkNEQ(v string) predicate.Ticket

ReviewRemarkNEQ applies the NEQ predicate on the "review_remark" field.

func ReviewRemarkNotIn

func ReviewRemarkNotIn(vs ...string) predicate.Ticket

ReviewRemarkNotIn applies the NotIn predicate on the "review_remark" field.

func ReviewedDtime

func ReviewedDtime(v time.Time) predicate.Ticket

ReviewedDtime applies equality check predicate on the "reviewed_dtime" field. It's identical to ReviewedDtimeEQ.

func ReviewedDtimeEQ

func ReviewedDtimeEQ(v time.Time) predicate.Ticket

ReviewedDtimeEQ applies the EQ predicate on the "reviewed_dtime" field.

func ReviewedDtimeGT

func ReviewedDtimeGT(v time.Time) predicate.Ticket

ReviewedDtimeGT applies the GT predicate on the "reviewed_dtime" field.

func ReviewedDtimeGTE

func ReviewedDtimeGTE(v time.Time) predicate.Ticket

ReviewedDtimeGTE applies the GTE predicate on the "reviewed_dtime" field.

func ReviewedDtimeIn

func ReviewedDtimeIn(vs ...time.Time) predicate.Ticket

ReviewedDtimeIn applies the In predicate on the "reviewed_dtime" field.

func ReviewedDtimeLT

func ReviewedDtimeLT(v time.Time) predicate.Ticket

ReviewedDtimeLT applies the LT predicate on the "reviewed_dtime" field.

func ReviewedDtimeLTE

func ReviewedDtimeLTE(v time.Time) predicate.Ticket

ReviewedDtimeLTE applies the LTE predicate on the "reviewed_dtime" field.

func ReviewedDtimeNEQ

func ReviewedDtimeNEQ(v time.Time) predicate.Ticket

ReviewedDtimeNEQ applies the NEQ predicate on the "reviewed_dtime" field.

func ReviewedDtimeNotIn

func ReviewedDtimeNotIn(vs ...time.Time) predicate.Ticket

ReviewedDtimeNotIn applies the NotIn predicate on the "reviewed_dtime" field.

func Reviewer

func Reviewer(v string) predicate.Ticket

Reviewer applies equality check predicate on the "reviewer" field. It's identical to ReviewerEQ.

func ReviewerContains

func ReviewerContains(v string) predicate.Ticket

ReviewerContains applies the Contains predicate on the "reviewer" field.

func ReviewerContainsFold

func ReviewerContainsFold(v string) predicate.Ticket

ReviewerContainsFold applies the ContainsFold predicate on the "reviewer" field.

func ReviewerEQ

func ReviewerEQ(v string) predicate.Ticket

ReviewerEQ applies the EQ predicate on the "reviewer" field.

func ReviewerEqualFold

func ReviewerEqualFold(v string) predicate.Ticket

ReviewerEqualFold applies the EqualFold predicate on the "reviewer" field.

func ReviewerGT

func ReviewerGT(v string) predicate.Ticket

ReviewerGT applies the GT predicate on the "reviewer" field.

func ReviewerGTE

func ReviewerGTE(v string) predicate.Ticket

ReviewerGTE applies the GTE predicate on the "reviewer" field.

func ReviewerHasPrefix

func ReviewerHasPrefix(v string) predicate.Ticket

ReviewerHasPrefix applies the HasPrefix predicate on the "reviewer" field.

func ReviewerHasSuffix

func ReviewerHasSuffix(v string) predicate.Ticket

ReviewerHasSuffix applies the HasSuffix predicate on the "reviewer" field.

func ReviewerIn

func ReviewerIn(vs ...string) predicate.Ticket

ReviewerIn applies the In predicate on the "reviewer" field.

func ReviewerLT

func ReviewerLT(v string) predicate.Ticket

ReviewerLT applies the LT predicate on the "reviewer" field.

func ReviewerLTE

func ReviewerLTE(v string) predicate.Ticket

ReviewerLTE applies the LTE predicate on the "reviewer" field.

func ReviewerNEQ

func ReviewerNEQ(v string) predicate.Ticket

ReviewerNEQ applies the NEQ predicate on the "reviewer" field.

func ReviewerNotIn

func ReviewerNotIn(vs ...string) predicate.Ticket

ReviewerNotIn applies the NotIn predicate on the "reviewer" field.

func StatusEQ

func StatusEQ(v Status) predicate.Ticket

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

func StatusIn

func StatusIn(vs ...Status) predicate.Ticket

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

func StatusNEQ

func StatusNEQ(v Status) predicate.Ticket

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

func StatusNotIn

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

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 UpdatedDtime

func UpdatedDtime(v time.Time) predicate.Ticket

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

func UpdatedDtimeEQ

func UpdatedDtimeEQ(v time.Time) predicate.Ticket

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

func UpdatedDtimeGT

func UpdatedDtimeGT(v time.Time) predicate.Ticket

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

func UpdatedDtimeGTE

func UpdatedDtimeGTE(v time.Time) predicate.Ticket

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

func UpdatedDtimeIn

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

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

func UpdatedDtimeLT

func UpdatedDtimeLT(v time.Time) predicate.Ticket

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

func UpdatedDtimeLTE

func UpdatedDtimeLTE(v time.Time) predicate.Ticket

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

func UpdatedDtimeNEQ

func UpdatedDtimeNEQ(v time.Time) predicate.Ticket

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

func UpdatedDtimeNotIn

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

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).

Types

type Status

type Status string

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

const (
	StatusCreated   Status = "created"
	StatusReplied   Status = "replied"
	StatusCompleted Status = "completed"
)

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