UNPKG

flexbiz-server

Version:

Flexible Server

3 lines (2 loc) 531 B
'use strict';const model=global.getModel("dmhoahongnpp"),controller=require("../../controllers/controller"); module.exports=function($router$$){(new controller($router$$,model,"dmhoahongnpp",{sort:{hieu_luc_tu:-1},notNeedRight:($user$$,$options$$={})=>"view"==($options$$.action||"").toLowerCase()?!0:!1,unique:["ma_hoahong"],onCreated:async($user$$,$obj$$,$next$$)=>{$next$$(null,$obj$$)},onUpdated:async($user$$,$obj$$,$next$$)=>{$next$$(null,$obj$$)},onDeleted:async($user$$,$obj$$,$next$$)=>{$next$$(null,$obj$$)}})).route()};