46 #ifndef __WTX_WEB_BLOGENTRYTEMPLATE_H___ 47 #define __WTX_WEB_BLOGENTRYTEMPLATE_H___ 49 #include <Wtx/Dbo/PermissionItemTpl.h> 50 #include "Definition.h" 61 Template(
const std::string & keyField =
"" )
83 template<
class Action>
void persist( Action &a )
86 parentMenu.persist( a, &TableDef().ParentMenuFieldDef );
87 isPage.persist( a, &TableDef().IsPageFieldDef );
88 url.persist( a, &TableDef().UrlFieldDef );
89 datePosted.persist( a, &TableDef().DatePostedFieldDef );
90 summary.persist( a, &TableDef().SummaryFieldDef );
91 thumbnail.persist( a, &TableDef().ThumbnailFieldDef );
92 body.persist( a, &TableDef().BodyFieldDef );
103 #endif // end#ifndef __BLOGENTRYTPL_H___