schema

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	ent.Schema
}

Application holds the schema definition for the Application entity.

func (Application) Annotations

func (Application) Annotations() []schema.Annotation

func (Application) Edges

func (Application) Edges() []ent.Edge

Edges of the Application.

func (Application) Fields

func (Application) Fields() []ent.Field

Fields of the Application.

type ApplicationAssignmentHistory

type ApplicationAssignmentHistory struct {
	ent.Schema
}

ApplicationAssignmentHistory holds the schema definition for the ApplicationAssignmentHistory entity.

func (ApplicationAssignmentHistory) Annotations

func (ApplicationAssignmentHistory) Edges

Edges of the ApplicationAssignmentHistory.

func (ApplicationAssignmentHistory) Fields

Fields of the ApplicationAssignmentHistory.

type ApplicationStatus

type ApplicationStatus string
const (
	AppWip       ApplicationStatus = "wip"
	AppReviewing ApplicationStatus = "reviewing"
	AppVerified  ApplicationStatus = "verified"
	AppRejected  ApplicationStatus = "rejected"
	AppWaiting   ApplicationStatus = "waiting"
	AppReplied   ApplicationStatus = "replied"
	AppRevoked   ApplicationStatus = "revoked"
	AppCanceling ApplicationStatus = "canceling"
)

func (ApplicationStatus) ToMap

func (ApplicationStatus) ToMap() map[string]int32

func (ApplicationStatus) Values

func (ApplicationStatus) Values() []string

Values get all enum values in ApplicationStatus. TODO(TU): extract enum values function

type ApplicationStatusHistory

type ApplicationStatusHistory struct {
	ent.Schema
}

ApplicationStatusHistory holds the schema definition for the ApplicationStatusHistory entity.

func (ApplicationStatusHistory) Annotations

func (ApplicationStatusHistory) Annotations() []schema.Annotation

func (ApplicationStatusHistory) Edges

func (ApplicationStatusHistory) Edges() []ent.Edge

Edges of the ApplicationStatusHistory.

func (ApplicationStatusHistory) Fields

func (ApplicationStatusHistory) Fields() []ent.Field

Fields of the ApplicationStatusHistory.

type Attachment

type Attachment struct {
	ent.Schema
}

Attachment holds the schema definition for the Attachment entity.

func (Attachment) Annotations

func (Attachment) Annotations() []schema.Annotation

func (Attachment) Edges

func (Attachment) Edges() []ent.Edge

Edges of the Attachment.

func (Attachment) Fields

func (Attachment) Fields() []ent.Field

Fields of the Attachment.

type AttachmentType

type AttachmentType string
const (
	BizCert         AttachmentType = "biz_cert"
	StoreAppearance AttachmentType = "store_appearance"
	IdDocument      AttachmentType = "id_document"
	Other           AttachmentType = "other"
	Supplement      AttachmentType = "supplement"
	Reference       AttachmentType = "reference"
)

func (AttachmentType) ToMap

func (AttachmentType) ToMap() map[string]int32

func (AttachmentType) Values

func (AttachmentType) Values() []string

Values get all enum values in AttachmentType. TODO(TU): extract enum values function

type BotActiveStatus

type BotActiveStatus string
const (
	Active  BotActiveStatus = "active"
	Suspend BotActiveStatus = "suspend"
	Delete  BotActiveStatus = "delete"
)

func (BotActiveStatus) ToMap

func (BotActiveStatus) ToMap() map[string]int32

func (BotActiveStatus) Values

func (BotActiveStatus) Values() []string

Values get all enum values in BotActiveStatus. TODO(TU): extract enum values function

type BotSuspendReason

type BotSuspendReason string
const (
	UserResign  BotSuspendReason = "user_resign"
	ForceResign BotSuspendReason = "force_resign"
	Penalty     BotSuspendReason = "penalty"
	Unpaid      BotSuspendReason = "unpaid"
)

func (BotSuspendReason) ToMap

func (BotSuspendReason) ToMap() map[string]int32

func (BotSuspendReason) Values

func (BotSuspendReason) Values() []string

Values get all enum values in BotSuspendReason. TODO(TU): extract enum values function

type IIMSRole

type IIMSRole string
const (
	OavAdmin    IIMSRole = "oav_admin"
	OavReviewer IIMSRole = "oav_reviewer"
)

func (IIMSRole) ToMap

func (IIMSRole) ToMap() map[string]int32

func (IIMSRole) Values

func (IIMSRole) Values() []string

Values get all enum values in IIMSRole. TODO(TU): extract enum values function

type Reviewer

type Reviewer struct {
	ent.Schema
}

Reviewer holds the schema definition for the Reviewer entity.

func (Reviewer) Annotations

func (Reviewer) Annotations() []schema.Annotation

func (Reviewer) Edges

func (Reviewer) Edges() []ent.Edge

Edges of the Reviewer.

func (Reviewer) Fields

func (Reviewer) Fields() []ent.Field

Fields of the Reviewer.

type StoreType

type StoreType string
const (
	OnlineStore   StoreType = "online_store"
	PhysicalStore StoreType = "physical_store"
)

func (StoreType) ToMap

func (StoreType) ToMap() map[string]int32

func (StoreType) Values

func (StoreType) Values() []string

Values get all enum values in StoreType. TODO(TU): extract enum values function

type Ticket

type Ticket struct {
	ent.Schema
}

Ticket holds the schema definition for the Ticket entity.

func (Ticket) Annotations

func (Ticket) Annotations() []schema.Annotation

func (Ticket) Edges

func (Ticket) Edges() []ent.Edge

Edges of the Ticket.

func (Ticket) Fields

func (Ticket) Fields() []ent.Field

Fields of the Ticket.

type TicketStatus

type TicketStatus string
const (
	TkCreated   TicketStatus = "created"
	TkReplied   TicketStatus = "replied"
	TkCompleted TicketStatus = "completed"
)

func (TicketStatus) ToMap

func (TicketStatus) ToMap() map[string]int32

func (TicketStatus) Values

func (TicketStatus) Values() []string

Values get all enum values in ApplicationStatus. TODO(TU): extract enum values function

Jump to

Keyboard shortcuts

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