start adding support for Models objects from Ezc
This commit is contained in:
1 parent
22de3322ae
commit
6e4f8f5191
9 files changed
+62
-3
No files matched your search
@@ -63,7 +63,9 @@ void Item::fields()
|
||||
field(L"subject", subject);
|
||||
field(L"template", html_template);
|
||||
field(L"sort_index", sort_index);
|
||||
field(L"content_id", item_content, morm::FT::foreign_key);
|
||||
field(L"content_id", L"content", item_content, morm::FT::foreign_key);
|
||||
|
||||
//field(L"my_test_function", my_test_function);
|
||||
|
||||
// may we should add a method setTypeFromInt(int t)?
|
||||
type = static_cast<Type>(type_helper);
|
||||
|
||||
Reference in new issue
Block a user