| | This file copyright (c) 2004 SO.MUS.AR. s.a.s. | Subject to the license published at | http://www.somusar.com/contact/poc_request | activity "Activity" | | This multi-tier entity features a database table and a logic-tier class. | string activity_id[20] "Activity Id." locale locale "Locale" string location[30] "Location" string name[80] "Name" string description[255] "Description" float price "Price" string image_uri[80] "Image URI" --- DEFS ------------------------------------------------------------------ | No specific definitions are needed. --- DB -------------------------------------------------------------------- | | Define the field set for the database table | of this entity, and define its primary multi-field key. | table: activity_id, locale, location, name, description, price, image_uri pkey: activity_id, locale | Define list of fields that may be null null: price | | Define the list of fields to be returned by a select query | query: activity_id, name, description, price, location --- LOGIC ----------------------------------------------------------------- | | Define the list of members for the logic tier class | properties: activity_id, name, description, price, location --- UI -------------------------------------------------------------------- | No usage interface for this entity, yet --- ADJUST ---------------------------------------------------------------- | Override default DB type mapping for activity_id DB.table.activity_id.db_type = "char"