37 lines
1.2 KiB
Go
37 lines
1.2 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 groupinfo
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/gremlin/graph/dsl"
|
|
)
|
|
|
|
const (
|
|
// Label holds the string label denoting the groupinfo type in the database.
|
|
Label = "group_info"
|
|
// FieldID holds the string denoting the id field in the database.
|
|
FieldID = "id"
|
|
// FieldDesc holds the string denoting the desc field in the database.
|
|
FieldDesc = "desc"
|
|
// FieldMaxUsers holds the string denoting the max_users field in the database.
|
|
FieldMaxUsers = "max_users"
|
|
// EdgeGroups holds the string denoting the groups edge name in mutations.
|
|
EdgeGroups = "groups"
|
|
// GroupsInverseLabel holds the string label denoting the groups inverse edge type in the database.
|
|
GroupsInverseLabel = "group_info"
|
|
)
|
|
|
|
var (
|
|
// DefaultMaxUsers holds the default value on creation for the "max_users" field.
|
|
DefaultMaxUsers int
|
|
)
|
|
|
|
// OrderOption defines the ordering options for the GroupInfo queries.
|
|
type OrderOption func(*dsl.Traversal)
|
|
|
|
// comment from another template.
|