mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
15 lines
220 B
PHP
15 lines
220 B
PHP
|
<?php
|
||
|
|
||
|
class Client extends DataObject {
|
||
|
static $db = array(
|
||
|
"Name" => "Varchar",
|
||
|
);
|
||
|
static $many_many = array(
|
||
|
"Contacts" => "Contact",
|
||
|
);
|
||
|
static $belongs_many_many = array(
|
||
|
"Projects" => "Project",
|
||
|
);
|
||
|
}
|
||
|
|
||
|
?>
|