mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +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",
|
||
|
);
|
||
|
}
|