import { Provide } from '@midwayjs/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { BaseService } from '../../frame/BaseService';
import { Unit } from '../../entity/users/unit.entity';
@Provide()
export class UnitService extends BaseService<Unit> {
  @InjectEntityModel(Unit)
  model: Repository<Unit>;
}
