silverstripe-frameworktest/code/model/Contact.php

14 lines
215 B
PHP
Raw Normal View History

2008-10-03 00:48:55 +02:00
<?php
class Contact extends DataObject {
static $db = array(
"FirstName" => "Varchar",
"Surname" => "Varchar",
"Email" => "Varchar",
);
static $belongs_many_many = array(
"Clients" => "Client",
);
}
?>