models

package
v0.0.0-...-cd5af12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthUser

type AuthUser struct {
	*neo4j_driver.Model
	Username string
	Email    string
	Password string
	//RatOrgId uuid.UUID
	RatOrg RatOrg `cypher:"relation_name:INSIDE_ORG"`
}

type RatACL

type RatACL struct {
	*neo4j_driver.Model
	IsPrivate          bool
	ProtectedShareType int64
	PublicShareType    int64
}

type RatFile

type RatFile struct {
	*neo4j_driver.Model
	Name  string
	Path  string
	Owner *AuthUser `cypher:"relation_name:BELONGS_TO"`
	// RatFolderId uuid.UUID //`sql:"unique_index:uix_multipleindexes_user_name,uix_multipleindexes_user_email;index:idx_multipleindexes_user_other"`
	RatFolder *RatFolder `cypher:"relation_name:INSIDE_FOLDER"`
}

type RatFolder

type RatFolder struct {
	*neo4j_driver.Model
	Name      string
	Path      string
	Owner     *AuthUser  `cypher:"relation_name:BELONGS_TO"`
	RatACL    RatACL     `cypher:"relation_name:ACL"`
	RatFolder *RatFolder `cypher:"relation_name:INSIDE_FOLDER"`
}

type RatOrg

type RatOrg struct {
	*neo4j_driver.Model
	Name string
}

type RatShare

type RatShare struct {
	IsRecursive bool
	ShareType   int64 `field:"options:read,write"`
	ShareUrl    int64
}

Jump to

Keyboard shortcuts

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