Files
upstream-ent/entc/integration/gremlin/ent/pet/pet.go
upstream-mirror 4b3ad0b611
Some checks failed
Atlas CI Public / lint (push) Failing after 13s
Atlas CI Public / sync (push) Has been skipped
snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:12:36 +05:00

51 lines
1.8 KiB
Go

// Copyright 2019-present Facebook Inc. All rights reserved.
// This source code is licensed under the Apache 2.0 license found
// in the LICENSE file in the root directory of this source tree.
// Code generated by ent, DO NOT EDIT.
package pet
import (
"entgo.io/ent/dialect/gremlin/graph/dsl"
)
const (
// Label holds the string label denoting the pet type in the database.
Label = "pet"
// FieldID holds the string denoting the id field in the database.
FieldID = "id"
// FieldAge holds the string denoting the age field in the database.
FieldAge = "age"
// FieldName holds the string denoting the name field in the database.
FieldName = "name"
// FieldUUID holds the string denoting the uuid field in the database.
FieldUUID = "uuid"
// FieldNickname holds the string denoting the nickname field in the database.
FieldNickname = "nickname"
// FieldTrained holds the string denoting the trained field in the database.
FieldTrained = "trained"
// FieldOptionalTime holds the string denoting the optional_time field in the database.
FieldOptionalTime = "optional_time"
// EdgeTeam holds the string denoting the team edge name in mutations.
EdgeTeam = "team"
// EdgeOwner holds the string denoting the owner edge name in mutations.
EdgeOwner = "owner"
// TeamInverseLabel holds the string label denoting the team inverse edge type in the database.
TeamInverseLabel = "user_team"
// OwnerInverseLabel holds the string label denoting the owner inverse edge type in the database.
OwnerInverseLabel = "user_pets"
)
var (
// DefaultAge holds the default value on creation for the "age" field.
DefaultAge float64
// DefaultTrained holds the default value on creation for the "trained" field.
DefaultTrained bool
)
// OrderOption defines the ordering options for the Pet queries.
type OrderOption func(*dsl.Traversal)
// comment from another template.