/* * @author wuweiru * @date 2020/10/18 13:08 */ import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { BaseService } from '../../../base/base.service'; import { MongoDBCollection } from '../../../constant'; import { FontStyle } from '../model/font.style'; @Injectable() export class FontStyleService extends BaseService { constructor( @InjectModel(MongoDBCollection.FontStyle) protected readonly model: Model ) { super(model); } }