user restuarant table
This commit is contained in:
@@ -13,17 +13,20 @@ import { PointTransaction } from './entities/point-transaction.entity';
|
||||
import { PointTransactionRepository } from './repositories/point-transaction.repository';
|
||||
import { ShopsModule } from '../shops/shops.module';
|
||||
import { AddressRepository } from './repositories/address.repository';
|
||||
import { UserShop } from './entities/user-shop.entity';
|
||||
import { UserShopRepository } from './repositories/user-shop.repository';
|
||||
import { UserShopCrone } from './crone/user-shop.crone';
|
||||
|
||||
@Module({
|
||||
providers: [UserService, WalletService, UserRepository,
|
||||
WalletTransactionRepository, PointTransactionRepository, AddressRepository],
|
||||
WalletTransactionRepository, PointTransactionRepository, AddressRepository, UserShopRepository, UserShopCrone],
|
||||
controllers: [UsersController],
|
||||
imports: [
|
||||
MikroOrmModule.forFeature([User, UserAddress, WalletTransaction, PointTransaction]),
|
||||
MikroOrmModule.forFeature([User, UserAddress, WalletTransaction, PointTransaction, UserShop]),
|
||||
JwtModule,
|
||||
ShopsModule
|
||||
],
|
||||
exports: [UserService, WalletService, UserRepository,
|
||||
WalletTransactionRepository, PointTransactionRepository, AddressRepository],
|
||||
WalletTransactionRepository, PointTransactionRepository, AddressRepository, UserShopRepository],
|
||||
})
|
||||
export class UserModule { }
|
||||
|
||||
Reference in New Issue
Block a user