<?php
class UserGroupTable extends Table {
	
	const C_TABLE 	= "USER_GROUP" ;
	const C_PK      = "USER_GROUP_ID" ;
	const C_ID 		= "USER_GROUP_ID";
    const C_CODE    = "USER_GROUP_CODE";
	const C_NAME 	= "USER_GROUP_NAME";
    const C_RIGHTS  = "USER_GROUP_RIGHTS";
}

class UserGroupTableDetail extends TableDetail {
    const C_ID      = "identity||NO|";
    const C_CODE    = "nvarchar|5|NO|''";
    const C_NAME 	= "nvarchar|100|NO|''";
    const C_RIGHTS  = "ntext||YES|''";
}

class UserGroupTableDescription extends TableDescription {
    const C_ID      = "ID";
    const C_CODE    = "Code";
    const C_NAME 	= "Name";
    const C_RIGHTS  = "Rights";
}

class UserGroupTableDefault {
	const record = array(array("M"=>"",UserGroupTable::C_CODE=>"'Admin'",UserGroupTable::C_NAME=>"'Administrator'",UserGroupTable::C_RIGHTS=>"'4250777a56347259534531306c446e726655366438576a5275746334504761456c2b51364953634c5363633d'"));
}
?>