silverstripe-framework/security/PermissionRoleCode.php
2012-04-15 10:50:19 +12:00

17 lines
319 B
PHP

<?php
/**
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
*
* @package sapphire
* @subpackage security
*/
class PermissionRoleCode extends DataObject {
static $db = array(
"Code" => "Varchar",
);
static $has_one = array(
"Role" => "PermissionRole",
);
}