<?php

//-------------------------------------------------------------------
// ToyModels.php: some examples for ToyModSer
//-------------------------------------------------------------------
// Copyright (c) 2007 Patrick Mueller
// Using the MIT license: 
//    http://www.opensource.org/licenses/mit-license.php
//-------------------------------------------------------------------
// 2007/05 - Patrick Mueller - pmuellr@yahoo.com
//-------------------------------------------------------------------

/**
 * 
 */
class Book {

    
/**
     * @model type=string
     */
    
public $title;
    
    
/**
     * @model type=string
     */
    
public $author;
    
    
/**
     * @model type=integer
     */
    
public $yearPublished;
}


/**
 *  
 */
class Author {

    
/**
     * @model type=string
     */
    
public $name;
    
    
/**
     * @model type=integer
     */
    
public $yearBorn;
}

/**
 *  
 */
class BogusModel {

    
/**
     * @model type=foo
     */
    
public $bar;
    
}

?>