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