type Pet struct { ent.Schema }
Pet holds the schema definition for the Pet entity.
func (Pet) Edges() []ent.Edge
Edges of the Pet.
func (Pet) Fields() []ent.Field
Fields of the Pet.
type User struct { ent.Schema }
User holds the schema definition for the User entity.
func (User) Edges() []ent.Edge
Edges of the User.
func (User) Fields() []ent.Field
Fields of the User.