presentrcord.js 468 B

12345678910111213141516
  1. 'use strict';
  2. // const assert = require('assert');
  3. // const _ = require('lodash');
  4. // const { ObjectId } = require('mongoose').Types;
  5. const { CrudService } = require('naf-framework-mongoose/lib/service');
  6. // const { BusinessError, ErrorCode } = require('naf-core').Error;
  7. class PresentrcordService extends CrudService {
  8. constructor(ctx) {
  9. super(ctx, 'present_record');
  10. this.model = this.ctx.model.Presentrcord;
  11. }
  12. }
  13. module.exports = PresentrcordService;