mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
14 lines
215 B
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",
|
|
);
|
|
}
|
|
|
|
?>
|