Version: current

     1 <?php
     2
     3 class MonumentGalleryItem extends DataObject {
     4     static $db = array(
     5         'Title' => 'Varchar(100)',
     6         'Price' => 'Decimal(10,2)',
     7     );
     8
     9     static $has_one = array(
    10         'Gallery' => 'MonumentPhotoGallery',
    11         'Image' => 'Image',
    12     );
    13 }

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -