feat: update subscription and service entities with enhancements

- Update message enum for better error handling
- Enhance service creation DTO with new fields
- Modify danak-service entity structure
- Update subscription DTOs and entities
- Improve user subscription entity model
This commit is contained in:
mahyargdz
2025-08-19 09:32:25 +03:30
parent 72b1edbe25
commit 43a3714284
5 changed files with 21 additions and 6 deletions
@@ -22,11 +22,11 @@ export class UserSubscription extends BaseEntity {
@Column({ type: "varchar", length: 250, nullable: false })
businessName: string;
@Column({ type: "varchar", length: 50, nullable: false })
businessPhone: string;
@Column({ type: "varchar", length: 50, nullable: true })
businessPhone: string | null;
@Column({ type: "text", nullable: false })
description: string;
@Column({ type: "text", nullable: true })
description: string | null;
@Column({ type: "varchar", length: 250, unique: true, nullable: true })
slug: string;