@sourceloop/ctrl-plane-tenant-management-service
Version:
Tenant Management microservice for SaaS control plane
19 lines (18 loc) • 525 B
TypeScript
import { UserModifiableEntity } from '@sourceloop/core';
import { Tenant } from './tenant.model';
import { Address } from './address.model';
export declare class Lead extends UserModifiableEntity {
id: string;
firstName: string;
lastName: string;
companyName: string;
email: string;
isValidated: boolean;
tenant: Tenant;
addressId: string;
constructor(data?: Partial<Lead>);
}
export interface LeadRelations {
address?: Address;
}
export type LeadWithRelations = Lead & LeadRelations;