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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user