PHP Classes

File: schema.evdb

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Bartlomiej Rudzki  >  EVDB  >  schema.evdb  >  Download  
File: schema.evdb
Role: Auxiliary data
Content type: text/plain
Description: Example EVDB schema
Class: EVDB
Store and retrieve objects in MongoDB databases
Author: By
Last change:
Date: 5 years ago
Size: 394 bytes


Class file image Download
  first_name: string
  last_name: string
  birthdate: integer

User < Person:
  login: string
  password: string
  email: string
  foo: string(bar)

  movies: string[]

Politician < Person:
  party: string

Governor < Politician:
  state: string

Bodybuilder < Person:
  favorite_gym: string

ArnoldSchwarzenegger < [Actor, Politician, Bodybuilder]:
  country: string(!!Austria)