<?php

use SilverStripe\ORM\DataObject;

class ContactDataModel extends DataObject{
    
    private static $db = [
         'FirstName' => 'Varchar',
         'LastName' => 'Varchar',
         'CompanyName' => 'Varchar(255)',
         'Email' => 'Varchar(255)',
         'Service' => 'Varchar',
         'Address' => 'Varchar(255)',
         'City' => 'Varchar',
         'State' => 'Varchar',
         'Zip' => 'Varchar',
         'Comment'=>'Text'
    ];
    
    private static $has_one = [
       
    ]; 
    
    private static $summary_fields = [
         'FirstName' => 'First Name',
         'LastName' => 'LastName',
         'Email' => 'Email',
         'Created' => 'Created'
    ];

    
}

