silverstripe-frameworktest/code/model/Contact.php
2008-10-02 22:48:55 +00:00

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",
);
}
?>