46 #include "PermissionTableDef.h" 48 Wtx::Dbo::PermissionTableDef::PermissionTableDef(
const char * tn )
49 :
Wtx::Dbo::BaseTableDef(tn),
50 UidFieldDef( *this,
"uidField" ),
51 PModeFieldDef( *this,
"pMode" ),
52 CreatedOnFieldDef( *this,
"createdOn" ),
53 ChangedOnFieldDef( *this,
"changedOn" ),
54 PUserFieldDef( *this,
"pUser" ),
55 PGroupFieldDef( *this,
"pGroup" ),
56 SessionLockFieldDef( *this,
"sessionLock" )
58 UidFieldDef.setIsReadOnly();
59 UidFieldDef.setIsUnique();
61 CreatedOnFieldDef.setIsReadOnly();
62 CreatedOnFieldDef.setLabel(
"Created On");
64 ChangedOnFieldDef.setIsReadOnly();
65 ChangedOnFieldDef.setLabel(
"Changed On");
68 SessionLockFieldDef.setIsVisible(
false );
0x0010 ~ the field will not call upon createWidget