add businesses CRUD module
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
export class CreateBusinessDto {
|
||||
title!: string;
|
||||
slug!: string;
|
||||
categoryId!: string;
|
||||
description?: string;
|
||||
contactPhone?: string;
|
||||
address?: string;
|
||||
latitude?: number;
|
||||
longitude?: number;
|
||||
ownerId?: string;
|
||||
isActive?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
export class UpdateBusinessDto {
|
||||
title?: string;
|
||||
slug?: string;
|
||||
categoryId?: string;
|
||||
description?: string | null;
|
||||
contactPhone?: string | null;
|
||||
address?: string | null;
|
||||
latitude?: number | null;
|
||||
longitude?: number | null;
|
||||
ownerId?: string | null;
|
||||
isActive?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user