First commit
This commit is contained in:
29
application/demo/news.js
Normal file
29
application/demo/news.js
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
import table from '/unify/table.js';
|
||||
|
||||
import title from './news.title.js';
|
||||
|
||||
import body from './news.body.js';
|
||||
|
||||
import price from './news.price.js';
|
||||
|
||||
import user from '/user/user.js';
|
||||
|
||||
import comment from './comment/comment.js';
|
||||
|
||||
import collection from '/unify/collection.js';
|
||||
|
||||
|
||||
|
||||
|
||||
export default class news extends table {
|
||||
|
||||
title = new title();
|
||||
|
||||
body = new body();
|
||||
|
||||
price = new price();
|
||||
|
||||
comments = new collection( comment );
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user