chore: add service list fetch for admin with filters
This commit is contained in:
@@ -6,7 +6,6 @@ import { BaseEntity } from "../../../common/entities/base.entity";
|
||||
import { Announcement } from "../../announcements/entities/announcement.entity";
|
||||
import { Ticket } from "../../tickets/entities/ticket.entity";
|
||||
import { User } from "../../users/entities/user.entity";
|
||||
import { ServiceStatus } from "../enums/service-status.enum";
|
||||
import { ServicesLanguage } from "../enums/services-language.enum";
|
||||
|
||||
@Entity()
|
||||
@@ -38,8 +37,8 @@ export class DanakService extends BaseEntity {
|
||||
@Column({ type: "text", nullable: false })
|
||||
metaDescription: string;
|
||||
|
||||
@Column({ type: "enum", enum: ServiceStatus, nullable: false, default: ServiceStatus.IN_ACTIVE })
|
||||
status: ServiceStatus;
|
||||
@Column({ type: "boolean", default: false })
|
||||
isActive: boolean;
|
||||
|
||||
@Column({ type: "varchar", length: 255, nullable: false })
|
||||
link: string;
|
||||
|
||||
Reference in New Issue
Block a user