Initial import
This commit is contained in:
17
app/models/DocProduct.php
Normal file
17
app/models/DocProduct.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class DocProduct extends Model {
|
||||
protected $_classes = [
|
||||
"document" => "Document",
|
||||
"product" => "Product"
|
||||
];
|
||||
|
||||
|
||||
protected $_model = [
|
||||
"id" => [MODEL_SERIAL],
|
||||
"created" => [MODEL_BIGINT, 11],
|
||||
"updated" => [MODEL_BIGINT, 11],
|
||||
"document" => [MODEL_OBJECT, "Document"],
|
||||
"product" => [MODEL_OBJECT, "Product"]
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user