logo

class

sql::Book

sys::Obj
  sql::Book
  1  //
  2  // Copyright (c) 2008, John Sublett
  3  // Licensed under the Academic Free License version 3.0
  4  //
  5  // History:
  6  //   01 Jan 08  John Sublett  Creation
  7  //
  8  
  9  **
 10  ** Book.
 11  **
 12  class Book
 13  {
 14    @auto
 15    Int id
 16    
 17    @maxLen=64
 18    Str isbn
 19    
 20    @maxLen=64
 21    Str title
 22    
 23    @refType=sql::Person.type
 24    Uri author
 25    
 26    @refType=sql::Publisher.type
 27    Uri publisher
 28  }