@63pokupki/nodejs-common
Version:
common nodejs functionality
22 lines (17 loc) • 465 B
text/typescript
// Системные сервисы
import { ErrorSys } from './ErrorSys';
import { UserSys } from './UserSys';
import MainRequest from './MainRequest';
/**
* Базовая модель
*/
export default class BaseM {
public errorSys: ErrorSys;
public userSys: UserSys;
public req: MainRequest;
constructor(req: MainRequest) {
this.errorSys = req.sys.errorSys;
this.userSys = req.sys.userSys;
this.req = req;
}
}