mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-31 06:48:02 +02:00
14 lines
270 B
PHP
14 lines
270 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
|
||
|
*/
|
||
|
class PermissionRoleCode extends DataObject {
|
||
|
static $db = array(
|
||
|
"Code" => "Varchar",
|
||
|
);
|
||
|
|
||
|
static $has_one = array(
|
||
|
"Role" => "PermissionRole",
|
||
|
);
|
||
|
}
|