Source of file EnquirySubmission.php
Size: 1,741 Bytes - Last Modified: 2021-12-24T05:17:55+00:00
/var/www/docs.ssmods.com/process/src/src/Model/EnquirySubmission.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | <?php /** * * @copyright (c) 2018 Insite Apps - http://www.insiteapps.co.za * @package insiteapps * @author Patrick Chitovoro <patrick@insiteapps.co.za> * All rights reserved. No warranty, explicit or implicit, provided. * * NOTICE: All information contained herein is, and remains the property of Insite Apps and its suppliers, if any. * The intellectual and technical concepts contained herein are proprietary to Insite Apps and its suppliers and may be covered by South African. and Foreign Patents, patents in process, and are protected by trade secret or copyright laws. * Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Insite Apps. * Proprietary and confidential. * There is no freedom to use, share or change this file. * * */ namespace InsiteApps\AppBase; use SilverStripe\ORM\DataObject; class EnquirySubmission extends DataObject { private static $table_name = 'EnquirySubmission'; /** * Human-readable singular name. * * @var string * @config */ private static $singular_name = "Enquiry Submission"; /** * Human-readable plural name * * @var string * @config */ private static $plural_name = 'Enquiry Submissions'; private static $db = array( "Name" => "Varchar(255)", "Surname" => "Varchar(255)", "Email" => "Varchar(255)", "Message" => "Text", ); private static $has_one = array( "Page" => \Page::class, ); private static $summary_fields = array( "Name", "Surname", "Email", "Telephone", "Country", ); } |