silverstripe-frameworktest/code/Contact.php

14 lines
215 B
PHP

<?php
class Contact extends DataObject {
static $db = array(
"FirstName" => "Varchar",
"Surname" => "Varchar",
"Email" => "Varchar",
);
static $belongs_many_many = array(
"Clients" => "Client",
);
}
?>