chore: add blog blog comment and blog category crud

This commit is contained in:
mahyargdz
2025-04-12 16:09:25 +03:30
parent 0bc001c66b
commit a9879732a3
23 changed files with 976 additions and 3 deletions
@@ -7,15 +7,15 @@ import { ReviewStatus } from "../enums/review-status.enum";
@Entity()
export class DanakServiceReview extends BaseEntity {
@Column({ type: "varchar", length: 150, nullable: false })
title: string;
@Column({ type: "text", nullable: false })
comment: string;
@Column({ type: "int", nullable: false })
rating: number;
@Column({ type: "varchar", length: 150, nullable: false })
title: string;
@Column({ type: "enum", enum: ReviewStatus, default: ReviewStatus.PENDING })
status: ReviewStatus;