chore: add blog blog comment and blog category crud
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user