silverstripe-frameworktest/code/model/Client.php

16 lines
245 B
PHP
Raw Normal View History

2008-10-03 00:48:55 +02:00
<?php
class Client extends DataObject {
static $db = array(
"Name" => "Varchar",
"Notes" => "HTMLText",
2008-10-03 00:48:55 +02:00
);
static $many_many = array(
"Contacts" => "Contact",
);
static $belongs_many_many = array(
"Projects" => "Project",
);
}
?>