标准化博客评论命名

This commit is contained in:
2025-06-19 16:06:09 +08:00
parent e016c5aaa3
commit 3ee6ea924a
4 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import { BlogController } from './blog.controller';
import { BlogService } from './blog.service'; import { BlogService } from './blog.service';
import { TypeOrmModule } from '@nestjs/typeorm'; import { TypeOrmModule } from '@nestjs/typeorm';
import { Blog } from './entity/Blog.entity'; import { Blog } from './entity/Blog.entity';
import { BlogComment } from './entity/BlogComment'; import { BlogComment } from './entity/BlogComment.entity';
import { AuthModule } from 'src/auth/auth.module'; import { AuthModule } from 'src/auth/auth.module';
import { UserModule } from 'src/user/user.module'; import { UserModule } from 'src/user/user.module';

View File

@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm'; import { InjectRepository } from '@nestjs/typeorm';
import { Blog } from './entity/Blog.entity'; import { Blog } from './entity/Blog.entity';
import { Repository } from 'typeorm'; import { Repository } from 'typeorm';
import { BlogComment } from './entity/BlogComment'; import { BlogComment } from './entity/BlogComment.entity';
@Injectable() @Injectable()
export class BlogService { export class BlogService {

View File

@@ -7,7 +7,7 @@ import {
PrimaryGeneratedColumn, PrimaryGeneratedColumn,
UpdateDateColumn, UpdateDateColumn,
} from 'typeorm'; } from 'typeorm';
import { BlogComment } from './BlogComment'; import { BlogComment } from './BlogComment.entity';
@Entity() @Entity()
export class Blog { export class Blog {